commit
This commit is contained in:
parent
a348b40a33
commit
b16595bd81
@ -877,6 +877,7 @@
|
|||||||
],
|
],
|
||||||
"extensions": [
|
"extensions": [
|
||||||
".sv",
|
".sv",
|
||||||
|
".svh",
|
||||||
".SV"
|
".SV"
|
||||||
],
|
],
|
||||||
"configuration": "./config/systemverilog.configuration.json",
|
"configuration": "./config/systemverilog.configuration.json",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import * as vscode from 'vscode';
|
import * as vscode from 'vscode';
|
||||||
|
|
||||||
import { opeParam, MainOutput, AbsPath, ReportType } from './global';
|
import { opeParam, MainOutput, AbsPath, ReportType, LspClient } from './global';
|
||||||
import { hdlParam } from './hdlParser';
|
import { hdlParam } from './hdlParser';
|
||||||
import * as manager from './manager';
|
import * as manager from './manager';
|
||||||
import * as func from './function';
|
import * as func from './function';
|
||||||
@ -9,6 +9,8 @@ import { extensionUrl } from '../resources/hdlParser';
|
|||||||
|
|
||||||
import * as lspClient from './function/lsp-client';
|
import * as lspClient from './function/lsp-client';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
async function registerCommand(context: vscode.ExtensionContext) {
|
async function registerCommand(context: vscode.ExtensionContext) {
|
||||||
manager.registerManagerCommands(context);
|
manager.registerManagerCommands(context);
|
||||||
|
|
||||||
@ -18,7 +20,9 @@ async function registerCommand(context: vscode.ExtensionContext) {
|
|||||||
func.registerFSM(context);
|
func.registerFSM(context);
|
||||||
func.registerNetlist(context);
|
func.registerNetlist(context);
|
||||||
func.registerWaveViewer(context);
|
func.registerWaveViewer(context);
|
||||||
|
|
||||||
lspClient.activate(context);
|
lspClient.activate(context);
|
||||||
|
await LspClient.MainClient?.onReady();
|
||||||
// lspClient.activateVHDL(context);
|
// lspClient.activateVHDL(context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user