예제 #1
0
파일: extension.ts 프로젝트: liunian/vscode
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);
	}
}
예제 #2
0
export function activate(): void {
	const outputChannel = vscode.window.createOutputChannel('search-rg');
	const provider = new RipgrepSearchProvider(outputChannel);
	vscode.workspace.registerSearchProvider('file', provider);
}
예제 #3
0
파일: extension.ts 프로젝트: pmkary/vscode
export function activate(): void {
	const provider = new RipgrepSearchProvider();
	vscode.workspace.registerSearchProvider('file', provider);
}