Skip to content

vs code typescript go extension taking long time to typecheck for large monorepo #1147

Open
@shmdhussain

Description

@shmdhussain

In large monorepo

when I hover over on the code to get type information, type checking is in loading state for long time

when i check the logs for the typescript-native-preview LSP it is waiting for the response, response is not there.

because of this, not getting the error info on the editor.

when i do the npx tsgo it works fine on CLI

When I turn off the typescript native, then vs code picks up normal tsc and showing type info on hover and errors in the editor sidebar

for the small project I tested it is working fine. getting response in LSP logs

installed and enabled typescript go extension as in https://devblogs.microsoft.com/typescript/announcing-typescript-native-previews/

Screenshot for LSP output:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions