Sublime Forum

SOLVED: Strange behaviour with custom completions file

#1

I created a custom sublime-completions file that is to be triggered only in JavaScript files (“scope”: “source.js”). The problem is, it seems to work just fine, but only until I save the file I am working on.

Any help would be appreciated.

EDIT: I am using Sublime Text 3 Dev Channel, Build 3095

Steps to reproduce error:

  1. Create a new file

  2. Set syntax to JavaScript

  3. Start typing trigger text for completions (everything is fine to this point, as you can see in the first screenshot below)

  4. Save the file

  5. Start typing trigger text for completions and it no longer works as seen in the second image below.

Before Save:


After Save:

0 Likes

#2

Anyone?

0 Likes

#3

It was the AutoFilename plugin. I had source.js set as a valid scope and for some reason it was squashing the normal auto completion functionality.

0 Likes