question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for completion requests from empty character

See original GitHub issue

Given:

<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)

xml-complete

1/ is really important. 2/ we can probably live without for a bit.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
angelozerrcommented, Oct 8, 2018

@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:

closetag

Please closet this issue of it’s OK for you.

0reactions
angelozerrcommented, Oct 9, 2018

Glad it pleases you @fbricon !

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found