diff --git a/package.json b/package.json index 58114e2..6aaae5c 100644 --- a/package.json +++ b/package.json @@ -432,7 +432,7 @@ }, { "command": "wsSnippetsCmd.sortAllSnippets", - "when": "view == wsSnippetsExplorer", + "when": "view == wsSnippetsExplorer && snippets.workspaceState == fileAvailable", "group": "navigation@4" } ],