Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Is there a way to associate custom type definitions to a code cell? #3

Open
yutao-huang opened this issue Aug 7, 2020 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@yutao-huang
Copy link

I'm now building an extension based on this sample extension. The code cell in my notebook is using some custom modules. And I'd like the code IntelliSense support of them.

As a workaround I switched the language of the code cell into Typescript and explicitly injected a line at the top of each code cell like this:

///<reference path="the-absolute-path-to-the-d.ts-file"/>
...

Wondering if there is a better way so I don't have to manually inject this triple slash to clutter the code cell. Thanks!

@weinand weinand added the question Further information is requested label Sep 17, 2020
@weinand weinand self-assigned this Sep 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants