svelte-intellij
svelte-intellij copied to clipboard
Svelte components in WebStorm and friends
I tried to overwrite IntelliJ's default formatting options with a `.editorconfig` file. It works for the default options (like `indent_size`) but not for IntelliJ specific one (prefixed with `ij_`). A...
https://svelte.dev/repl/1e78f2cd120247a9899d3a525675c836?version=3.24.1 Such variables need to be checked after reaching script tag, right now they are checked - by name - at the very beginning of reference resolving.
`` blocks in components can have `:global(...)` modifier (https://svelte.dev/docs#style). At the moment css completion doesn't take these styles into account. Related to #60 and #70
I got this problem when using endpoints, creating functions, or something else... I create a TypeScript file, like this one: ``` // function.ts export const sum(a, b) => (a +...
Whether within the `` tag, or in `{}` within the HTML part, the `typeof` operator doesn't get its usual color _(orange, by default)_, but is rather the same gray color...
In Svelte, it's possible to `export` a function, which can then be executed via the initialized component, the same way as methods like `$destroy` are exposed for the individual component....
When I create a variable in a reactive statement like so: ```typescript let count = 0; $: doubled = count * 2; ``` The result is the following:  In...
Webstorm does not show type errors on component props. Webstorm: Vscode:  related to https://github.com/tomblachut/svelte-intellij/issues/220 https://github.com/tomblachut/svelte-intellij/issues/207 https://github.com/tomblachut/svelte-intellij/issues/252