What's a quick way to comment/uncomment lines in Navicat query editor?

StackOverflow https://stackoverflow.com/questions/13024975

  •  13-07-2021
  •  | 
  •  

Вопрос

In Navicat, how do I enclose a selection in a comment?

Is there a keyboard shortcut for this action?

Это было полезно?

Решение

Ctrl + / - To comment a block of code

Ctrl + Shift + / - To uncomment a block of code

Другие советы

Place -- in front of the line.

Or if you want to comment a block place /* at the beginning and */ at the end of the block.

Navicat For Mysql shortcut keys:

Ctrl+Q - open a query window.

Ctrl+/ - notes or comment in the SQL statement.

Ctrl+Shift+/ - release notes or uncomment the Query.

Ctrl+R - run all query the SQL statement window.

Ctrl+Shift+R - run the SQL selected statement only.

Ctrl+N - open a new query window.

Ctrl+W - close current query window.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top