Documentation Home
MySQL Shell for VS Code


MySQL Shell for VS Code  /  ...  /  Code Completion

Pre-General Availability: 2023-01-18

2.4.1 Code Completion

The notebook-interface-styled editor in the DB Notebook and GUI Console work areas support IntelliSense-like capabilities. Specifically, these editing features include code completion, parameter information, quick information, and member lists. It provides intelligent code completions based on language semantics and an analysis of your source code as you type:

  • SQL keywords

  • MySQL Shell commands

  • Methods and functions based on the active-language mode

The built-in completion features also have the capability to complete common elements as you type, such as adding the close parenthesis after you type an open parenthesis, single or double quote characters, and so on. It proposes keywords and functions even if you skip or mistype characters. For example:

Figure 2.3 MySQL Shell for VS Code - Code Completion

Content is described in the surrounding text.

For a list of the icons that apply to MySQL Shell for VS Code, see Appendix C, Icons for Auto-Completion. For general instructions, consult the Visual Studio Code documentation.