Sublime Forum

Annoying Autocomplete C++

#1

Hello, I am actually very annoyed after the recent update as I am getting lame auto completes when writing code in C++.
So what actually is happening I generally used TAB to insert spaces in my code earlier, but now what is happening is that as I press TAB it gives me some lame suggestions, and then I have to press left or right to remove that.
It gives me suggestions even in a new empty line which is very annoying.

!

This here above is a result of me just pressing the tab multiple time. What I needed was I should get 4 spaces with every tab in my current line instead it just shows me some suggestion and then on pressing the tab again it selects that suggestion.

As a programmer, I just need that I should get suggestions for auto-completing my variables or something else in my code and not there.
So basically I think I need only auto-complete and not any suggestion from the sublime text.
How to do this??
Kindly help me, this has made using sublime very difficult for me.

3 Likes

#2

I seem not able to reproduce this in safe mode.
https://www.sublimetext.com/docs/safe_mode.html

If you can’t either, it’s likely a plugin behavior.

0 Likes

#3

Ok I’ll also try it int safe mode for once.But if it can’t be reproduced does that mean there is no solution to this???

0 Likes

#4

That means you would have to find out which plugin causes that first.

0 Likes

#5

Ohh ok,so where do I find the plugins?? Are these the packages I have installed or something else??

0 Likes

#6

plugin = package. yes.

0 Likes

#7


These are the packages that I have installed. Can you tell me which one of these can cause the problem? I am suspecting the kite plugin to be the one causing the issue.

0 Likes

#8

I can’t tell you. You would have to do some experiments by yourself by disabled them one by one.

0 Likes

#9

Ok,thank you so much.

0 Likes

#10

Thanks Kite was the one causing problems,removed it permanently.Thank you so much for the help.

0 Likes

#11

If you need that package, you may report an issue to the maintainer. Maybe they will fix that.

0 Likes

#12

Actually, I think the problem was that it was installed as a third-party software that I installed explicitly and it had support from sublime therefore it was working. It was not a plugin that I installed from sublime package library.

0 Likes

#13

I don’t have Kite but I have the same issue.
My plugins:

Emmet
Material Theme
Sidebar Enhancement
Advanced New File
Git Gutter
Bracket Highlighter
Auto File Name
Color Highlighter
Color Highlight
Sublime Linter
LSP
SublimeOnSaveBuild
SASS & SassBuild
Terminus
Origami
HyperHelp
SublimeCodeIntel

I am more inclined to see it as a ST4 issue, maybe a default setting.
Never saw a code-complete as aggressive as this one. :sleepy:

EDIT

In my case it seems to be SublimeCodeIntel that is spraying me with unwanted “intelligence” . . .

0 Likes

#14

I would try disabling SublimeCodeIntel and see what that does. Various other people have made mention of it polluting the symbol list.

LSP is probably a better fit for enhancing completion and code intelligence than SublimeCodeIntel is.

2 Likes

#15

Yeah - that’s the culprit.
Taken out.

0 Likes