mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
* refactor: Add h1 headers to all pages missing it * refactor: missed example h3 * change hooks example heading to bold text --------- Co-authored-by: Luke <[email protected]>
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
---
|
|
title: VS Code
|
|
---
|
|
|
|
import { DownloadButton, GhButton, DocButton } from '@components/button';
|
|
|
|
# VS Code
|
|
|
|
Visual Studio Code is our recommended editor when working with Lua.
|
|
|
|
<DownloadButton link="https://code.visualstudio.com/Download" />
|
|
|
|
## Recommended extensions
|
|
|
|
Extensions let you add languages, debuggers, and other tools to VS Code - improving your developer experience.
|
|
|
|
### sumneko.lua
|
|
|
|
Lua Language Server provides numerous language features to make development easier and faster, e.g.
|
|
|
|
- Annotations
|
|
- Autocompletion
|
|
- Code formatting
|
|
- Diagnostics/warnings
|
|
- Dynamic type checking
|
|
- Syntax checking
|
|
|
|
<div className="flex flex-wrap gap-1">
|
|
<GhButton link="https://github.com/LuaLS/lua-language-server" />
|
|
<DownloadButton link="https://marketplace.visualstudio.com/items?itemName=sumneko.lua" />
|
|
<DocButton link="https://github.com/LuaLS/lua-language-server/wiki" />
|
|
</div>
|
|
|
|
### overextended.cfxlua-vscode
|
|
|
|
Works alongside Lua Language Server to provide function and type declarations from Cfx's [Lua runtime](https://github.com/citizenfx/fivem/blob/master/code/components/citizen-scripting-lua/src/LuaScriptRuntime.cpp), [Lua dialect](https://github.com/citizenfx/lua/tree/luaglm-dev/cfx), [environment globals](https://github.com/citizenfx/fivem/blob/master/data/shared/citizen/scripting/lua/scheduler.lua), and game natives.
|
|
|
|

|
|
|
|
<div className="flex flex-wrap gap-1">
|
|
<GhButton link="https://github.com/overextended/cfxlua-vscode" />
|
|
<DownloadButton link="https://marketplace.visualstudio.com/items?itemName=overextended.cfxlua-vscode" />
|
|
</div>
|