diff --git a/src/locate/locate.js b/src/locate/locate.js index ce75c2c1a..f1e72388f 100644 --- a/src/locate/locate.js +++ b/src/locate/locate.js @@ -60,7 +60,7 @@ function filter(symbols, query, matcher) { .uniq() .value(); } -module.exports = class Locate { +export class Locate { constructor(root, settings) { this.settings = settings; this.root = root; diff --git a/src/providers/intellisense.ts b/src/providers/intellisense.ts index 0e7b3e984..ad5cd875b 100644 --- a/src/providers/intellisense.ts +++ b/src/providers/intellisense.ts @@ -1,6 +1,6 @@ import * as vscode from 'vscode'; import { ExtensionContext, SymbolKind, SymbolInformation } from 'vscode'; -import * as Locate from '../locate/locate'; +import { Locate } from '../locate/locate'; export function registerIntellisenseProvider(ctx: ExtensionContext) { // for locate: if it's a project, use the root, othewise, don't bother