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