rust-lang/rust-enhanced

Disable auto-complete inside comments

ufuksarp opened this issue · 0 comments

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"
		}
	]