From 1491e4e549ab355e3cf737b60f11c407d003b4e4 Mon Sep 17 00:00:00 2001 From: Atikur Rahaman Santo <55808925+ARSSANTO@users.noreply.github.com> Date: Fri, 19 Jun 2026 22:21:11 +0600 Subject: [PATCH] feat: publish extension to Open VSX for Cursor support --- .github/workflows/release.yml | 10 ++++++++-- README.md | 15 +++++++++++++-- package.json | 3 ++- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 680b8a9..fafe1bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/README.md b/README.md index 285c486..74e583e 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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) --- @@ -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 diff --git a/package.json b/package.json index 92d2076..b47d02d 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,8 @@ "IntelliSense", "Natives", "Types", - "VS Code" + "VS Code", + "Cursor" ], "icon": "logo.png", "activationEvents": [