Closed dwhenson closed 3 years ago
My first guess would be the "autocompletion" provided by Emmet confuses you. Or the tab key is hijacked by Emmet.
Good first guess!! Disabling Emmet seems to solve the completion problem. I’m still getting duplicate suggestions though, with other LSPs seem to have suppressed.
You can set "only_show_lsp_completions": true
in Preferences/User/LSP.sublime-settings if you don't want word completions from ST. Or, if you're using ST4, set "inhibit_word_completions": true
.
Thanks. I had those settings already included and the seem to work for other LSP languages but not CSS. Where it still shows ST suggestions.
I just tried disabling the CSS3 package and it has now improved as ST now only seems to suggest text (I.e with the “abc”) label at the end of the suggestion.
I’d still prefer it not to suggest that though. But this is already a nice improvement.
I’m still getting duplicate suggestions though, with other LSPs seem to have suppressed.
You can remove the duplicated completions by doing these steps:
*.css
file,Preferences > Settings - Syntax Specific
, that will open CSS.sublime-settings
CSS.sublime-settings
:
// These settings override both User and Default settings for the CSS syntax
{
"disable_default_completions": true
}
After that, you wont get duplicated completions.
If you still have an issue with this feel free to reopen it.
Apologies another smaller issue...
When trying to autocomplete some values the suggestions do not match what is completed.
Examples include 'flex-direction' completing to 'float: dirc' and 'flex-basis' completing to 'float: b'.
Sublime text's suggestions are also not suppressed as in other LSPs.
Please let me know if you need more details or information on this.