-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
astral-sh/ruff
#22630Labels
completionsBugs or features relating to autocomplete suggestionsBugs or features relating to autocomplete suggestionsperformancePotential performance improvementPotential performance improvement
Milestone
Description
Summary
Hi team,
Is there a feature to separate the extra path for the lsp autocompletion and the extra apth for lsp analysis?
Assuming the stub is abnormally large. Like currently I'm using it for unreal which has the stub that's 28MB large, it feels obvious with the slow response time (roughly 4-5 seconds). So I split the classes inside this stub into smaller chunks and was thinking to specify different paths like how vscode support for it. But realized later on that the option is not available in the config. Am I missing something or is this not supported? And if not, will it ever be?
Here's my toml file currently:
[environment]
extra-paths = [
"{{UnrealProjectPath}}/Intermediate/PythonStub"
]Proposing something like this:
[environment]
analysis-extra-paths = [
"{{UnrealProjectPath}}/Intermediate/PythonStub"
]
autocomplete-extra-paths = [
"{{UnrealProjectPath}}/Intermediate/PythonStub/splittedstub"
]Version
ty 0.0.8
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
completionsBugs or features relating to autocomplete suggestionsBugs or features relating to autocomplete suggestionsperformancePotential performance improvementPotential performance improvement