Visual Studio Code Extension based on Xtext for Deep Learning DSL
This is a Deep Learning Script integration for Visual Studio Code based on Xtext grammar using the Language Server Protocol for communication.
Requires Visual Studio Code (VS Code) with version 1.4.0 or greater to be on the path as
code and Java 8+ available as
This will start VS Code and after a few seconds load the
demo folder of this repository.
Building in Details
- Make sure that
java -versionis executable and pointing to a Java 8+ JDK.
code. If the command is not known, open VS Code and select View / Command Palette. Enter
codeand select to install
codeon the path.
./gradlew startCodeto build the DSL and the VS Code extensions.
Scenario 1 (embedded server)
- Install the self-contained extension into VS Code using
code --install-extension vscode-extension-self-contained/build/vscode/vscode-extension-self-contained-0.0.1.vsix
- Run a second instance of vscode on the demo folder
Scenario 2 (client-only with separate server process)
./gradlew runor launch RunServer from Eclipse.
vscode-extensionin VS Code and
F5to launch new editor (you may need a Debug -> Start Debugging initally).
- Open folder
demoin the new editor.
Build VS Code Extension Package manually (manually Gradle)
npm install -g vsce cd vscode-extension vsce package cd ../vscode-extension-self-contained vsce package