Sublime Forum

(Solved) ST3: Auto complete not working with Javascript

#1

Hello!

For me, in Sublime Text 3, auto completion does not work in Javascript files.

For example, if I type:

this.myVar = 5;
this.m

… I can’t get any auto completion on that second line, even if I hit control-space.

However, if I add a quotation:

this.myVar = 5;
this.'m

… then it works fine.

Any thoughts? Thanks!

0 Likes

#2

I think it may have more to do with number of chars after the dot than the magic of using quotes :smile: Doesn’t “this.my” open the auto complete popup?
Also, even if the popup doesn’t show, you should still get the auto complete by pressing tab after “this.m”.

0 Likes

#3

Nope, no popup without the quote, even when I try to trigger it with control-space. (Tab triggers Emmet, which I tried disabling as well.)

0 Likes

#4

To clarify, I do get a popup, but it only has my AngularJs completions. It doesn’t have anything from within the current file (or anything else).

0 Likes

#5

Solved.

Well what do you know. It was the AngularJs completions plugin. I disabled that plugin and it works now. Thanks for the help!

0 Likes

#6

What are the basic use of triggers in it? I guess it may favorably works for the synchronization…
:smile: :smile:

0 Likes