Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ jobs:
commit-user-email: 41898282+github-actions[bot]@users.noreply.github.com

- run: yarn install --frozen-lockfile
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v2
id: publishToOpenVSX
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
yarn: true
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
uses: HaaLeo/publish-vscode-extension@v2
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
yarn: true
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cfx Lua IntelliSense

[![VS Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/ihyajb.cfxlua-intellisense-aj)](https://marketplace.visualstudio.com/items?itemName=ihyajb.cfxlua-intellisense-aj) [![VS Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/ihyajb.cfxlua-intellisense-aj)](https://marketplace.visualstudio.com/items?itemName=ihyajb.cfxlua-intellisense-aj) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![VS Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/ihyajb.cfxlua-intellisense-aj)](https://marketplace.visualstudio.com/items?itemName=ihyajb.cfxlua-intellisense-aj) [![VS Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/ihyajb.cfxlua-intellisense-aj)](https://marketplace.visualstudio.com/items?itemName=ihyajb.cfxlua-intellisense-aj) [![Open VSX Downloads](https://img.shields.io/open-vsx/dt/ihyajb/cfxlua-intellisense-aj)](https://open-vsx.org/extension/ihyajb/cfxlua-intellisense-aj) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

A Visual Studio Code extension that brings full IntelliSense, auto-completion, diagnostics, and type annotations to the Lua scripting environment used by [FiveM](https://fivem.net/) and [RedM](https://redm.gg/). Built on top of the [Lua Language Server](https://marketplace.visualstudio.com/items?itemName=sumneko.lua) by sumneko, this extension automatically configures your workspace with the correct runtime definitions, native function signatures, and LuaGLM type information so you can write Cfx.re Lua scripts with confidence.

Expand Down Expand Up @@ -55,7 +55,7 @@ When you open a Lua file in VS Code with this extension active, it will:

## Prerequisites

- **Visual Studio Code** v1.71.0 or later
- **Visual Studio Code** or **[Cursor](https://cursor.com/)** v1.71.0 or later
- **[Lua Language Server](https://marketplace.visualstudio.com/items?itemName=sumneko.lua)** extension by sumneko (installed automatically as a dependency)

---
Expand All @@ -69,6 +69,17 @@ When you open a Lua file in VS Code with this extension active, it will:
3. Search for **Cfx Lua IntelliSense** by `ihyajb`.
4. Click **Install**.

### From Cursor (Open VSX)

[Cursor](https://cursor.com/) uses the [Open VSX Registry](https://open-vsx.org/) for its built-in extension marketplace.

1. Open Cursor.
2. Go to the Extensions view (`Ctrl+Shift+X` / `Cmd+Shift+X`).
3. Search for **Cfx Lua IntelliSense** or publisher `ihyajb`.
4. Click **Install**.

You can also install directly from [Open VSX](https://open-vsx.org/extension/ihyajb/cfxlua-intellisense-aj).

---

## Getting Started
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
"IntelliSense",
"Natives",
"Types",
"VS Code"
"VS Code",
"Cursor"
],
"icon": "logo.png",
"activationEvents": [
Expand Down