You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inside a tag, if I have a = before "" or {}, eg: <div if:true="">, or <div if:true={}>, I need Ctrl + Space to wake up intellisense so I can have a autocomplete list for "" or {}. But for tag, I can have a dynamical autocomplete list whenever I type a character, the intellisense is automatically waked up by user typing a character.
Can you point out to me which lines/block of code in this repo that define this behavior? Our team is developing an extended html language server based on this repo, and we want a autocomplete list for {} but without asking user to use Ctrl + Space to trigger the intellisense.
Steps to Reproduce:
1, go to a html file
2, <div if:true=""
3, move your cursor away, then move it back inside ""
4, typing a character does not trigger a autocomplete list
5, using Ctrl + Space, you can see a autocomplete list.
The text was updated successfully, but these errors were encountered:
Provided I correctly understand what you are asking, this is the wrong repo. The correct one is the mainline vscode repository.
The built-in extension for html-language-features has a file called htmlServer.ts that controls what characters trigger the retrieval of completion items.
See line 196 where it defines the server capabilities as completionProvider: clientSnippetSupport ? { resolveProvider: true, triggerCharacters: ['.', ':', '<', '"', '=', '/'] } : undefined,.
Change the character list to include a-z and you should see the behavior you want.
inside a tag, if I have a
=
before""
or{}
, eg:<div if:true="">
, or<div if:true={}>
, I need Ctrl + Space to wake up intellisense so I can have a autocomplete list for""
or{}
. But for tag, I can have a dynamical autocomplete list whenever I type a character, the intellisense is automatically waked up by user typing a character.Can you point out to me which lines/block of code in this repo that define this behavior? Our team is developing an extended html language server based on this repo, and we want a autocomplete list for {} but without asking user to use Ctrl + Space to trigger the intellisense.
Steps to Reproduce:
1, go to a html file
2, <div if:true=""
3, move your cursor away, then move it back inside ""
4, typing a character does not trigger a autocomplete list
5, using Ctrl + Space, you can see a autocomplete list.
The text was updated successfully, but these errors were encountered: