Giter Club home page Giter Club logo

vuejs-extension-pack's Introduction

Vue.js Extension Pack

This extension pack adds features and language support for Vue.js development.

Extensions Included in this pack

Note

For proper typescript support in Vue Single File Components (Vue SFCs), please follow these instructions on official Vue.js page: VSCode + Volar Takeover Mode

Credits

All credits goes to original authors of the above mentioned extensions.

Happy Coding!

vuejs-extension-pack's People

Contributors

blfrg avatar imgbotapp avatar mubaidr avatar sandy081 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vuejs-extension-pack's Issues

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

We plan to feature your VS Code extension pack!

Hi,

It's Kenneth from VS Code. I'm reaching out to tell you that we plan to feature your awesome VS Code extension pack on our marketplace https://marketplace.visualstudio.com/#VSCode in the next iteration.

Please work with your community to resolve any major issues, as you'll probably see a significant bump in new users trying your extension.

Thanks for the great work, and happy coding!

/k

Kenneth Auchenberg
Visual Studio Code
Program Manager, Microsoft

Suggestions

Cool. If you have more suggestions go ahead.
I am planning to update and publish new version. Since tooling has improved a lot since last version.
Originally posted by @mubaidr in #14 (comment)

As requested for suggestions, I decided to open an issue to discuss options and allow others to contribute.


The pack already includes:

Vue 3 Snippets - A Vue.js 3 And Vue.js 2 Code Snippets Extension
by @hollowtree

But this extension hasn't been updated in 2 years, and the repo still says "Vue 2" even though the Marketplace lists "Vue 3".

There's a similar extension with ~1.5m installs:

Vue VSCode Snippets - Snippets that will supercharge your Vue workflow
by @sdras

This one is more recently updated and may be more actively maintained.
I'm unsure if the pack should prefer one over the other, but I wanted to highlight a possible alternative.


I noticed that the extension which is already in the pack:

TypeScript Vue Plugin (Volar)
by @johnsoncodehk

says:

It's recommended to use take over mode instead of this plugin.

Although that looks like a deprecation warning, it means to disable the native TS language server in VS Code while using the extension, which allows the Volar language server to "take over" handling regular TS files and Vue SFC files with TS.
The instruction is more clearly stated on the Official Vue Page
The configuration change is significant. Otherwise, two language servers are parsing TS, which impacts performance.
Maybe the extension pack should call attention to the instructions since the extension cannot automate the change.


Since the update will be forward-looking, maybe the extension pack should include Official Vite and Vitest extensions:

Vite - VS Code for Vite
by @antfu

Vitest - Run and debug Vitest test cases
by @zxch3n

recommended settings don't work

Hi, I used recommended settings to get started . But then most js issues are ignored in vue files. What do I miss? Here is my eslint.js file. Thanks in advance

module.exports = {
  root: true,
  env: {
    browser: true,
    commonjs: true,
    es6: true,
    node: true
  },
  extends: [
    "standard",
    "eslint:recommended",
    "plugin:vue/recommended"
  ],
  parserOptions: {
    "parser": "babel-eslint",
    "ecmaFeatures": {
      "jsx": true
    },
    "sourceType": "module"
  },
  // required to lint *.vue files
  plugins: [
    'vue'
  ],
  // add your custom rules here
  rules: {},
  globals: {}
}

Add eslint and prettier with configs

  • vscode-eslint
  • vscode-prettier
  • recommend vs code settings
  • recommended eslintrc.json
  • recommended .editorconfig
  • Research if its possible for an extension to update user settings.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.