fdefelici / vs-funreal

Visual Studio extension to smooth the workflow of Unreal Engine C++ developers
MIT License
27 stars 7 forks source link

Support for engine files #27

Open NorthBlue333 opened 10 months ago

NorthBlue333 commented 10 months ago

Hello! We tried the extension which seems great, but we do a lot of work directly in the engine. Would it be possible to support the engine plugins and source paths? As a note, we use a custom installation for the engine. It could be possible to customize this path in the options maybe?

image

I can provide more info if needed.

Thank you for your time!

fdefelici commented 10 months ago

Hi @NorthBlue333,

when working on the Engine are you using the standard workflow https://docs.unrealengine.com/5.3/en-US/building-unreal-engine-from-source/ to setup Visual Studio?

NorthBlue333 commented 10 months ago

Hi,

I did not setup our engine, but it seems the workflow is (a bit) custom. We do not have a root folder containing the Engine folder and the game projects. Each game project contains a .sln file, and we use these projects to work on the engine.

> Root
>> Engine
>>> Source
>>> Plugins
>> Game1
>>> Source
>>> Plugins
>>> Game1.sln (<-- project opened)

Could it be the reason the extension is not working on the engine's paths? Setting UE5 as the startup project does not change anything.

Thanks for your time!

fdefelici commented 10 months ago

I was trying to understand your project organization and evaluate a possible enanchement, because currently FUnreal is implemented for Game Development project type only, and the Engine project is skipped on purpose.

About your project oraganization, if I understood well, you use standard UE Game Development projects which point the custom Engine. So when you open a game project solution on VisualStudio you always have one Engine project and one Game project something like this: image

Did I get it right?

NorthBlue333 commented 10 months ago

Yes that seems right! Is there any reason the Engine is skipped? Performance maybe?

Thank you again for your time, it does not seem much but the extension would be a great improvment in our workflow.

fdefelici commented 10 months ago

Well, in first place the idea was just to support Game Development project. Futhermore in the past I saw some engine module not following the standard folder organization. And then, yes some perf hits could happen.

Anyway I could reason about this implementation.

Could you share your solution file (.sln)? And which engine version you are customizing?

NorthBlue333 commented 10 months ago

gameproject.txt

Sure, here it is. We use Visual Studio 2022 and Unreal 5.2+ (we are actively updating the engine while we are not in production).

fdefelici commented 10 months ago

Thanks for the info.

Another question: currenlty in case you add a file to the Engine plugin/source, do you run UBT from the .uproject file related to the Game project, in order to make VS refresh? Like this:

image

NorthBlue333 commented 9 months ago

Yes, that's what we do!

fdefelici commented 9 months ago

OK. I'll try to do some in-depth analisys for the feasibilty of this feature.

Eventually, If I'll have other questions I'll back to you.