Format selection action is not available only on apex files #6630
Unanswered
LoganTann-pro
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm encountering an issue where the "Format Selection" action does not appear on Apex files, even though everything seems properly set up.
When I select a block of code in a .cls file and launch the command palette, the "Format selection" option is not available, only the "Format document" action is displayed.
However, the format selection is available on other files. Here is the result with a js file:
Package.json content :
prettierrc file :
VS Code action :
Prettier plugin and salesforce extension pack are properly configured.
Is this a known limitation or bug with the apex plugin ?
Beta Was this translation helpful? Give feedback.
All reactions