Code Editor Setup
Visual Studio Code is a lightweight but powerful source code editor. While we recommend using Visual Studio for C#/C++ development, VS Code is excellent for Lua development in FiveM.
Download
You can download Visual Studio Code from their official website .
Essential Extensions
Lua Development
-
- Provides core Lua language support
- Syntax highlighting
- Code completion
-
CfxLua (FiveM/RedM) IntelliSense
- Provides IntelliSense, diagnostics and annotations via Lua Language Server
- Support for FiveM/RedM natives and runtime globals
- Support for FiveM’s Lua implementation
Optional Extensions
Here are some additional extensions you might find helpful:
Visual Customization
-
- Beautiful file icons
- Helps you organize your files better
-
- A nice theme which is easy on the eyes!
- Personal pick from the Team
You can browse many more themes and icon packs on the VS Code Marketplace
Development Tools
Next Steps
On our next page, we’ll explore essential resources to improve your development experience and enhance your scripts!
Last updated on