fivemsnipator is a VS Code extension designed to enhance your FiveM development experience by providing useful snippets and tools tailored for scripting in the FiveM framework.
Features
Collection of handy snippets for Lua, JavaScript, and C# tailored for FiveM development.
Quickly insert common FiveM server/client script patterns.
Improve coding speed and reduce boilerplate.
Supports multiple languages used in FiveM scripting.
Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
Requirements
Visual Studio Code (latest version recommended)
Basic knowledge of FiveM scripting
Lua, JavaScript, or C# development environment set up for FiveM
No additional dependencies required.
Extension Settings
This extension contributes the following settings:
fivemsnipator.enable: Enable or disable the extension features (default: true).
fivemsnipator.language: Set your preferred language snippets (lua, js, csharp).
Known Issues
Snippets may occasionally conflict with other snippet extensions. Disable other conflicting snippet extensions if issues arise.
Limited snippet coverage for some edge-case FiveM API calls.
Release Notes
1.0.0
Initial release of fivemsnipator with Lua, JS, and C# snippet support for FiveM scripting.
1.0.1
Fixed snippet conflicts and improved snippet trigger accuracy.
1.1.0
Added new snippets for client-server event handling and improved documentation snippets.
Following extension guidelines
Ensure that you've read through the extension guidelines and follow best practices for creating your extension.