Difference between revisions of "Cross Platform IDEs"
(IDE info) |
Cholmondely (talk | contribs) (Added definition of IDE & tagged as "Oolite Development") |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | There are two major cross platform IDEs that support Objective-C and are free. These are [https://www.jetbrains.com/clion/ CLion] and [https://code.visualstudio.com/ 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. | + | There are two major cross platform IDEs (Integrated Development Environment) that support Objective-C and are free. These are [https://www.jetbrains.com/clion/ CLion] and [https://code.visualstudio.com/ 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: | 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: | ||
| Line 6: | Line 6: | ||
It may be possible to get debugging in the IDE to work. | It may be possible to get debugging in the IDE to work. | ||
| + | |||
| + | ---- | ||
| + | == CLion == | ||
More information about CLion's Objective-C support can be found [https://www.jetbrains.com/help/clion/objective-c-c-support.html here]. | More information about CLion's Objective-C support can be found [https://www.jetbrains.com/help/clion/objective-c-c-support.html here]. | ||
| Line 21: | Line 24: | ||
[[File:CLion3.png]] | [[File:CLion3.png]] | ||
| − | 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 | + | ---- |
| + | == 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: | ||
| + | * [https://marketplace.visualstudio.com/items?itemName=mitaki28.vscode-clang C/C++ Clang Command Adapter] which offers "Completion and Diagnostic for C/C++/Objective-C using Clang Command" | ||
| + | * [https://marketplace.visualstudio.com/items?itemName=lfm.vscode-makefile-term vscode-makefile-term] which "allows you to run a Makefile target from within the editor by clicking above the target". | ||
[[File:VSCode1.png]] | [[File:VSCode1.png]] | ||
| Line 28: | Line 37: | ||
[[File:VSCode2.png]] | [[File:VSCode2.png]] | ||
| + | |||
| + | [[Category:Oolite Development]] | ||
Latest revision as of 13:51, 28 October 2025
There are two major cross platform IDEs (Integrated Development Environment) 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:
It shows all the Git submodules:
These are all the make targets that are autodetected if the GNUstep file is sourced before launching the IDE as described above:
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:
- C/C++ Clang Command Adapter which offers "Completion and Diagnostic for C/C++/Objective-C using Clang Command"
- vscode-makefile-term which "allows you to run a Makefile target from within the editor by clicking above the target".
This shows the extension running makefile targets:




