Add a pyrightconfig.json which limits the search paths of pyright/pylance (the default VSCode Python language server) to just the tools directory, excluding gcmole's bootstrap directory. This allows pyright/pylance to ignore all the other V8 files, which makes the language server much cheaper to run. In particular, it makes symbol lookup much cheaper, which in turn allows us to have functioning C++ symbol lookup without needing to turn the python language integration off. Change-Id: I0e5d66cf9a044174f2f4348efdcc39462ac724e1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5975439 Auto-Submit: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#96885}
5 lines
68 B
JSON
5 lines
68 B
JSON
{
|
|
"include": ["tools"],
|
|
"exclude": ["tools/gcmole/bootstrap"]
|
|
}
|