Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tick Character '`' Not Defined as "Auto Surround" in "Jinja-SQL" Editor #214118

Open
yonaroz opened this issue Jun 3, 2024 · 0 comments
Open
Assignees

Comments

@yonaroz
Copy link

yonaroz commented Jun 3, 2024

  • VS Code Version: 1.89.1
  • OS Version: macOS Sonoma 14.5

Steps to Reproduce:

  1. Open a file with the "Jinja-SQL" language mode.
  2. Select a string of text.
  3. Press the tick character ('`') to try to surround the selected text.

Expected Behavior:
The selected text should be surrounded by tick characters (selected text), similar to how it works in the "SQL" language mode.

Actual Behavior:
The selected text is deleted and replaced by a single tick character. This behavior diverges from how the tick character functions as an "Auto Surround" character in the "SQL" editor language, leading to inconsistent and frustrating editing experiences.

Additional Information:
The lack of defining the tick character as an "Auto Surround" in "Jinja-SQL" is particularly problematic since this character is commonly used in SQL queries, which are often embedded within Jinja templates. Aligning the behavior with the "SQL" editor language would provide a consistent and error-free user experience.

@VSCodeTriageBot VSCodeTriageBot added the stale Issues that have not been triaged in an appropriate amount of time label Jun 10, 2024
@hediet hediet assigned aiday-mar and unassigned ulugbekna Jun 25, 2024
@VSCodeTriageBot VSCodeTriageBot removed triage-needed stale Issues that have not been triaged in an appropriate amount of time labels Jun 25, 2024
@aiday-mar aiday-mar added polish Cleanup and polish issue and removed polish Cleanup and polish issue labels Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants