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

Duplicated settings #319

Open
Erimus-Koo opened this issue Jul 5, 2023 · 3 comments
Open

Duplicated settings #319

Erimus-Koo opened this issue Jul 5, 2023 · 3 comments

Comments

@Erimus-Koo
Copy link

I've installed from the Extension Manager and pip.

Now, I have 2 settings tabs of "Jupyterlab Code Formatter".

In JSON editing mode, one of it starts with

{
    // Jupyterlab Code Formatter
    // jupyterlab_code_formatter:settings
    // Jupyterlab Code Formatter settings.
    // ***********************************

The other one is

{
    // Jupyterlab Code Formatter
    // @ryantam626/jupyterlab_code_formatter:settings
    // Jupyterlab Code Formatter settings.
    // **********************************************

But in Extension Manager, there's only one of them.
image

My Question

  1. How can I remove one from the settings?
  2. Which one is in the Extension Manager? (Is it the one actually works, and the other does not?)
  3. Then which one should I remove from settings?
@ryantam626
Copy link
Owner

Hmm, I have some ideas of how this might have happened, but the details are not useful for you so I won't bore you with it.

@ryantam626/jupyterlab_code_formatter:settings came from an old implementation of the plugin, I have since completely reworked the plugin which uses jupyterlab_code_formatter:settings.

I would uninstall it from extension manager and also pip then install from pip only, please let me know how you get on with this if possible.

@Erimus-Koo
Copy link
Author

I want to do that too, I mean delete it from the extension manager, but there's not an uninstall button.

I've tried to install it again, then uninstall it. And the pip version is also uninstalled.

But the setting is still there. Maybe there's some problem with the extension manager? Can I directly delete something from a certain folder?

image

@Erimus-Koo
Copy link
Author

I found it!

image

After removing this folder, the duplicated setting disappeared.
The prev part is my pyenv environment folder and the share/jupyter/lab/schemas contains the remaining things.

BTW, I find this folder by jupyter --paths
image

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

2 participants