Formatter hangs on VSCode 1.42.0
See original GitHub issueI get this everytime I try to save an Elixir file:
Running Save Participants for 'test/users/notifications/mailer/some_mailer_test.exs': Formatting
It doesn’t even save the file until i Cancel
the message above. Once I cancelled it, it also formats the file. However, it’s a really annoying behaviour.
It works fine if you downgrade VSCode to 1.41 or less.
Am I the only one with this problem on VSCode 1.42.0 ?
I’ve seen there are other Extensions with this problem, here’s a PR from another project that explains and fixes it: https://github.com/zxh0/vscode-proto3/pull/73
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:26 (7 by maintainers)
Top Results From Across the Web
Visual Studio Code 1.42 is changing <br> to <br /> on format
I made the settings.json file look like this: "editor.defaultFormatter": "vscode.html-language-features", "[html]": { "editor.
Read more >January 2020 (version 1.42) - Visual Studio Code
VS Code allows extensions to change a file's contents when saving files to disk. Features like Format on Save and Fix on Save...
Read more >Basic Editing in Visual Studio Code
Learn about the basic editing features of Visual Studio Code. Search, multiple selection, code formatting.
Read more >Tree View API - Visual Studio Code
"devDependencies": { "@types/node": "^10.12.21", "@types/vscode": "^1.42.0", "typescript": "^3.5.1", "tslint": "^5.12.1" } }.
Read more >April 2022 (version 1.67) - Visual Studio Code
The language status item now shows formatter conflicts - those happen when multiple formatters for a language are installed but none of them...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had this same issue and realized it was because I had set my default formatter to Prettier in my user settings. So prettier was trying to format my elixir files instead of vscode-elixir-ls.
Okay, well if you figure it out please report back! Best of luck 😃