When using Atom IDE for developing in Godot Engine - Compilation and live editing?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tybobobo
:warning: Old Version Published before Godot 3 was released.

I am currently learning and doing some small work in Godot Engine source code and was wondering if there is a way to make the development process more effective.

I am using Atom as an C++ IDE; and I compile using the following line: “C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat” && scons platform=windows bits=64 -j 4. The problem is that every time I make small changes I have to recompile the entire thing (I believe). Is there a way for me to compile changes only to increase efficiency? Even better; is there a way to do debugging from the IDE? I miss being able to set breakpoints :confused:

Perhaps you are familiar using Atom and know how to setup compiling from the IDE?

Any tips and advice regarding development process in Godot engine would be highly appreciated! :slight_smile:

Atom is actually just a text editor, and not a full-blown IDE. Sure, you can use packages to add IDE-like functionality but you’ll never benefit from full integration with a compiler and debugger (the key components of an IDE).

Calinou | 2016-03-03 19:00

Aww… ! I might have to look into a real IDE :X

Tybobobo | 2016-03-03 19:09

I don’t have experience with Atom but i believe that you should add some parameters to the cmd line so the compiler uses precompiled headers

La_Blazer | 2016-03-03 19:12

:bust_in_silhouette: Reply From: La_Blazer

Atom is just text editor, the compilation is done with the VS compiler (in your case) and scons is used for managing dependencies and cross platform compiling. Try replacing the compile command with following line:

“C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat” && scons platform=windows bits=64 -j 6 --max-drift=1 --implicit-deps-unchanged

Other scons arguments and/or explanations can be found in the guide and on the scons wiki.

Thanks for informing me of the faster scons method :slight_smile:
I am currently looking into getting a good C++ IDE (pref. lightweight and multi-platform)

Tybobobo | 2016-03-03 20:50

I would recommend you Eclipse… I was using it at first, because I was used to it from Java development but I’ve switched to Visual Studio.

La_Blazer | 2016-03-03 21:17

I recommend QtCreator, it’s light, fast and very easy to set up for godot development.

Hinsbart | 2016-03-04 14:47

Thanks for the recommendations. I will be trying out Netbeans; as it seems to be the most developed IDE that I have found; A lot lf different programming language supported; FREE; OPEN SOURCE and MULTI-PLATFORM :slight_smile:

When I figure out more about integrating the scons compiler into the IDE I will write a tutorial so people may have use of it

Tybobobo | 2016-03-05 12:04

:bust_in_silhouette: Reply From: Hinsbart

Regarding the problem of full recompiles: I also had this problem on windows. Seems like an issue with python, solved it by installing “python extensions for windows” or shortly, “pywin32”.