дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 03:05:40 +02:00
* fix(lsp): resolve newly installed Python packages without a restart Packages installed into an excluded .venv (uv add, uv pip install) never reached the Python language servers: the watcher reports changes in excluded folders only as excluded_dirs, and didChangeWatchedFiles forwarded nothing but the server's own source files. basedpyright kept its failed import resolution until restarted. Language servers get a watched-files list of globs. Files matching it, and excluded folders matching it, are forwarded too; the Python servers watch their configuration and site-packages. * fix(lsp): let servers register the files they watch Clients now support dynamic registration of workspace/didChangeWatchedFiles, with relative patterns. Changes on disk go to each server as its registered watchers match them, including folders in excluded trees (a package installed into .venv, go.mod rewritten by go get). Folders outside the project that relative patterns name (a virtualenv elsewhere, a path dependency) get their own watchers. Servers that register nothing keep hearing of their languages' files. Registrations sent right after initialized are no longer dropped while the server is still being marked ready. Replaces the per-server watched-files list.