Fill in the project's code, the credentials and optionaly the portal url
Click on the open button of the environment to open it
Start coding
VS Code useful features
Ctrl + P : Quick search for a file
Ctrl + F : Search in the current file
Ctrl + Shift + F : Search in files
Ctrl + Shift + P : Open Command Palette (allows you to execute all available commands prefixed by Divalto)
Features
Specialize
Right click on the standard file in the explorer or on the editor and choose Specialize.
The specific file wil be create at the same path relative to specific folder.
If a specific file already exists, the command will just open it.
Compare with standard
Right click on a file in the explorer or on the editor and choose Compare with standard
Merge conflict with newer files versions on the server
On saving, if a newer version of the file exists on the server, a compare screen appears to allow to merge the two versions.
Copy configuration file name
Right click on a file in the explorer or on the editor and choose Copy name to clipboard.
It allows you to paste the name where you need
Go to Definition
You can go to a definition with F12 (or Right click + Go To Definition) from elements of Json configurations and scripts
Such as:
DataSource
Script
SelectQueryName
$database.selectAsync(datasourceName)
$library.getLibraryAsync(libraryName)
Snippets
Some snippets starting with divalto-* allow to ease components creation
Extension settings
divalto.projectsLocalFolder
Defines the temp folder where to store projects' configuration locally. (default: C:\divalto-studio\)
Troubleshooting
Json Validation & Completion
On some complex configuration files, Json Validation would failed/hung; you can disable this feature by Right click + Disable Json Validation or execute the corresponding command with Ctrl + Shift + P