Skip to content

Disable auto-complete inside comments #456

Open
@ufuksarp

Description

@ufuksarp

Sublime Text Version

Sublime Text 3 (Build 3211)

Rust Enhanced Version

v2.23.0

Auto-complete shouldn't trigger inside code blocks and lines. This causes mistakes. For example entering the first suggestion from the auto-complete with (.) and Enter instead of creating a new line.

Using this inside Rust Enhanced settings fixed this issue for me:

"auto_complete_triggers":
	[
		{
			"characters": ".:",
			"selector": "source.rust - comment"
		}
	]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions