|
1 | | -# CfxLua IntelliSense (FiveM / RedM) |
| 1 | +# CfxLua IntelliSense — Community Fork (VSCode & Open VSX) |
2 | 2 |
|
3 | | -[](https://github.com/AnishBplayz/cfxlua-vscode-openvsx/releases) |
4 | 3 | [](https://open-vsx.org/extension/anishbplayz/cfxlua-vscode-openvsx) |
5 | 4 | [](https://marketplace.visualstudio.com/items?itemName=AnishBplayz.cfxlua-vscode-openvsx) |
6 | 5 |
|
7 | | -> **Note** |
8 | | -> Community-maintained fork of the archived [overextended/cfxlua-vscode](https://github.com/overextended/cfxlua-vscode). Published under the `anishbplayz` namespace on [Open VSX Registry](https://open-vsx.org/extension/anishbplayz/cfxlua-vscode-openvsx) and [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=AnishBplayz.cfxlua-vscode-openvsx). |
9 | | -> |
10 | | -> *This extension is not authored, published, sponsored, nor endorsed by Cfx.re.* |
| 6 | +## About this fork |
| 7 | + |
| 8 | +This extension is a **community fork** of the **archived** [overextended/cfxlua-vscode](https://github.com/overextended/cfxlua-vscode) project. The original is no longer maintained; this fork is kept up to date and published for the community. |
| 9 | + |
| 10 | +It is maintained independently and published under the **anishbplayz** namespace on both the [Open VSX Registry](https://open-vsx.org/extension/anishbplayz/cfxlua-vscode-openvsx) and the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=AnishBplayz.cfxlua-vscode-openvsx). |
| 11 | + |
| 12 | +*This extension is not authored, published, sponsored, nor endorsed by Cfx.re.* |
| 13 | + |
| 14 | +--- |
| 15 | + |
| 16 | +## Why use this fork? |
| 17 | + |
| 18 | +- **Actively maintained** — The original overextended extension is archived; this fork receives updates and remains available. |
| 19 | +- **Available everywhere** — Install from both Open VSX (e.g. VSCodium) and the Visual Studio Marketplace (VS Code, Cursor). |
| 20 | +- **Drop-in replacement** — Same IntelliSense, native definitions, and runtime globals as the original; you can switch without changing your workflow. |
11 | 21 |
|
12 | 22 | --- |
13 | 23 |
|
14 | | -## Features |
| 24 | +## What this extension provides |
15 | 25 |
|
16 | | -- **IntelliSense & diagnostics** — Provided by [sumneko's Lua Language Server](https://marketplace.visualstudio.com/items?itemName=sumneko.lua): diagnostics, annotations, and auto-completion. |
17 | | -- **Runtime globals** — Support for environment globals (e.g. `CreateThread`, promises, `json`, statebags). |
18 | | -- **Natives** — Support for FiveM, RedM, and CFX natives. |
19 | | -- **LuaGLM** — Support for Cfx's [Lua implementation (LuaGLM)](https://github.com/citizenfx/lua/tree/luaglm-dev/cfx): |
20 | | - - Vector, quat, and matrix types. |
21 | | - - Partial support for extended syntax / [power patches](https://github.com/citizenfx/lua/blob/luaglm-dev/cfx/README.md#power-patches). |
22 | | - *Use with caution — some patches have been known to cause crashes.* |
| 26 | +- **Smart editing for Lua** — Diagnostics, hover info, and auto-completion via [sumneko's Lua Language Server](https://marketplace.visualstudio.com/items?itemName=sumneko.lua). |
| 27 | +- **Cfx runtime globals** — Environment APIs such as `CreateThread`, promises, `json`, and statebags are recognized and completed. |
| 28 | +- **Game natives** — Type definitions and IntelliSense for FiveM, RedM, and CFX natives. |
| 29 | +- **LuaGLM support** — Types and support for Cfx's [Lua implementation (LuaGLM)](https://github.com/citizenfx/lua/tree/luaglm-dev/cfx): vectors, quaternions, and matrices, plus limited [power patches](https://github.com/citizenfx/lua/blob/luaglm-dev/cfx/README.md#power-patches) support. |
| 30 | + *Note: Some power patches have been reported to cause crashes; use with care.* |
23 | 31 |
|
24 | 32 | --- |
25 | 33 |
|
|
46 | 54 |
|
47 | 55 | ## Credits |
48 | 56 |
|
49 | | -Thanks to CitizenFX, gottfriedleibniz, alloc8or, iTexZoz, TasoOneAsia, Overextended and CommunityOX. |
| 57 | +Thanks to CitizenFX, gottfriedleibniz, alloc8or, iTexZoz, TasoOneAsia, Overextended and CommunityOX. |
0 commit comments