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

How to unimport or remove an imported folder? #70

Open
spookylukey opened this issue Mar 15, 2022 · 1 comment
Open

How to unimport or remove an imported folder? #70

spookylukey opened this issue Mar 15, 2022 · 1 comment

Comments

@spookylukey
Copy link

When prompted by pyright, I pressed "i" to import a folder X containing source code and many directories, which I didn't mean to. Now, whenever I run lsp-pyright (in a completely different project, with its own pyrightconfig.json), I get:
"Watching all the files in X would require adding watches to 2554 directories, so watching the repo may slow Emacs down. Do you want to watch all the files in X (y or n)"

I have to type "n" every time. Somehow this is being cached somewhere, but I can't figure out where. How can I clear things out or remove this? I don't just want to customize a variable, I want to get back to a clean slate.

Thanks.

@matzebond
Copy link

Does lsp-workspace-folders-remove help?

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