Sublime Forum

Sublime Text 4 Auto complete box is not showing (also in safe mode)

#1

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?

0 Likes

#2

Does this happen in safe mode?

0 Likes

#3

No. Normal mode. (I don’t even know how to activate safe mode)

0 Likes

#4

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

0 Likes

#5

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.

0 Likes

#6

You can add one of your custom snippets in safe mode, it only gets cleared when safe mode is started.

0 Likes

#7

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?

0 Likes

#8

I don’t, other than removing tabnine of course (You may find the new auto-complete to be very similar to tabnine).

0 Likes

#9

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 :confused:

0 Likes

#10

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 :confused:

0 Likes

#11

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,
0 Likes

#12

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? :confused:

0 Likes

#13

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.

0 Likes

#14

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?

0 Likes

#15

I suggest temporarily ignoring packages using the "ignored_packages" setting to find out which one is the culprit.

0 Likes

#16

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. :confused:

0 Likes

#17

Does it work in safe mode?

0 Likes

#18

No. :confused:
I changed the text file to PHP and it doesn’t work. :confused:

EDIT: It is the same behavior when i hit TAB it is working, but it is not showing when I hit any letter.

0 Likes

#19

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. :confused:

0 Likes

#20

Can you perhaps share a video of it not working? Are you using a IME perhaps?

0 Likes