SQL Prompt SQL syntax prompt Operations Tutorial - when the pop-up control code suggestion box

SQL Prompt is a useful tool prompt SQL syntax. It retrieves the database object name syntax, and code segments automatically, to provide users with the appropriate code for selection. Set automatic script makes the code easier to read - especially useful if the developer is not familiar with the script. SQL Prompt installation needed to use, can significantly improve the coding efficiency.

By default, SQL Prompt automatically and continuously display the code completion suggestions. This article shows how to control this behavior, you need to reduce interference when, for example, when dealing with more complex coding issues that need careful consideration.

By default, SQL Prompt code suggestion box will pop up when it believes can provide useful advice, in fact every time keystroke. This is not the way many of us want it to work, or at least not always. If you are working on a complex coding tasks do not want to be interrupted, you can be selected via Ctrl + Shift + P to open and close the auto-complete suggestions. However, we do not recommend that you do this, because every time the prompt queries the database trigger will update its database metadata. Better option is always enabled recommendations, but control its behavior. You have two options: either to stop frequently show either stop showing unless you request them using Ctrl + Space to change.

Here's how: Open SQL Prompt menu, click Options for Options window, then go to the suggestion behavior panes.

Less frequent auto-suggestion

By default, enabled display the code suggestions (if not enabled, enable it), and also enable automatic display suggestions ... and set to 0-70 ms (depending on the version you are prompted to install). Enable both options, simply automatically suggests the frequency increase to 50 milliseconds, or if you think any of your most suitable frequency.

30word-image.png

Click " OK " to save the settings.

Now, only after a delay of 5 seconds suggestion box will pop up. Do not forget, just press the Ctrl key and then press the space key (Ctrl + Space), you can still "on demand" for advice.

Recommended only for the needs of

If you want to "prompt" only "on demand" show suggestions, just uncheck the " Auto Show suggestions " box, and enable the " Show Code suggestions " box.

31word-image-1.png

Click " OK " to save the settings. Now unless you click ( Ctrl + Space ), otherwise you will never see auto-complete suggestions.

32.png


Guess you like

Origin blog.51cto.com/14467432/2428881