IDE Integrations
In this chapter you'll learn about Jenova integrations with Visual Studio, VSCode, NeoVim etc.
Godot IDE
Jenova Runtime transforms Godot Editor into a capable IDE, Allowing you to edit C++ Scripts, Compile, and Run them directly within Godot. However, this cannot fully replace a powerful and feature-rich IDE like Visual Studio.
To provide a comprehensive coding and debugging experience, Jenova Framework offers deep integration with Visual Studio 2017+ through a custom build system. Additionally, it supports external code editors such as Visual Studio Code (VSCode), NeoVim, Code::Blocks etc.
Visual Studio IDE
Using Visual Studio integration significantly enhances your workflow by providing access to numerous useful tools and features.
Some of the Features are :
- Unmatched IntelliSense: Visual Studio offers some of the best IntelliSense features on the market. IntelliSense includes code completion, parameter information, quick info, and error reporting, helping programmers write code more efficiently.
- Debugging Tools: Visual Studio provides robust debugging tools, enabling developers to thoroughly inspect their programs at runtime.
- Templates: Visual Studio accelerates C++ code development by offering templates for constructs such as
if
,for
andswitch
. - Code Analyzers: Visual Studio includes various code analysis tools to help optimize and improve your code.
Beyond these benefits, Jenova's Hot-Reloading System (Sakura) allows you to hot-reload the entire code in the editor and all running game instances with each successful build via Visual Studio integration.
📖 Learn more about Jenova Hot-Reloading System
Visual Studio Selector
Jenova includes an internal system to automatically detect all supported and installed versions of Visual Studio on your machine, eliminating the need for manual configuration.
Using Visual Studio Exporter
To export your Jenova Solution (Project) to Visual Studio, Simply open the exporter from the menu Jenova > Export to Visual Studio...
Then, select your desired version and click Generate Solution to export the solution. After successful generation, you will be prompted to decide whether to open the solution in Visual Studio.
Now you can edit your code in Visual Studio. Simply build the module and observe the changes in the editor and game.
Note that to use Visual Studio with Hot-Reload, you need to set External Changes Trigger Mode to Watchdog Invoke.
If you only want to edit code without using the Jenova Build System in Visual Studio, set it to Script Reload.
📖 Learn more about External Changes Trigger Mode
If you have a supported Visual Studio instance installed on your machine, You can skip the compiler installation inside the Godot Editor and use the Jenova Build System in Visual Studio independently.
Do not modify the codebase directly from Visual Studio. This includes adding, renaming, or deleting C++, header, resource and project files in a generated Visual Studio solution. Instead, apply changes in Godot and re-export the project.
Visual Studio Code
In addition to Visual Studio, You can use any external editor including Visual Studio Code (VSCode) for enhanced code editing.
Jenova provides a built-in Visual Studio Code Exporter which can be access the menu Jenova > Export to Visual Studio Code...
To use an external editor, Simply set External Changes Trigger Mode to Script Reload. Now you can open any C++ Script in VSCode.