Archived
1
0

Add ripgrep, fill native fs functions, add ping endpoint (#39)

* Add ripgrep, fill native fs functions, add ping endpoint

* Make show in folder redirect to the workspace
This commit is contained in:
Kyle Carberry
2019-02-27 15:12:26 -06:00
committed by GitHub
parent 3bacbca325
commit 676b30934f
8 changed files with 65 additions and 13 deletions

View File

@ -0,0 +1,4 @@
import * as path from "path";
// tslint:disable-next-line:no-any
module.exports.rgPath = (<any>global).RIPGREP_LOCATION || path.join(__dirname, "../bin/rg");

View File

@ -308,8 +308,8 @@ class WindowsService implements IWindowsService {
throw new Error("not implemented");
}
public showItemInFolder(_path: string): Promise<void> {
throw new Error("not implemented");
public async showItemInFolder(_path: string): Promise<void> {
workbench.workspace = URI.file(_path);
}
public getActiveWindowId(): Promise<number | undefined> {