prettier-vscode icon indicating copy to clipboard operation
prettier-vscode copied to clipboard

Formatting not applied to Apex class files

Open Aaru-Jr opened this issue 1 year ago • 0 comments
trafficstars

Type: Bug

Files with *.cls type were not formatted (indentation is applied but color is not applied which makes it harder to read and work). I have tried

  • uninstall & re-install the extension
  • Reload the vs code
  • Enable formattng using Prettier
  • Added file Associations with item as '*.cls' & value as 'Apex' in Preferences>Open Settings (UI) Note: I'm using the latest version of the extension Kindly assit.

Extension version: 11.0.0 VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z) OS version: Windows_NT x64 10.0.22621 Modes: Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-1265U (12 x 2688)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.69GB (1.25GB free)
Process Argv --crash-reporter-id 2f6f966e-f034-4acb-97d1-d9f67b894cd2
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-22.04
OS Linux x64 5.15.153.1-microsoft-standard-WSL2
CPUs 12th Gen Intel(R) Core(TM) i7-1265U (12 x 0)
Memory (System) 7.61GB (5.48GB free)
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
9c06g630:31013171
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
flightc:31134773
wkspc-onlycs-t:31132770
nativeloc1:31134641
wkspc-ranged-c:31125598
pme_test_t:31118333
fje88620:31121564
iacca1:31138162
cc771715:31140165

Aaru-Jr avatar Sep 20 '24 05:09 Aaru-Jr