Skip to content

Add support for Svelte #205

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

Open
skdigital opened this issue May 22, 2019 · 3 comments
Open

Add support for Svelte #205

skdigital opened this issue May 22, 2019 · 3 comments

Comments

@skdigital
Copy link

skdigital commented May 22, 2019

Hi,

Please add support for .Svelte files, its an awesome new framework/javascript compiler that is gaining traction.

Svelte is a new frontend javascript framework that is developing nicely, it just hit version 3. Its actually a javascript compiler that can ship a full webapps code as small as preact (around 3kb) after compilation. There is also a nice framework built around svelte called Sapper that is very similar to reacts Nextjs. Svelts's Sapper runs much faster and smaller than Next.js, and has a few very interesting nice to have features that make developing with it very nice.

Trust me, Svelte and Sapper are going to do very well. It's basically the birth child between Vuejs and Reacts with much better speed and bundle sizes.

Hope this helps.

Here are the links to the respective framework pages.
Svelte: https://svelte.dev
Sapper: https://sapper.svelte.dev/

Bests,

SKDigital.

@timeshift92
Copy link

yup, pleas add .svelte format

@irreal
Copy link

irreal commented Feb 26, 2020

Hey, I cloned the extension locally, made this change:

    // HTML based extensions
     ["html", "django-html", "razor", "php", "blade", "vue",
-        "twig", "markdown", "erb", "handlebars", "ejs",
+        "twig", "markdown", "erb", "handlebars", "ejs", "svelte"
     ].forEach((extension) => {
         context.subscriptions.push(provideCompletionItemsGenerator(extension, /class=["|']([\w- ]*$)/));
     });

and installed it in my vscode.

It works perfectly?

I'd create a PR, but surely I'm missing something and there's more to it than this?

@TolyanDimov
Copy link

Classes where the first capital letter are not displayed... Header (header)...

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

No branches or pull requests

5 participants