Legacy/Code Lite in Windows

CodeLite in Windows Hello everyone. More than one year ago, @yaakuro, a member of our community, added support for CodeLite IDE. In Linux, it is used and liked by many. However, in Windows, not man...

CodeLite in Windows

Hello everyone.

More than one year ago, @yaakuro, a member of our community, added support for CodeLite IDE. In Linux, it is used and liked by many. However, in Windows, not many people are aware of this gem. In this article, I want to help you try CodeLite at the very least.

First of all, you need to know, Epic is somewhat abstaining from using anything else but VS or XCode. For this reason they are not officially supporting any other IDEs at the moment. Also VS and XCode is hardcoded into the Engine and therefore not everything is quick and easy.

Let's get started. Here are the steps you need to follow:

Steps

  • CodeLite and install CodeLite IDE from here: **
  • Open UE4 and enable CodeLite plugin from Edit->Plugins->Programming->CodeLite Integration
  • Download this file: ** (link is broken!)
  • Right click and click edit. You will see a few lines of batch code. All this code does is adding a right click menu option to your .uproject files. You just need to change the 4th and 5th lines accordingly.
    • At 4th line, change C:\Program Files (x86)\Epic Games with whatever is appropriate for your system.
    • At 5th line, change C:\Program Files (x86)\Epic Games\4.14 with whatever is appropriate for your system.
    • DON'T touch anything else.
  • Run the batch file as Administrator.
  • Go to your project folder and right click on .uproject file. There you should see an option named "Generate CodeLite project files". Click on it. It will generate .workspace and some other files. Open .workspace with CodeLite IDE.
    • Note: CodeLite will parse project files at first run. It will consume some serious amount of your CPU and Disk power. Let it finish first. After this first run, everything should work just fine.
File:menu.png
File:menu.png

Problems

  • Everytime you add a new C++ class to your project you need to regenerate project files.
  • Everytime you install a new engine, you should redo steps except step 1.
  • Everytime you open Epic Launcher, it will prompt you saying, Project files not Associated. Don't click Fix Now. It is because it detects the change we made and thinks it is an error.
  • As of now CodeLite 9.2 is available and code completion is not perfect yet. Hopefully this will be fixed in the future.

Useful Info: You can go to and download a color theme just as you desired. Also VS style color themes are existing in that site. After downloading you can open your CodeLite and add color themes from Settings->Colour and Fonts->Import Eclipse Theme.

File:colour.png
File:colour.png

ALL CREDIT GOES TO @yaakuro AS HE IS THE ONE WHO ADDED SUPPORT FOR CODELITE. I AM JUST A GUIDE HERE.

Hoodini Last updated on