export function activate(): void { if (vscode.workspace.getConfiguration('searchRipgrep').get('enable')) { const outputChannel = vscode.window.createOutputChannel('search-rg'); const provider = new RipgrepSearchProvider(outputChannel); vscode.workspace.registerSearchProvider('file', provider); } }
export function activate(): void { const outputChannel = vscode.window.createOutputChannel('search-rg'); const provider = new RipgrepSearchProvider(outputChannel); vscode.workspace.registerSearchProvider('file', provider); }
export function activate(): void { const provider = new RipgrepSearchProvider(); vscode.workspace.registerSearchProvider('file', provider); }