From 314fb87d983de2f7d36673cd569b55266d7340d9 Mon Sep 17 00:00:00 2001 From: DeathAxe Date: Sat, 23 Jan 2021 10:20:41 +0100 Subject: [PATCH 1/3] Themes: Remove duplicate completion --- .../Completions/Elements (in-string).sublime-completions | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions b/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions index 4e3425a0..03591909 100644 --- a/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions +++ b/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions @@ -403,10 +403,6 @@ "trigger": "auto_complete_description_label", "kind": ["snippet", "e", "Element"], }, - { - "trigger": "auto_complete_detail_pane", - "kind": ["snippet", "e", "Element"], - }, // overlay_control specializations { From 2899f836ad7001571cb93d7d072218d4c85fedd0 Mon Sep 17 00:00:00 2001 From: DeathAxe Date: Sat, 23 Jan 2021 10:33:10 +0100 Subject: [PATCH 2/3] Themes: Add completion for colorish quick panel symbols As of ST 4095 `--redish`, etc. colors may be assigned to quick panel items (e.g. ListInputHandlers) by specifying `sublime.KIND_ID_COLOR_...` Colors of those symbols may be tweaked by themes using the classes added by this commit. Note: The `details` field is used to provide a hint those classes have effect in quick panels only. --- .../Elements (in-string).sublime-completions | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions b/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions index 03591909..442781fb 100644 --- a/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions +++ b/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions @@ -467,5 +467,55 @@ "trigger": "kind_container kind_variable", "kind": ["snippet", "k", "kind type"], }, + { + "trigger": "kind_container kind_color_redish", + "kind": ["snippet", "k", "kind color"], + "details": "redish quick panel symbols", + }, + { + "trigger": "kind_container kind_color_orangish", + "kind": ["snippet", "k", "kind color"], + "details": "orangish quick panel symbols", + }, + { + "trigger": "kind_container kind_color_yellowish", + "kind": ["snippet", "k", "kind color"], + "details": "yellowish quick panel symbols", + }, + { + "trigger": "kind_container kind_color_greenish", + "kind": ["snippet", "k", "kind color"], + "details": "greenish quick panel symbols", + }, + { + "trigger": "kind_container kind_color_cyanish", + "kind": ["snippet", "k", "kind color"], + "details": "cyanish quick panel symbols", + }, + { + "trigger": "kind_container kind_color_bluish", + "kind": ["snippet", "k", "kind color"], + "details": "bluish quick panel symbols", + }, + { + "trigger": "kind_container kind_color_purplish", + "kind": ["snippet", "k", "kind color"], + "details": "purplish quick panel symbols", + }, + { + "trigger": "kind_container kind_color_pinkish", + "kind": ["snippet", "k", "kind color"], + "details": "pinkish quick panel symbols", + }, + { + "trigger": "kind_container kind_color_dark", + "kind": ["snippet", "k", "kind color"], + "details": "dark quick panel symbols", + }, + { + "trigger": "kind_container kind_color_light", + "kind": ["snippet", "k", "kind color"], + "details": "light quick panel symbols", + }, ] } From 4bd201ed1f8a1af63f8d5539a02584d9997764dc Mon Sep 17 00:00:00 2001 From: DeathAxe Date: Sat, 23 Jan 2021 10:46:28 +0100 Subject: [PATCH 3/3] Themes: Remove obsolete completion auto_complete_details_pane uses minihtml to provide "rich" font styling. The dedicated `auto_complete_description_label` is no longer present. Haven't investigated when it was removed, but it may be a while since then. --- .../Completions/Elements (in-string).sublime-completions | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions b/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions index 442781fb..ac679786 100644 --- a/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions +++ b/Package/Sublime Text Theme/Completions/Elements (in-string).sublime-completions @@ -399,10 +399,6 @@ "trigger": "annotation_close_button", "kind": ["snippet", "e", "Element"], }, - { - "trigger": "auto_complete_description_label", - "kind": ["snippet", "e", "Element"], - }, // overlay_control specializations {