Skip to content

Customizable (or longer duration) timeout for analyzing files #384

Description

@eric-hansen

Description

I have some files for a client that are 4k+ lines long with many methods in a class and such.

I installed v0.10 and things were quite speedy, but it took 10 seconds for PHPantom to end up timing out on "still analyzing ".

I'm not considering this a bug because it doesn't cause my editor to crash or the LSP to shut down, it's more of a consequence of old coding styles.

Use case

I don't know the implications of an analysis timing out. The file itself is not one I explore very often but is also a critical custom-framework controller when things need changed for some features. But I can see this being useful for others who are also working on code bases that treat everything as one (e.g., old code igniter).

Proposed solution

I get why there's a timeout for this, but I'm wondering if this can be configurable either locally/per-project or globally since there's now a global-config option.

Alternatives considered

No response

Code example

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions