Skip to content

Unable to find default formatters to use when openning a json file #363

Open
@tqa236

Description

@tqa236

Description

When I open a json file (it's a config file), with the built in Editor

image

I get the error below when trying to save the json file (it works perfectly with notebooks)

Jupyterlab Code Formatter Error

Unable to find default formatters to use, please file an issue on GitHub.

image

Reproduce

  1. Right click on a json file
  2. Click on 'Open with'
  3. Click on 'Editor'
  4. See error 'Unable to find default formatters to use...'

Expected behavior

No error, and nothing happens, as jupyterlab_code_formatter doesn't support formatting json

Context

  • Python package version: 3.10.12
  • Extension version: 3.0.2
  • Operating System and its version: Windows 10 running WSL
  • Browser and its version: Chrome Version 130.0.6723.92 (Official Build) (64-bit)
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Web Browser Output
Paste the output from your browser web console here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions