Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/providers/CompletionItemProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class VerilogCompletionItemProvider implements vscode.CompletionItemProvi
newItem.detail = symbol.type;
let doc: string = '```systemverilog\n' + code + '\n```';
if (symbol.parentScope !== undefined && symbol.parentScope !== '') {
doc += '\nHeirarchial Scope: ' + symbol.parentScope;
doc += '\nHierarchical Scope: ' + symbol.parentScope;
}
newItem.documentation = new vscode.MarkdownString(doc);
items.push(newItem);
Expand Down
6 changes: 3 additions & 3 deletions src/providers/DocumentSymbolProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class VerilogDocumentSymbolProvider implements vscode.DocumentSymbolProvi
return false;
}

// find the appropriate container RECURSIVELY and add to its childrem
// find the appropriate container RECURSIVELY and add to its children
// return true: if done
// return false: if container not found
findContainer(con: vscode.DocumentSymbol, sym: vscode.DocumentSymbol): boolean {
Expand All @@ -79,8 +79,8 @@ export class VerilogDocumentSymbolProvider implements vscode.DocumentSymbolProvi
return false;
}

// Build heiarchial DocumentSymbol[] from linear symbolsList[] using start and end position
// TODO: Use parentscope/parenttype of symbol to construct heirarchial vscode.DocumentSymbol []
// Build hierarchical DocumentSymbol[] from linear symbolsList[] using start and end position
// TODO: Use parentscope/parenttype of symbol to construct hierarchical vscode.DocumentSymbol []
buildDocumentSymbolList(symbolsList: Symbol[]): vscode.DocumentSymbol[] {
let list: vscode.DocumentSymbol[] = [];
symbolsList = symbolsList.sort((a, b): number => {
Expand Down
Loading