Skip to content

Commit ab5eaad

Browse files
authored
Fix typos and update completion label (#526)
1 parent 1b1d9d0 commit ab5eaad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/providers/CompletionItemProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

src/providers/DocumentSymbolProvider.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 => {

0 commit comments

Comments
 (0)