alm
Version:
The best IDE for TypeScript
14 lines (11 loc) • 345 B
text/typescript
/**
* Commands to manage settings related stuff
*/
import * as commands from "../commands/commands";
import * as ui from "../ui";
import {server} from "../../socket/socketClient";
commands.openSettingsFile.on(()=>{
server.getSettingsFilePath({}).then((res)=>{
commands.doOpenOrFocusFile.emit({filePath: res.filePath});
})
})