-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag expansion prompt showing unexpectedly #203
Comments
@deathaxe do you have any thoughts on why this is happening and how to prevent it? |
The only special thing of this package is a syntax specific see:
Is completion panel directly opened by typing I get this state only by hitting |
Did you set syntax to "HTML (Blade)" before calling I'd expect >>> view.settings().get("auto_complete_selector")
'( meta.tag | meta.embedded.directive ) - comment'
>>> view.settings().get("auto_complete_triggers")
[{'characters': '<', 'selector': 'text.html, text.xml'}, {'rhs_empty': True, 'selector': 'punctuation.accessor'}] Listed syntaxes seem unrelated. Their code doesn't contain hints and I can't reproduce the issue, if they are installed. You could try to log commands, to see whether anything is triggering >>> sublime.log_commands() Trying that I've not seen any command when typing |
Sorry, my settings match yours - forgot I had modified them trying to resolve the issue. Logging commands doesn't show any commands being fired when the auto-complete window shows up. So weird. 🙃 |
Indeed. Blade is just inherits from ST's PHP and HTML re-using most syntax stuff and the html completion plugin. It extends core syntaxes in the same way as Vue and other packages. Did you try to setup a completely vanilla ST with only Blade installed? Does it happen then, too? |
I have been able to narrow it down to something within Livewire 3's Does the Blade plugin attempt to do anything intelligent based on the Blade declarations / components in other files in the application? |
This package provide plain syntax definitions and a handful of completions. There's no plugin or any other kind of black magic provided. |
Sometimes when closing an HTML tag, I am prompted for tax expansion unexpectedly. This does not happen on Sublime's HTML syntax - only when using the HTML (Blade) syntax. It seems related to putting colons in attributes and then closing the tag.
Any help solving this extremely appreciated.
Below is a minimal HTML snippet to reproduce the problem.
The text was updated successfully, but these errors were encountered: