Prettier not working on VSCode
I have been using prettier for java on vs code from very long everything was working smoothly till yesterday and suddenly prettier stopped working for java.
I have tried every available resource on Youtube and Stack Overflow still didn't solve my issue, please help.
I tried from changing default formatter and format on save to settings.json still now working showing error - FormattingExtension 'Prettier - Code formatter' is configured as formatter but it cannot format 'Java'-files
Normally this happens when you have another extension overlapping the prettier settings. Disabling other extensions normally solves the problem. Reinstalling visual studio can be your best option, but you have to remove all remaining settings, or it will just be the same.
You can always install directly in terminal using: https://prettier.io/docs/en/install.html
Confirm on extensions that prettier is enabled. Update Visual Studio and Windows.
Why is my vscode ui being like this? I tried completely uninstalling and installing vscode but the issue remains same. 😒😔
Tried completely uninstalling and installing but issue remains same
Try to change theme color of your vsCode editor. And check that by mistake any unknown extension downloaded by you or not.
Other side there might be problem in your display of computer check that onece.
There is one way also,
You can completely delete old vscode version files.
How can I reset visual studio to the default setting?
Currently it looks like this
But I would like to leave it like this, which is how it was when I installed it.
With this default menu
Do a clean install of it. Uninstall and re-run the installer.
why these extensions are disabled by vscode? I tried enabling them but got no success. what to do?
Got this problem, after updating the vscode
So I have been using VS Code for a while now, and as of recently when I start up the program, within a couple minutes, my entire computer freezes. I have attempted re-installing it. I have made sure im on the latest update, and I have not recently installed any extensions in the days leading up to this issue.
It is consistently freezing though. Even after restarting my computer and re-installing the application. I have no clue what could be causing this but I really do enjoy VS Code and would like to not have to swap to something else.
Any help is of course greatly apprecaited. Thanks!
I got the same issue in my Ubuntu 16.04.
I did switch off git.autorefresh in the Settings, then it works flawlessly and smoothly
If the problem keeps occurring, I guess an extension is causing the issue (must be).
Try to remove the extensions one by one or disable it in settings then test again. I got the same issue and its fixed after removing the git blame extension.
I had the same problem and adding these settings to Visual Studio Code the PC freezing doesn't happen anymore:
Open VS Code settings (press F1 -> "Preferences: Open Settings
(JSON)";
Add these json properties at the end of your settings
"search.searchOnType": true,
"search.followSymlinks": false,
"search.collapseResults": "auto",
"search.maxResults": 2000,
Save settings.
It freezes a lot too
if you check task manager without vs code it should okay but after you open vs code and try it its the disk has like 100% or something that's why it's freezing