Bug Description
If there is text preceded by a dollar sign in a comment, executing the statement with DBCode triggers a prompt for "Parameter Values."
In that prompt, clicking "Cancel" aborts and the statement is not run. Clicking "Continue" prompts to start a pro trial, and then clicking "Cancel" executes the statement (so, this is a workaround).
Repro steps
- Add a comment containing a dollar sign followed by test (
$ alone does not cause the issue) to any SQL notebook cell or SQL file
- Execute the statement with DBCode
- Get prompted for parameter values
Expected Behavior
Commented text should not be parsed for parameters, and I would expect my statements to simply run as normal. Mentioning dollar amounts in comment is common and should not cause issues.
Actual Behavior
SQL is parsed for text that looks like parameters, including commented out text (with --).
Environment
- DBCode version: 1.28.11
- VS Code (or fork) version: Windsurf 1.9566.11
- OS: Linux
- Database: MySQL 8
- Connection: SSH
Screenshots

Bug Description
If there is text preceded by a dollar sign in a comment, executing the statement with DBCode triggers a prompt for "Parameter Values."
In that prompt, clicking "Cancel" aborts and the statement is not run. Clicking "Continue" prompts to start a pro trial, and then clicking "Cancel" executes the statement (so, this is a workaround).
Repro steps
$alone does not cause the issue) to any SQL notebook cell or SQL fileExpected Behavior
Commented text should not be parsed for parameters, and I would expect my statements to simply run as normal. Mentioning dollar amounts in comment is common and should not cause issues.
Actual Behavior
SQL is parsed for text that looks like parameters, including commented out text (with
--).Environment
Screenshots