release: Vs Code New Extension with layout Support
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
const vscode = require("vscode");
|
||||
const { formatWrn } = require("./formatter");
|
||||
const { registerCompletionProvider } = require("./completion");
|
||||
const { registerDefinitionProvider } = require("./definition");
|
||||
const { registerDiagnostics } = require("./diagnostics");
|
||||
|
||||
// The .wrn compiler, bundled to CJS by `bun run build:compiler`. Loaded
|
||||
// defensively so the rest of the extension (highlighting, snippets, completion)
|
||||
@@ -68,7 +70,9 @@ const EVENTS = [
|
||||
* @param {vscode.ExtensionContext} context
|
||||
*/
|
||||
function activate(context) {
|
||||
registerDiagnostics(context);
|
||||
registerCompletionProvider(context);
|
||||
registerDefinitionProvider(context);
|
||||
|
||||
const diagnostics = vscode.languages.createDiagnosticCollection("wrn");
|
||||
context.subscriptions.push(diagnostics);
|
||||
|
||||
Reference in New Issue
Block a user