๐Ÿ“ฆ phil294 / SQLite-Runner-LSP

A very simple VSCode extension (and LSP) that validates SQL files by running them against a temporary SQLite database in real-time.

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ GNU Affero General Public License v3.0
๐Ÿ“ฅ Clone https://github.com/phil294/SQLite-Runner-LSP.git
HTTPS git clone https://github.com/phil294/SQLite-Runner-LSP.git
SSH git clone git@github.com:phil294/SQLite-Runner-LSP.git
CLI gh repo clone phil294/SQLite-Runner-LSP
Philip Waritschlager Philip Waritschlager Update README.md c5f206f 2 months ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ .vscode
๐Ÿ“ client
๐Ÿ“ demo
๐Ÿ“ server
๐Ÿ“„ .gitignore
๐Ÿ“„ .vscodeignore
๐Ÿ“„ icon.png
๐Ÿ“„ icon.svg
๐Ÿ“„ LICENSE
๐Ÿ“„ package-lock.json
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ release.sh
๐Ÿ“„ README.md

SQLite Runner LSP

A very simple VSCode extension (and LSP) that validates SQL files by running them against a temporary SQLite database in real-time.

demo showing parse error and syntax error

Install

From the VSCode Marketplace here or from Open VSIX here.

Usage

  • You need to have sqlite3 as a global executable available in your $PATH.
  • Open any .sql or .sqlite file
  • Start writing SQL statements
  • Errors will appear inline as you type
Each validation run creates a fresh temporary database, so you can test CREATE TABLE statements and other DDL without conflicts.

There are no configurable options.

Development for VSCode extension

Run npm i and then launch Client + Server