File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export class VerilogCompletionItemProvider implements vscode.CompletionItemProvi
37
37
newItem . detail = symbol . type ;
38
38
let doc : string = '```systemverilog\n' + code + '\n```' ;
39
39
if ( symbol . parentScope !== undefined && symbol . parentScope !== '' ) {
40
- doc += '\nHeirarchial Scope: ' + symbol . parentScope ;
40
+ doc += '\nHierarchical Scope: ' + symbol . parentScope ;
41
41
}
42
42
newItem . documentation = new vscode . MarkdownString ( doc ) ;
43
43
items . push ( newItem ) ;
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export class VerilogDocumentSymbolProvider implements vscode.DocumentSymbolProvi
59
59
return false ;
60
60
}
61
61
62
- // find the appropriate container RECURSIVELY and add to its childrem
62
+ // find the appropriate container RECURSIVELY and add to its children
63
63
// return true: if done
64
64
// return false: if container not found
65
65
findContainer ( con : vscode . DocumentSymbol , sym : vscode . DocumentSymbol ) : boolean {
@@ -79,8 +79,8 @@ export class VerilogDocumentSymbolProvider implements vscode.DocumentSymbolProvi
79
79
return false ;
80
80
}
81
81
82
- // Build heiarchial DocumentSymbol[] from linear symbolsList[] using start and end position
83
- // TODO: Use parentscope/parenttype of symbol to construct heirarchial vscode.DocumentSymbol []
82
+ // Build hierarchical DocumentSymbol[] from linear symbolsList[] using start and end position
83
+ // TODO: Use parentscope/parenttype of symbol to construct hierarchical vscode.DocumentSymbol []
84
84
buildDocumentSymbolList ( symbolsList : Symbol [ ] ) : vscode . DocumentSymbol [ ] {
85
85
let list : vscode . DocumentSymbol [ ] = [ ] ;
86
86
symbolsList = symbolsList . sort ( ( a , b ) : number => {
You can’t perform that action at this time.
0 commit comments