yaakuro / CodeLiteSourceCodeAccess

CodeLite Source Code Accesor for the Unreal Engine 4
10 stars 6 forks source link

c++ files do not open in codelite when double clicked. #2

Closed Jieiku closed 5 years ago

Jieiku commented 5 years ago

I just installed/built both unreal engine and codelite this month. Unreal Engine out of the box already has your CodeLite Integration plugin installed and enabled:

image

However when I double click on the c++ files they do not open:

image

In your video here at 6:50 it shows that the c++ files should open in codelite when double clicked from unreal: https://www.youtube.com/watch?v=vRKEIUoQBYw

Jieiku commented 5 years ago

I see now on your main page that you say the included one no longer works, and to instead clone from this repo:

https://github.com/yaakuro/CodeLiteSourceCodeAccess

I am going to work on doing that now! thank you for your work as well as your videos on youtube.

Jieiku commented 5 years ago

So I pulled this into my source and rebuilt Unreal but the c++ files still do not open:

cd ~/source/UnrealEngine
git pull
git pull origin pull/4992/head
./Setup.sh
./GenerateProjectFiles.sh
make
...
Performing 3 actions (8 in parallel)
[1/3] Compile Module.CodeLiteSourceCodeAccess.cpp
[2/3] Link (ld) libUE4Editor-CodeLiteSourceCodeAccess.so
[3/3] UnrealBuildTool.exe UE4Editor.target
Total time in Local executor: 1.41 seconds
Total execution time: 6.05 seconds

If I launch Unreal Editor in a terminal: ~/source/UnrealEngine/Engine/Binaries/Linux/UE4Editor ~/game/unreal/arpg/arpg.uproject -opengl4

I can see some output when double clicking the c++ files: LogAssetEditorManager: Opening Asset editor for Class /Script/arpg.SpaceShip

Jieiku commented 5 years ago

OK! After doing the above, all that is left is to change the source code accessor settings from Null to Codelite:

image

I now have this working! YAY!