Skip to content

Stop forcing Sublime Text to show the auto completion when between quotes "" #106

Description

@evandrocoan

I set the setting "afn_use_keybinding" to true:

	// If you don't like having filenames flood the default autocompletions,
	// you can set the plugin to only activate with a keybinding.
	// If you set this to true, add the following to your user-keybindings:
	//
	// { "keys": ["whatever"], "command": "afn_show_filenames",
	//    "context":
	//  [
	//      { "key": "afn_use_keybinding", "operator": "equal", "operand": true }
	//  ]
	// }
	//
	"afn_use_keybinding": true

However every time I put the cursor between quotes the autocompletion pops up:

2

On my settings there is only this set for auto_complete_with_fields:

	"autoIndent": true,
	"auto_complete": true,
	"auto_complete_cycle": true,
	"auto_complete_delay": 0,
	"auto_complete_selector": "source, text",
	"auto_complete_triggers":
	[
		{
			"characters": "<",
			"selector": "text.html"
		},
		{
			"characters": "\\",
			"selector": "text.tex.latex"
		}
	],
	"auto_complete_with_fields": true,

I am on Sublime Text build 3114, windows 10.

This is what the Sublime Text console outputs when I ran the animated gif:

chr evt: " (0x22)
chr evt: " (0x22)
key evt: left
command: move {"by": "characters", "forward": false}
key evt: left
command: move {"by": "characters", "forward": false}
key evt: right
command: move {"by": "characters", "forward": true}
key evt: left
command: move {"by": "characters", "forward": false}
key evt: right
command: move {"by": "characters", "forward": true}
key evt: right
command: move {"by": "characters", "forward": true}
key evt: left
command: move {"by": "characters", "forward": false}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions