I just installed SublimeText 4 and I saw that Snippets are not showing so for example a have a snippet which should work when I just write “pre” and hit Tab, but the first suggestion is “prevent (abc)” and the snippet is showing for 1 millisecond and it disappears. When I press Tab it just writes “prevent” instead of the snippet. Is there a way to show the snippets for a first suggestion every time?
Sublime Text 4 Auto complete box is not showing (also in safe mode)
Safe mode lets you confirm whether it’s a problem with your specific setup or Sublime Text in general: https://www.sublimetext.com/docs/safe_mode.html
Well, I tried in safe mode, but I don’t have my snippets in safe mode and there is only one snippet and it is working fine.
You can add one of your custom snippets in safe mode, it only gets cleared when safe mode is started.
I think I got the problem it is because I have tabnine and they show “in front” of the default snippets from sublime text. Do you know how I can fix that?
I don’t, other than removing tabnine of course (You may find the new auto-complete to be very similar to tabnine).
Yes, I removed, but it seems this is not the package that is showing those results. But now I can’t figure out which one it is as I have around 30 packages
I delete like 10 packages and the problem was this package: Sublime Code Intelligence, but now I don’t get any suggestions from Sublime Text 4 when I write something
Now I have to hit TAB in order for the autocomplete box to appear. How i can fix that?
And I have this option available:
// Enable auto complete to be triggered automatically when typing.
"auto_complete": true,
Is there a way to show the auto complete tab without pressing the TAB button and when I just hit a key to automatically show the auto completing box?
Is there a way to show the auto complete tab without pressing the TAB button and when I just hit a key to automatically show the auto completing box?
This is the default behavior. You likely have a setting or package overriding it.
Well I only have this in the settings:
{
"color_scheme": "Monokai.sublime-color-scheme",
"font_size": 11,
"theme": "Adaptive.sublime-theme",
}
Is there a way to know what is doing this?
I suggest temporarily ignoring packages using the "ignored_packages"
setting to find out which one is the culprit.
I deleted more then 30 packages and I ignored the renaming packages:
{
"color_scheme": "Monokai.sublime-color-scheme",
"font_size": 11,
"theme": "Adaptive.sublime-theme",
"ignored_packages":
[
"Vintage",
"AutoFoldCode",
"Better Bookmarks",
"SFTP",
"SideBarEnhancements",
],
}
And still the functionality it is NOT working.
No.
I changed the text file to PHP and it doesn’t work.
EDIT: It is the same behavior when i hit TAB it is working, but it is not showing when I hit any letter.
Is there a way to debug what is going on? I don’t know if that helps, but I had this option disabled it in ST3 with the line:
“auto_complete”: false,
But I have removed now so it should work.