Sublime Forum

SOLVED: autocompletion with blade files and quoted strings

#1

My auto complete settings are:

"auto_complete_selector": "source, text - (comment, string.quoted)"

This gets me everything I want, with one exception. In Blade and PHP files, I am getting auto completion inside quoted strings, which is really frustrating.
If I use this:

"auto_complete_selector": "source - (comment, string.quoted)"

The PHP files work perfectly, but I then get no autocompletion for anything in Blade.

Is there a best of all worlds setting?

SOLVED: for anyone who should happen upon this, to get what I wanted I enclosed source,text in (), like so:

"auto_complete_selector": "(source, text) - (comment, string.quoted)"
0 Likes

#2

Also make sure that HTML5 package is disabled (github.com/mrmartineau/HTML5) because of incompatibility

0 Likes