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

Multiple backtick issues #6

evilworm opened this Issue Nov 9, 2017 · 1 comment


None yet
2 participants
Copy link

evilworm commented Nov 9, 2017

Expected behavior

Autocomplete should put an ending backtick if you have one in the beginning of the column name. Suggestions should be shown even if I wrap the column name with backticks.

Current behavior

Autocomplete wraps the column name in backticks even if you have already put one backtick by yourself. Also all the suggestions are removed if you start the column name with backtick in the query, but the popup remains open and empty.

Steps to reproduce

  1. start typing sql query and have an autocomplete window pop up for available columns
  2. start your column name by putting ` (backtick), then type the column name and then press enter
  3. you get something like ```column`


HeidiSQL version:
Video of the issue:
(unfortunately the video does not show the autocomplete popup for some reason, but it's there)

@ansgarbecker ansgarbecker added the bug label Nov 9, 2017


This comment has been minimized.

Copy link

ansgarbecker commented Nov 9, 2017

There is no need to write a backtick for column names, as the proposal inserts a backtick automatically if required (read: if the column name is a reserved SQL keyword or has spaces).

But you're right, the proposal should not be empty when you type a backtick, and it should not quote backticks with even more backticks.

@ansgarbecker ansgarbecker added this to the v9.6 milestone Feb 18, 2018

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