Skip to content

How do I avoid jumpImplementation from jumping to type file #289

@davidsu

Description

@davidsu

I have a custom handler to fallback to regex search function implementation when I can't find one with ts-server.
It happens quite often on the monorepos I work that I can easily find the function declared on another subproject but using CocAction('jumpImplementtion') jumps to .d.ts files.
Is there some way to tell ts-server to filter out .d.ts files from possible jumpLocations for jumpImplemention?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions