Skip to content

[TypeScript] Editor out of sync with tsserver #112664

@amcasey

Description

@amcasey
  • VSCode Version:
    VSCode version and channel: 1.52.0
    TypeScript version: 4.1.2 (with project-specific modifications unlikely to affect this scenario)
    node.js version: 12.14.1
    OS platform and version: Darwin x64 19.6.0
    TS-related env variables (such as RESOLUTION_PLATFORMS): No
    Watch process running at the same time: Yes (yarn watch in feed-web pacakge)
    NODE_ENV environment variable: No
    Other:
    "disableReferencedProjectLoad": true in tsconfig
    "typescript.preferences.includePackageJsonAutoImports": "off"

  • OS Version:
    MacOS

Steps to Reproduce:

The project is internal, so I'll provide concrete details offline.

  1. Open a.tsx
  2. Ctrl-click to GTD on a JSX element - file b.tsx opens in preview tab
  3. Promote b.tsx to non-preview tab
  4. Click back to a.tsx
  5. QuickInfo works in a.tsx
  6. Ctrl-hover over same JSX element as in (2) - stop before peek, etc
  7. Quick info no longer works in a.tsx (even though server log shows sensible responses)
  8. No updateOpen request is sent for subsequent edit in a.tsx

Metadata

Metadata

Assignees

Labels

*not-reproducibleIssue cannot be reproduced by VS Code Team member as describedinfo-neededIssue requires more information from postertypescriptTypescript support issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions