add some features
This commit is contained in:
@@ -179,11 +179,11 @@ export async function activate(context: vscode.ExtensionContext) {
|
||||
|
||||
context.subscriptions.push(formatDefProvider)
|
||||
|
||||
// const tclOutlineProvider = vscode.languages.registerDocumentSymbolProvider(
|
||||
// { scheme: "file", language: "tcl" },
|
||||
// { provideDocumentSymbols: tclDocumentSymbolProvider }
|
||||
// )
|
||||
// context.subscriptions.push(tclOutlineProvider)
|
||||
const tclOutlineProvider = vscode.languages.registerDocumentSymbolProvider(
|
||||
{ scheme: "file", language: "tcl" },
|
||||
{ provideDocumentSymbols: tclDocumentSymbolProvider }
|
||||
)
|
||||
context.subscriptions.push(tclOutlineProvider)
|
||||
|
||||
// Diagnostics collection
|
||||
const diagnosticCollectionCdl = vscode.languages.createDiagnosticCollection("cdl")
|
||||
|
||||
Reference in New Issue
Block a user