jupyterlab-contrib / jupyterlab_code_formatter

A JupyterLab plugin to facilitate invocation of code formatters.
https://jupyterlab-code-formatter.readthedocs.io/
MIT License
851 stars 55 forks source link

URL to show formatters does not work #239

Closed michaelaye closed 2 years ago

michaelaye commented 2 years ago

Checklist prior to opening an issue

Describe the bug The docs say:

http://localhost:8888/jupyterlab_code_formatter/formatters

would show a list of supported formatters.

My server runs on port 8901, so I tried:

http://localhost:xxxx/jupyterlab_code_formatter/formatters

which gives an ERR_CONNECTION_RESET, and (note the https !):

https://localhost:xxxx/jupyterlab_code_formatter/formatters

which gives an HTTP ERROR 422.

Diagnostic commands Please attach the output of the following commands (please format them properly)

Other labextensions (built into JupyterLab) app dir: /home/maye/miniconda3/envs/py310/share/jupyter/lab

- `jupyter serverextension list`

❯ jupyter serverextension list Config option kernel_spec_manager_class not recognized by ListServerExtensionsApp. config dir: /home/maye/miniconda3/envs/py310/etc/jupyter dask_labextension enabled

ryantam626 commented 2 years ago

Sorry for the late reply, was extremely burnt out and just switched off.

Yes this was an oversight on my part while implementing over features, I will fix this in the coming days - thanks for flagging!

ryantam626 commented 2 years ago

Now fixed! Thanks again for flagging!

Tested with 1.4.11 and http://localhost:8888/jupyterlab_code_formatter/formatters?bypassVersionCheck=1