A browser-based LSP language server for Apache Flink SQL, built with Antlr4ts. Provides code completions, diagnostics, rename, references, folding, hover, formatting, and code actions for Flink SQL files. Version 0.7.1 supports Flink 1.20. Released on npm, ships TypeScript types. Differentiates from generic SQL LSPs by offering Flink-specific SQL dialect support and custom commands for extracting SQL structure and registering schemas for auto-completion.
npm install flink-sql-language-serverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Starts the Flink SQL Language Server and demonstrates integration with VS Code's LanguageClient.
Use import from 'flink-sql-language-server/out-tsc/constants'.
Ensure to pass { flinkVersion: '1.20' } or similar.Use executeCommand('extension.flinkSQL.registerSchemas', { catalogs: [...], databases: [...], tables: [...] })Set documentSelector to [{ language: 'flinksql' }].Use the new 'Server' class instead.
Use: import { Server } from 'flink-sql-language-server';Call: vscode.commands.executeCommand('extension.flinkSQL.registerSchemas', { catalogs: [...], databases: [...], tables: [...] })Set the 'run.module' option to require.resolve('flink-sql-language-server').