
Please follow these instructions to install Node on your machine. The Extension requires Node.js 11.0 or above. It also requires Node.js, impWorks Builder and Visual Studio Code.
Leverages Visual Studio Code’s rich set of features.įor operation, the Extension requires a connection to the Internet. Key shortcuts for frequently performed operations (build and run, show console, etc). Live logs with clickable stack traces for errors, and navigation to the file and line in question. Integration with impWorks™ Builder to enable multi-file projects and code pre-processing. The ability to use a source control system to manage application code and configuration. Code auto-completion for Electric Imp’s imp API. It allows you to rapidly build and maintain applications by providing: This Extension for the Microsoft Visual Studio Code text editor enhances Electric Imp application development by delivering access to the Electric Imp impCloud™ via the Electric Imp impCentral™ API. Thanks for your patience and cooperation! Overview Using this URI with the vscode.openFolder command did the trick.This extension is in the Alpha state. Instead of using the () method, I tried out the () method for the Windows path and it resulted in: file:///c:/data/vscode/test-project-folder. When checking this for a macOS path like /data/vscode/test-project-folder, the scheme is set to file. Looking to the documentation, this should be file. The scheme for this URI is C, which is something VS Code its file system provider does not understand. Whenever I parsed the above Windows path, I received the following path: C:/data/vscode/test-project-folder. To open a project folder, VS Code requires the following URL format: vscode://file// - example: vscode://file/c:/myProject/. This documentation led me to the solution of opening Windows-based folder paths. While searching through the VS Code issues and documentation, I found the following information on opening VS Code with URLs. When I opened the folder from the command, I spotted the following error in the debug console: No file system provider found for resource.
The above code works fine on macOS and Linux but gives issues on Windows paths.įirst, I thought it had to do with the \ backslashes, but replacing these with / forward slashes did not change the behavior. The folder path needs to be parsed to a URI to use the command.
executeCommand ( `vscode.openFolder`, folderUri )
Const folderPath = `C:\\data\\vscode\\test-project-folder` const folderPathParsed = folderPath.