Sublime Forum

Unknown suggestions

#1

image

Except the snippets and variables in file, there are many unknown words in suggestions. (current file is python)

  1. What is it?
  2. How to remove it.
  3. How to sort the suggestions? like "editor.snippetSuggestions": "top", in vscode.
0 Likes

#2

Symbols from other files in your project


  1. How to remove it.

Probably,

	// Auto complete will used indexed data to provide completions from other
	// files when this is enabled
	"auto_complete_use_index": true,

  1. How to sort the suggestions? like "editor.snippetSuggestions": "top", in vscode.

The only thing related to sorting is

	// Controls how the auto complete results are reordered when typing:
	// - "none" will fully reorder the results according to how well the
	//   completion matches the typed text.
	// - "some" will partially reorder the results, taking into account how
	//   well the completion matches whats typed, and likelihood of the
	//   completion.
	// - "strict" will never reorder the results.
	"auto_complete_preserve_order": "some",

but it doesn’t look like what you want.

0 Likes

#3

Thanks, the “auto_complete_use_index” set to “false” works for me.
And there’s not many unknown things, so the need for sorting is not so strong.

0 Likes