Skip to content
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

Snippet expansion support #37

Open
ghost opened this issue May 15, 2017 · 1 comment
Open

Snippet expansion support #37

ghost opened this issue May 15, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented May 15, 2017

Currently when I do snippets that have:

import moduleName from 'module'

or

import { } from 'module'

In the module section the quickpick for npm modules doesn't show up. Seems only to appear when I conduct quotes.

Refer to the JavaScript ES6 code snippets extension for acquiring and testing it out.

@wolfhoundjesse
Copy link

wolfhoundjesse commented Jan 14, 2019

This used to work with my snippets, but now I have to press Ctr+Spacebar to initiate the lookup. For now I've changed my snippet to: "Import package": { "prefix": "impd", "body": [ "import { $2 } from '$1'$0" ], "description": "File name first, then package name" }

This allows me to throw my fingers at "impdTab'" to start the intellisense. It works, but it used to work with the quotes and semicolon scaffolded out as well.

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

No branches or pull requests

1 participant