svelte-intellij icon indicating copy to clipboard operation
svelte-intellij copied to clipboard

Svelte components in WebStorm and friends

Results 62 svelte-intellij issues
Sort by recently updated
recently updated
newest added

Looks like there is no proper support for module context so I'm throwing this in here to put on the to-do list Example.svelte ```svelte import { writable } from "svelte/store"...

# What Assume you have an [NPM workspace](https://docs.npmjs.com/cli/v8/using-npm/workspaces) setup properly like so: ``` Project Root - Library A - A.svelte - Library B - B.svelte ``` And in `A.svelte`, I...

The `{@const}` tag, which allows declaration of constants inside markup, is soon to be merged into the main Svelte repo: https://github.com/sveltejs/svelte/pull/6413 Some opportunities this can have: - TypeScript support -...

Svelte core

When I try to comment out the subscribe code section below using CMD-/ (macOS) in a svelte file: import DeviceFolderStore from "./stores/deviceFolderStore"; let deviceFolders = []; DeviceFolderStore.subscribe(data => { deviceFolders...

Svelte was recently updated with a new directive: `style:property={value}`, which lets you set a CSS property of an element. Some things which could be considered: - auto completion for property...

Svelte core

When trying to use generated types for the `load` function in SvelteKit, as such: ```html import type { Load } from "./__types/index"; ``` I get the following error: ![image](https://user-images.githubusercontent.com/65342367/172633404-60555046-7ea4-4cb8-80e7-420df41794a4.png) my...

For example, in `index.d.ts` we define override for importing from different extensions, in this case, `.scss`. ```ts declare module '*.scss' { export function renderStyles(vars: {[prop: string]: string}): void; } ```...

new svelte kit uses `extend` inside `jsconfig.json`: ``` { "extends": "./.svelte-kit/tsconfig.json" } ``` looks like webstorm doesn't follow it and can't resolve path alias: ``` import { requestJSON } from...

docs: https://svelte.dev/docs#template-syntax-svelte-element changelog: https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md#3470 PR: https://github.com/sveltejs/svelte/issues/2324

If a Component uses Typescript, the types should carry over into the markup. ```svelte interface Peach { color:'white'|'pink'|'brown' } export let peaches = [] as Peach[] {#each peaches as peach,idx}...

area: types