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
3737 newItem . detail = symbol . type ;
3838 let doc : string = '```systemverilog\n' + code + '\n```' ;
3939 if ( symbol . parentScope !== undefined && symbol . parentScope !== '' ) {
40- doc += '\nHeirarchial Scope: ' + symbol . parentScope ;
40+ doc += '\nHierarchical Scope: ' + symbol . parentScope ;
4141 }
4242 newItem . documentation = new vscode . MarkdownString ( doc ) ;
4343 items . push ( newItem ) ;
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export class VerilogDocumentSymbolProvider implements vscode.DocumentSymbolProvi
5959 return false ;
6060 }
6161
62- // find the appropriate container RECURSIVELY and add to its childrem
62+ // find the appropriate container RECURSIVELY and add to its children
6363 // return true: if done
6464 // return false: if container not found
6565 findContainer ( con : vscode . DocumentSymbol , sym : vscode . DocumentSymbol ) : boolean {
@@ -79,8 +79,8 @@ export class VerilogDocumentSymbolProvider implements vscode.DocumentSymbolProvi
7979 return false ;
8080 }
8181
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 []
8484 buildDocumentSymbolList ( symbolsList : Symbol [ ] ) : vscode . DocumentSymbol [ ] {
8585 let list : vscode . DocumentSymbol [ ] = [ ] ;
8686 symbolsList = symbolsList . sort ( ( a , b ) : number => {
You can’t perform that action at this time.
0 commit comments