Add support for completion requests from empty character
See original GitHub issueGiven:
<foo>
<bar>
// press ctrl-space here
</foo>
There’s no completion until I press <
. While I understand autocompletion is triggered on <
, explicit completion requests (ctrl+space
), should also return results from anywhere in the document. In this case, it should return </bar>
.
In Eclipse, when explicitely requesting completion from an empty space, you get : 1 - proposition to close the last opened tag 2 - list of all possible tags (i.e existing siblings)
1/ is really important. 2/ we can probably live without for a bit.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
IntelliSense in Visual Studio Code
The editor supports "tab completion" which inserts the best matching completion when pressing Tab. This works regardless of the suggest widget showing or...
Read more >Known issues with Microsoft Graph
This article describes known issues and limitations with Microsoft Graph and provides workarounds when possible.
Read more >Language Server Protocol Specification - 3.17
A position is between two characters like an 'insert' cursor in an editor. Special values like for example -1 to denote the end...
Read more >Lsp - Neovim docs
completion () Retrieves the completion items at the current cursor position. Can only be called in Insert mode. Parameters: {context} (context support not...
Read more >Place Autocomplete | Places API - Google Developers
The position, in the input term, of the last character that the service uses to match predictions. For example, if the input is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fbricon I have improved a lot the close tag (works with empty character, indent apply of completion, provide several close tag to close. See the following demo:
Please closet this issue of it’s OK for you.
Glad it pleases you @fbricon !