Skip to content

Commit

Permalink
Restrict 'Show AST' menu to supported files only (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
chouzz committed Aug 1, 2023
1 parent d0653e6 commit cee0726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
},
{
"command": "clangd.ast",
"when": "clangd.ast.supported"
"when": "(resourceLangId == c || resourceLangId == cpp || resourceLangId == cuda-cpp || resourceLangId == objective-c || resourceLangId == objective-cpp) && clangd.ast.supported"
}
],
"view/title": [
Expand Down

0 comments on commit cee0726

Please sign in to comment.