Skip to content

Commit 92314d6

Browse files
committed
reverse the eye open/closed icons for hiding snippets
1 parent 2db5a35 commit 92314d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/snippets/browser/insertSnippet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,13 @@ class InsertSnippetAction extends EditorAction {
185185
const isEnabled = snippetService.isEnabled(snippet);
186186
if (isEnabled) {
187187
pick.buttons = [{
188-
iconClass: Codicon.eye.classNames,
188+
iconClass: Codicon.eyeClosed.classNames,
189189
tooltip: nls.localize('disableSnippet', 'Hide from IntelliSense')
190190
}];
191191
} else {
192192
pick.description = nls.localize('isDisabled', "(hidden from IntelliSense)");
193193
pick.buttons = [{
194-
iconClass: Codicon.eyeClosed.classNames,
194+
iconClass: Codicon.eye.classNames,
195195
tooltip: nls.localize('enable.snippet', 'Show in IntelliSense')
196196
}];
197197
}

0 commit comments

Comments
 (0)