npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vsc-ember-cli

v0.3.2

Published

Turn Visual Studio Code into an Ember Cli IDE

Downloads

5

Readme

Ember Cli Extension for Visual Studio Code

Build Status

Use Ember and Ember Cli directly from Visual Studio Code. After installation, all ember cli commands are available through Code's own command list, enabling you for example to generate blueprints, run tests, or build your app without leaving your editor. Also, IntelliSense for Ember!

Screenshot

Features

  • Visual Studio Code is automatically configured to play well with Ember Cli projects - as soon as a .ember-cli file is detected in the workspace, we'll create a fitting jsconfig.json to ensure that Visual Studio Code enables ES6 and Modules support.
  • Typings to enable IntelliSense Support for Ember!
  • All Ember Commands are available through Visual Studio Code's Command Palette.
  • Snippets make day-to-day tasks a lot easier

Commands Implemented

  • Create addon folder structure (also known as ember addon)
  • Build app (also known as ember build)
  • Build, watch, and live-reload app (also known as ember serve)
  • Generate blueprint(also known as ember generate)
  • Destroy blueprint (also known as ember destroy)
  • Create new app in the current workspace (also known as ember init)
  • Create new app in a sub-folder in the current workspace (also known as ember new)
  • Install ember addon (also known as ember install)
  • Display the Ember Cli version (also known as ember version)
  • Run tests (also known as ember test)
  • Run tests in server mode (also known as ember test --server)
  • Setup project for development in Visual Studio Code

Install

In Visual Studio Code, run ext install vsc-ember-cli - or, simply hit CMD/CTRL + Shift + P, search for "Install Extension", and then search for "ember cli".

Usage in subfolder

If your Ember app is within a subfolder of your workspace, you have to create an ember.json file in the .vscode folder of your workspace. If the .vscode folder doesn't exist yet, you also have to create it. After that you have to add a config that specifies the folder in which the Ember app resides.

Example:

{
  "appPath": "./ember-app"
}

The addon will do the regular setup (like creating a jsconfig.json) as soon as the first command is executed.
Tip: There is a command to setup the project for Visual Studio Code.

IntelliSense Support

Support is experimental - IntelliSense is enabled with typings, which are automatically installed in a typings folder inside your project. The typings file should be automatically detected, but if not, you can either add it to your project's jsconfig.json, or add a /// reference to the typings in individual files.

To disable the automatic installation, create a ember.json file inside your project's .vscode folder and set the installTypings property to false:

{
    "installTypings": false
}

Bugs and Issues

Under the covers, this addon is merely executing Ember commands for you. In practice, this sometimes leads to issues, since the addon does not come with Ember Cli and is absolutely reliant on your system being setup properly. To debug issues, set an environment variable named VSC_EMBER_CLI_DEBUG - Visual Studio Code will then always display the output window for all operations, allowing you to see what's happening in the terminal.

Contributions

There's a few things that could improve the extension - snippets and IntelliSense support is probably at the very top of everyone's wish list. Contributions are extremely welcome!

Credits & License

IntelliSense for Ember was made possible in parts by Tilde's Peter Wagenet and Ciena's Steven Glanzer, Eric White, and Justin Lafleur.

MIT, please see LICENSE for details. Copyright (c) 2015 Felix Rieseberg and Microsoft Corporation.