Skip to content

Latest commit

 

History

History
63 lines (34 loc) · 2.13 KB

README.md

File metadata and controls

63 lines (34 loc) · 2.13 KB

VS FiveM IntelliSense

This extension adds FiveM native support, code-completions, diagnostics and helpful commands for lua files. If you like the extension or find it useful, please consider giving it a star on GitHub or leaving a review on the VS Code Marketplace!

I recommend also getting sumneko's lua language server for reference finding, lua auto-completion and more helpful features. To not interfere with this extension i'd also turn off Lua.diagnostics.enable, Lua.semantic.variable and increasing Lua.workspace.preloadFileSize if necessary.

Detailed native documentation

Natives are automatically updated from the FiveM documentation.

documentation

Built in search

search

Auto-completion

The extension will try to detect the context of the current file (server or client) and will prioritize natives that are available in that context.

suggestions

Inline Hints

inline_hints

Color highlighting

The extension will automatically try to detect any color values and highlight them.

colors

Hover support

The extension will show a preview of a hash function when hovering over it. With lua-glm enabled it also provides hover suggestions for vector swizzling.

joaat

swizzle

Diagnostics & Bad-Practice warnings

syntax

diagnostics

replace

Helpful snippets

snippets_1

snippets_2

Easy and quick resource generation

new_resource_1

new_resource_2

new_resource_3

Quickly find all issues in a directory and fix them with 2 clicks

lint-folder

fix-all