Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 1.47 KB

code-completion-dd4fc3b.md

File metadata and controls

18 lines (10 loc) · 1.47 KB

Code Completion

XML annotation language server provides a list of suggestions based on the project metadata, OData vocabularies, and an analysis of the project structure. The content of a code completion list depends on the context it is triggered in. For example, you can open a list of suggestions for annotation targets, terms, attributes, or different elements of annotation values. You can navigate through the suggestion list, view the vocabulary information for the list items, and accept one of the suggestions to add new entry or change the one already existing in the current context. Code completion can be used both for adding or changing individual values, word-based completion and adding code blocks. For more information, seeMicro-Snippets.

Using Code Completion

To trigger the code completion, in Windows, press [Ctrl] + [Space] and for macOS, [CMD] + [Space] . The list of suggested values is displayed.

Note:

You can filter the list of suggested values by typing more characters.

Navigate to the desired value using the up/down arrows or your mouse. Accept the highlighted value using [Enter] key or a mouse click.

Note:

If you arere adding or modifying segments of an annotation target or path value, you can use / to accept the selected value for the current segment and trigger the code completion list for the next segment. Filter it further by typing more characters.