Codesandbox-client: Disabling prettier

Created on 24 Dec 2018  路  5Comments  路  Source: codesandbox/codesandbox-client

馃寛 Feature

OPTION TO COMPLETELY DISABLE PRETTIER.

What is this feature?
Please make it easy to completely disable prettier. I don't see a way to get rid of it in preferences under editor

image

or under prettier settings

image

It can become super annoying.

How the feature should work?
NO PRETTIER.

Most helpful comment

You can also turn on "Prettify on Save" in VSCode settings (CMD+,). I'll close this one, we'll make it more clear for VSCode once we fully made the move (we have an issue open for that).

image

All 5 comments

Hey @babakness , it's already there, in Preferences > Editor > Prettify On Save:

image

What version of the client do you have? You can see it in the bottom of the sidebar, current one is PROD-1545599226-24458ae4.

I'm on the same build, the problem seems to be having the experimental "Use VS Code in the browser" setting turned on under Experiments. Turning it off and the problem is resolved--you can then disable prettier. Hopefully the ability to turn off forced-prettier is maintained in the future VS Code editor as well.

image

You can also turn on "Prettify on Save" in VSCode settings (CMD+,). I'll close this one, we'll make it more clear for VSCode once we fully made the move (we have an issue open for that).

image

For anyone stumbling upon this

You just need these three super fast steps

  1. type user settings in a command pallete Ctrl+shift+P
  2. type save in the search box.
  3. Disable Editor: Format On Save

image

You can still format manually later, or you can format code selection. You can also save without formatting right away, without changing settings. ctrl+shift+p + format

image

disabling prettier #1048

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlessandroAnnini picture AlessandroAnnini  路  25Comments

MichMich picture MichMich  路  35Comments

loilo picture loilo  路  22Comments

faceyspacey picture faceyspacey  路  44Comments

Telokis picture Telokis  路  24Comments