Sublime Forum

Completions File disables File-Content completion

#1

Hi,

I have added a .sublime-completions file to my Sublime 2 plugin. The format is like:

{
	"scope": "source.maxscript",
	"completions": 
		"+=",
		"3D_Studio",
		"3D_Studio_Shape",
		"3D_StudioExporterPlugin",
		...
	}
}

I now get nice API commands completion. However, variable names etc. that are part of the script I am editing are no longer autocompleted.

Can I use both at the same time and define which takes precedence?

Cheers

0 Likes

#2

Variable name completions from the contents of the current buffer should not go away from adding a .sublime-completions file. This is likely the work of a package you have installed.
Try if removing the newly added file makes it work again – it should not.

0 Likes

#3

[quote=“FichteFoll”]Variable name completions from the contents of the current buffer should not go away from adding a .sublime-completions file. This is likely the work of a package you have installed.
Try if removing the newly added file makes it work again – it should not.[/quote]

Hi FichteFoll - I have the same problem, and removing the sublime-completions file fixes it. Any ideas how to further investigate? On ST3

0 Likes

#4

Thanks for the reply. Removing the file does indeed fix it though :confused:

0 Likes