Replies: 1 comment
-
| 
         Here's my config: {
    // Formatting
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "editor.formatOnSave": true,
    "editor.formatOnPaste": true,
    "editor.insertSpaces": true,
    "editor.tabSize": 4
} | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋
I've got a project with
prettier-plugin-svelteinstalled to format.sveltefiles. It works perfectly in the terminal.However, with prettier-vscode, cmd+p 'Format Document' produces

The configure button on this modal prompts me to use the svelte vscode plugin, which doesn't format using Prettier.
Is there a way to configure prettier-vscode to tell vscode that it supports a particular file extension?
Thanks 😄
Beta Was this translation helpful? Give feedback.
All reactions