Heejae Chang

Results 464 comments of Heejae Chang

I believe you are hitting this issue (https://microsoft.github.io/pyright/#/import-resolution?id=editable-installs) unfortunately, currently we don't support the new dynamic setup behavior. you need to install using old legacy mode following legacy structure.

it is related to https://peps.python.org/pep-0660/ as @debonte labeled this issue. Basically, `setuptool` used to use a static way (file path in pth) to indicate where a static analysis tool can...

@ThiefMaster I will tag some people @debonte @luabud but I doubt it will be supported in static analysis tool anytime soon. I don't think other tools such as mypy support...

related issue https://github.com/microsoft/pylance-release/issues/3473

are you using remote server `vscode-server` ? `export NODE_OPTIONS="--max-old-space-size=12288"` only works with remote server.

can you provide us log? https://github.com/microsoft/pylance-release/wiki/Collecting-data-for-an-investigation.#collecting-trace-logs and how much memory do you have in your remote server that you connect through SSH?

First, thank you for giving us the info. just to clarify, `vscode` (which is based on `electron` that is based on `nodejs` which is based on `V8 JS engine`) doesn't...

cool. thank you @piwawa so, this seems the issue ``` ^ RangeError: Map maximum size exceeded at Map.set () at Function.a.value (/home/bingo06/.vscode-server/extensions/ms-python.vscode-pylance-2024.5.1/dist/pyright.bundle.js:1:1215963) at p.resolvePaths (/home/bingo06/.vscode-server/extensions/ms-python.vscode-pylance-2024.5.1/dist/pyright.bundle.js:1:1213270) at /home/bingo06/.vscode-server/extensions/ms-python.vscode-pylance-2024.5.1/dist/pyright.bundle.js:1:500537 at Array.some ()...

> Should i bypass all unnecessary folders to avoid memory used by pylance? ya, that would be good for pylance. `pylance` basically scan everything inside of `workspace root` to support...

Can you provide us some logs as described in [the troubleshooting guide](https://github.com/microsoft/pylance-release/wiki/Collecting-data-for-an-investigation.#collecting-trace-logs)?