Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL files formatting fails with error: `There is no formatter for 'plsql' files installed.' #20

Open
olttwa opened this issue Jul 18, 2020 · 4 comments

Comments

@olttwa
Copy link

olttwa commented Jul 18, 2020

VS Code version: 1.47.0

Configuration:

"sql-formatter.dialect": "pl/sql",
"sql-formatter.uppercase": true,
"sql-formatter.linesBetweenQueries": 2,

I've installed the sql-formatter package using npm before installing this extension.

Any help would be appreciated. Thanks.

@dobraccoon
Copy link

+1, Same problem(

@mlpiller
Copy link

mlpiller commented Sep 2, 2020

+1, Same problem

@g5becks
Copy link

g5becks commented Sep 30, 2020

bottom right hand corner in the status-bar, make sure you check that the correct language is being detected by vscode. You can click where it says plsql and change it to sql. You can also set this extension as the default formatter for plsql files in your settings.json as well.

@masebu
Copy link

masebu commented May 28, 2021

You can also set this extension as the default formatter for plsql files in your settings.json as well.

Did you try it ? I've set

"[plsql]": {
    "editor.defaultFormatter": "adpyke.vscode-sql-formatter"
  }

but I still get the message.
If I've not done a blunder, could it be because the extension has the activation event: onLanguage:sql ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants