Skip to content

Unable to run individual queries from editor #802

@telekosmos

Description

@telekosmos

Just updated vscode dbcode extension to 1.17.29 in vscode Version: 1.105.1, MacOS 15.3.1 (24D70). When selecting a database on a SQL file, I was able to run a query from the editor just by placing the cursor somewhere in the query and pressing CMD+Enter. Now, when doing that, all queries in the file are executed.

To reproduce:

  • in database explorer, right-click in a database and select Create New SQL File (or click the button with same funcionality at right side)
  • type any two simple queries
  • press CMD+Enter
  • All queries are run and results show at bottom panel

Expected behaviour (or previous one as I was seeing):

  • just the query on focus (cursor in the query) is executed

Not sure if this is a bug or new behaviour/feat. Read the last ChangeLogs and didn't see anything.

Thanks for your job!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions