Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit b40217e

Browse files
committed
tweaks
1 parent 2d8929a commit b40217e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"editor.insertSpaces": false,
33
"typescript.format.semicolons": "insert",
4+
// "typescript.referencesCodeLens.enabled": true,
45
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
56
"editor.codeActionsOnSave": {
67
// "source.fixAll": true,

src/calls/model.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ export class CallItem {
7272

7373
class CallsModel implements SymbolItemNavigation<CallItem>, SymbolItemEditorHighlights<CallItem> {
7474

75-
readonly source = 'callHierarchy';
76-
7775
readonly roots: CallItem[] = [];
7876

7977
private readonly _onDidChange = new vscode.EventEmitter<CallsModel>();
@@ -158,9 +156,7 @@ class CallItemDataProvider implements vscode.TreeDataProvider<CallItem> {
158156

159157
private readonly _modelListener: vscode.Disposable;
160158

161-
constructor(
162-
private _model: CallsModel
163-
) {
159+
constructor(private _model: CallsModel) {
164160
this._modelListener = _model.onDidChange(e => this._emitter.fire(e instanceof CallItem ? e : undefined));
165161
}
166162

0 commit comments

Comments
 (0)