-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Improve auto complete triggers in for placeholders
Now they properly trigger after a dollar sign was inserted and also at the end of the string.
- Loading branch information
1 parent
0eec42e
commit f284e47
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
Package/Sublime Text Build System/Completions/Placeholder.sublime-completions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
Package/Sublime Text Build System/Sublime Text Build System.sublime-settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
{ | ||
"extensions": ["sublime-build"], | ||
"auto_complete_selector": "source.json - comment - string | meta.placeholder-name | meta.command-name | meta.main-key | keyword.other.block.end.placeholder", | ||
"auto_complete_selector": "source.json - comment - string | meta.placeholder-name | meta.command-name | meta.main-key | keyword.other.block.end.placeholder | punctuation.definition.placeholder-string.end.sublime-build", | ||
"auto_complete_triggers": [ | ||
{ "selector": "meta.mapping.key punctuation.definition.string.begin" }, | ||
{ "selector": "keyword.other.block.start.placeholder.sublime-build" }, | ||
{ "selector": "keyword.other.placeholder.dollar.placeholder.sublime-build" }, | ||
], | ||
} |