Skip to content

Commit ff81131

Browse files
ajitpratap0Ajit Pratap Singhclaude
authored
fix: include node_modules in VSIX and add VS Code Marketplace badge (#365)
The .vscodeignore was excluding node_modules/**, which prevented vscode-languageclient from being bundled. The extension crashed on activation because require("vscode-languageclient/node") failed. Also adds VS Code Marketplace badge and installation section to README. Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 467da64 commit ff81131

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
[![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg?style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
1212
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge)](http://makeapullrequest.com)
1313
[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-GoSQLX%20Lint-blue?style=for-the-badge&logo=github)](https://github.com/marketplace/actions/gosqlx-lint-action)
14+
[![VS Code Marketplace](https://img.shields.io/visual-studio-marketplace/v/ajitpratap0.gosqlx?style=for-the-badge&logo=visual-studio-code&label=VS%20Code)](https://marketplace.visualstudio.com/items?itemName=ajitpratap0.gosqlx)
1415

1516
[![Tests](https://img.shields.io/github/actions/workflow/status/ajitpratap0/GoSQLX/test.yml?branch=main&label=Tests&style=flat-square)](https://github.com/ajitpratap0/GoSQLX/actions)
1617
[![Go Report Card](https://goreportcard.com/badge/github.com/ajitpratap0/GoSQLX?style=flat-square)](https://goreportcard.com/report/github.com/ajitpratap0/GoSQLX)
@@ -117,6 +118,16 @@ See [CHANGELOG.md](CHANGELOG.md) for the complete release details. See [MCP_GUID
117118
go get github.com/ajitpratap0/GoSQLX
118119
```
119120

121+
### VS Code Extension
122+
123+
Install the [GoSQLX extension](https://marketplace.visualstudio.com/items?itemName=ajitpratap0.gosqlx) for real-time SQL validation, formatting, linting, and analysis directly in your editor:
124+
125+
```bash
126+
code --install-extension ajitpratap0.gosqlx
127+
```
128+
129+
Or search **"GoSQLX"** in the VS Code Extensions panel. The extension bundles the `gosqlx` binary — no separate installation needed.
130+
120131
### CLI Installation
121132
```bash
122133
# Install the CLI tool

vscode-extension/.vscodeignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ vsc-extension-quickstart.md
1010
**/*.map
1111
**/*.ts
1212
!bin/**
13-
node_modules/**
1413
.github/**

0 commit comments

Comments
 (0)