This extension provides integration with the Nginstack platform, enabling Visual Studio Code as an alternative to Engine for editing code stored in an Nginstack database.
Version numbers for this extension are incremented according to the Nginstack platform versions. This way, x.y.z will be the compatible version for Nginstack x.y.z.
Detailed release notes are available here.
In order to access the desired database, you need to:
Opening and editing the Virtual File System
Once the .env file set up is done, run 'Engine: Add Engine Virtual File System' in the Command Palette (which can be accessed with the 'ctrl+shift+P' shortcut). The extension creates an in-memory file system that is a representation of the VFS, opened as another project folder in your File Explorer.
Creating files and directories
Since files and directories in the VFS are linked to the concept of products that can be licensed and permissions regarding those products, creating new files is not as straightforward as if they were local.
When you create a new file, a list of changeable products will appear on the screen, from which you will be able to select the product that file will belong to.
The extension provides an item in your VS Code Status Bar with the database name and a symbol to represent connection status. An 'X' means you are not connected to the database, and a 'check' symbol means you are.
If you are connected, '[database_name] is online. [user_name] is connected' will appear as a tooltip when you rest your cursor over the status item.
You might not be connected to the database for two reasons: