Skip to content

Dameng Database Connection Auto-selection and Transaction Control Failure #1241

Description

@honkerjha

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

  1. 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.
Image
  1. 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
Image Image
  • VS Code Version: 1.131.0
  • Dameng Database Extension Version: 1.38.6
  • OS: Windows 10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions