question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

prettier doesn't format any files, when vscode installed by .rpm/yum

See original GitHub issue

image

gets error when try to format any js/ts/json file in latest version vscode

image

i think that’s bug is from sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

other extensions for vscode works fine, so hardly a problem in the vscode

but how can i fix that? also when i install vscode by .deb package all works fine

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
ntottencommented, Jun 21, 2021

Changes from 7.0.0 were reverted and a new version 7.1.0 was published.

0reactions
github-actions[bot]commented, Sep 20, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does Prettier not format code in VS Code? - Stack Overflow
Select File -> Preferences -> Settings ( Ctrl + comma ) and search form formatter; Set Prettiers as Default formatter. enter image ...
Read more >
Format on Save (prettier) stopped working with latest update
I have prettier installed and configured to be the default formatter for typescript-files and format on save works for me. { "editor.
Read more >
How To Format Code with Prettier in Visual Studio Code
Step 1 — Using the Format Document Command. With the Prettier extension installed, you can now leverage it to format your code. To...
Read more >
How to configure Prettier and VSCode - Gleb Bahmutov
This blog post shows how to configure Prettier to work from command line, from VSCode and from Git hooks. You can find the...
Read more >
I finally learned how to setup Prettier & VSCode - YouTube
I show you how to setup Prettier with Visual Studio Code to automatically format your code when saving a file. Learn Programming (Skillshare ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found