Cross Platform IDEs

From Elite Wiki
Revision as of 06:19, 16 July 2025 by Mcarans (talk | contribs)

There are two major cross platform IDEs that support Objective-C and are free. These are CLion and Visual Studio Code. CLion is free for non-commercial use and since Oolite is not a commercial product, it can be used for free while Visual Studio Code is free for both private or commercial use.

Both IDEs support syntax highlighting of Objective-C code (as well as C, C++ and a variety of other languages). It is possible to set up both to run Oolite's makefile so that the project can be built. This requires sourcing the relevant GNUstep file in a shell before launching the IDE in that shell (or making a script that does this). For example, on Linux sourcing the GNUstep file looks like this:

source /usr/share/GNUstep/Makefiles/GNUstep.sh

It may be possible to get debugging in the IDE to work.

CLion

More information about CLion's Objective-C support can be found here.

This is a view of the project in CLion:

CLion1.png

It shows all the Git submodules:

CLion2.png

These are all the make targets that are autodetected if the GNUstep file is sourced before launching the IDE as described above:

CLion3.png

Visual Studio Code

This is a view of the project in Visual Studio Code. Extensions that have been added include Microsoft's ones for C/C++ and Makefile Tools. In addition, these third party ones have been added:

VSCode1.png

This shows the extension running makefile targets:

VSCode2.png