Skip to content

Initial optimization pass at auto-import symbol extraction #2298

@liketoeatcheese

Description

@liketoeatcheese

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?

Image Image

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

Metadata

Metadata

Assignees

Labels

completionsBugs or features relating to autocomplete suggestionsperformancePotential performance improvement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions