Skip to content

VS Code / TypeScript integration isn't configured correctly for notebook cells #13

@jaked

Description

@jaked
  • doesn't use project tsconfig.json
  • has JSX configured wrong (so gives an error about React being a UMD global)
  • can't find imported files (works OK for imported packages)

Advice from @Krzysztof-Cieslak about debugging:

Anyway... I guess if I'd want to debug this I'd start with following steps:
Set typescript.tsserver.enableTracing to true
Set typescript.tsserver.log to verbose
Reload the window
Go to TypeScript channel in the Output tab
There you should have path to the log file
Open file in your notebook and open normal TS file to generate some logs.
Compare the differences in the log file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions