Skip to content

finn-wa/elsql-language-support

Repository files navigation

ElSQL Language Support

VS Code language support for ElSQL, the Java SQL DSL.

Features

Syntax highlighting

Syntax highlighting

View implementation

Go to implementation or hover preview @NAME blocks from @INCLUDE references. View implementation

Code completion

Code completion

More features

  • Rename variables and @NAME blocks
  • Hover for ElSQL tag documentation
  • Document symbols overview
  • Function signature help

Coming Soon

  • Find all references to variables and @NAME blocks
  • Format blocks

Structure

.
├── client # ElSQL Language Client
│	└── src
│		└── extension.ts # Entry point
│
├── elsql # ElSQL Language Support
│	├── elsql.tmLanguage.json # TextMate grammar
│	└── language-configuration.json # Editor config
│
├── package.json # Extension manifest
│
└── server # ElSQL Language Server
	└── src
		├── models # Language tags, params, and docs
		├── providers # Language feature providers
		├── services # Stateful services
		├── utils # Stateless utilities
		└── server.ts # Entry point

Launching the LS

  • Run npm install in this folder. This installs all necessary npm modules in both the client and server folder
  • Open VS Code on this folder.
  • Press Ctrl+Shift+B to compile the client and server.
  • Switch to the Debug viewlet.
  • Select Launch Client from the drop down.
  • Run the launch config.
  • If you want to debug the server as well use the launch configuration Attach to Server

About

VS Code language support for ElSQL, the Java SQL DSL

Resources

Stars

Watchers

Forks

Releases

No releases published