Example #1
0
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);
	}
}
Example #2
0
export function activate(): void {
	const outputChannel = vscode.window.createOutputChannel('search-rg');
	const provider = new RipgrepSearchProvider(outputChannel);
	vscode.workspace.registerSearchProvider('file', provider);
}
Example #3
0
export function activate(): void {
	const provider = new RipgrepSearchProvider();
	vscode.workspace.registerSearchProvider('file', provider);
}