You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There are two functional bugs in the Dameng Database VS Code extension related to default connection auto-selection and manual transaction control, which affect daily database development and operation efficiency.
To Reproduce
Default database connection cannot be automatically selected
I have already set the default workspace connection via the shortcut CTRL+SHIFT+P. However, every time I create a new text file and manually switch the file language mode to DBCODE, the extension fails to automatically load the default connection. I have to manually select the database connection again for each new file.
Manual transaction commit/rollback and auto-commit toggle malfunction
After turning off the auto-commit transaction option in the plugin settings:
After executing UPDATE statements, I cannot manually commit or rollback transactions via the status bar buttons at the bottom right of VS Code.
The auto-commit switch cannot be toggled through the bottom-right status bar either. The only way to enable or disable auto-commit is to access the full plugin configuration page manually.
Expected behavior
After configuring the workspace default connection, the extension should automatically apply the default connection when new DBCODE files are created, without repeated manual selection.
The bottom-right status bar should provide available entry for transaction commit and rollback operations, and support quick switching of the auto-commit status, instead of relying solely on the configuration page.
Environment
Describe the bug
There are two functional bugs in the Dameng Database VS Code extension related to default connection auto-selection and manual transaction control, which affect daily database development and operation efficiency.
To Reproduce
I have already set the default workspace connection via the shortcut CTRL+SHIFT+P. However, every time I create a new text file and manually switch the file language mode to DBCODE, the extension fails to automatically load the default connection. I have to manually select the database connection again for each new file.
After turning off the auto-commit transaction option in the plugin settings:
Expected behavior
Environment