Skip to content

Extension 'standard ruby' is configured as formatter but it cannot format 'Ruby'-files #2

@Chris24680

Description

@Chris24680

Hi,
I'm getting this odd error after installing the vscode-standard-ruby extension. Extension 'standard ruby' is configured as formatter but it cannot format 'Ruby'-files

image
I'm using the following versions:

standardrb 1.24.3
VSCode 1.75.1

Here is my settings.json:

{
  "workbench.colorTheme": "Default Dark+",
  "security.workspace.trust.untrustedFiles": "open",
  "ruby.useLanguageServer": true,
  "tailwindCSS.includeLanguages": {
    "javascript": "javascript",
    "html": "html",
    "erb": "html"
  },
  "tailwindCSS.emmetCompletions": true,
  "files.associations": {
    "*.html.erb": "erb"
  },
  "git.autofetch": true,
  "[ruby]": {
    
    "editor.tabSize": 2,
    "editor.defaultFormatter": "testdouble.vscode-standard-ruby"
  },
  "emmet.includeLanguages": {
    "erb": "html"
  },
  "emmet.triggerExpansionOnTab": true,
  "editor.inlineSuggest.enabled": true,
  "git.confirmSync": false,
  "ruby.format": false,
  "gitlens.views.branches.branches.layout": "list",
  "editor.defaultFormatter": "testdouble.vscode-standard-ruby",
  "editor.formatOnSave": true,
  "terminal.integrated.defaultProfile.linux": "zsh",
  "[jsonc]": {
    "editor.defaultFormatter": "vscode.json-language-features"
  }
}

And here is a list of extensions I have installed:

adpyke.vscode-sql-formatter
betterplace.rails-edit-credentials
bradlc.vscode-tailwindcss
bung87.rails
bung87.vscode-gemfile
castwide.solargraph
eamodio.gitlens
GitHub.copilot
gurgeous.bust-a-gem
Gusto.packwerk-vscode
KoichiSasada.vscode-rdbg
ms-azuretools.vscode-docker
ninoseki.vscode-gem-lens
PascalReitermann93.vscode-yaml-sort
rebornix.ruby
redhat.vscode-xml
redhat.vscode-yaml
sianglim.slim
testdouble.vscode-standard-ruby
wingrunr21.vscode-ruby
yzhang.markdown-all-in-one

Happy to provide more detail if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions