Modify the default shortcut key of dbvisualizer

Source: Internet
Author: User

The default shortcut key for dbvis SQL prompt (SQL supplement) is Ctrl + space (that is, the shortcut key for switching the input method), which is a common problem of foreign tools (the default of many tools)CodeThe prompt is exactly the shortcut key for switching the input method, and there are frequent conflicts). In this way, dbvis is very uncomfortable to use and it is necessary to manually change the shortcut key.
Later I studied the jar package of dbvis and found a way to modify the default shortcut key.

Follow these steps to modify the SQL prompt:
1. Edit the dbvis-actions.xml file under the dbvis. jar package (unzip or directly modify)
2. Find the following code:
<Actionidref = "show-auto-completion-command" keystroke = "control space"/>


3. Change the above Code to the following code (changed to Alt + point or Alt + slash)
<Actionidref = "show-auto-completion-command" keystroke = "alt period: ALT slash"/>


4. Save the file and put it back to dbivs. jar.
After the preceding steps, the shortcut keys for dbvis SQL prompt are consistent with those for eclipse code prompts. The modification is consistent with the code writing habits, which improves the efficiency of SQL writing.

PS: I think the biggest benefit of dbvis is that I can manage different databases in the same way, so that when I operate and manage different databases, you do not need to learn the corresponding database management tools.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.