Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typechecking, intellisense etc #26

Open
Rich-Harris opened this issue May 26, 2022 · 1 comment
Open

Typechecking, intellisense etc #26

Rich-Harris opened this issue May 26, 2022 · 1 comment

Comments

@Rich-Harris
Copy link
Member

Not gonna lie, I have mostly no idea what is involved in this. But it would be cool if we could get red squigglies for code like this...

/** @type {number} */
const num = 'definitely not a number';
const doubled = num * 2;

...and if stuff in node_modules could get resolved by Monaco (including svelte, svelte/store etc, which currently resolve correctly, but only because the app itself has a dependency on them).

Also, can we get the editor to behave more like VSCode with the Svelte extension? At the moment it's just treating Svelte components as HTML files, which sorta works but isn't a viable long term solution.

@dummdidumm
Copy link
Member

Related sveltejs/language-tools#1190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants