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

Add conditional code snippet/completion for mocha/jest #13

Open
felixjb opened this issue Jul 12, 2019 · 4 comments
Open

Add conditional code snippet/completion for mocha/jest #13

felixjb opened this issue Jul 12, 2019 · 4 comments
Assignees
Labels
feature New feature or request help wanted Extra attention is needed

Comments

@felixjb
Copy link
Owner

felixjb commented Jul 12, 2019

Is your feature request related to a problem? Please describe.
It would be great if this feature could be used to add conditional code snippet/completion for mocha/jest functions on test files. Also, it should have a config option to enable this feature.

Additional context
This issue was first opened at the original repo.

@felixjb felixjb added enhancement Enhancement of existing feature help wanted Extra attention is needed labels Jul 12, 2019
@roggenbrot
Copy link
Contributor

I can implement snippet support if you think this will fit into this project.

The owner of the original project didn't like the idea to implement additional helpful features for testing, so I never created a pull request for this.

@felixjb
Copy link
Owner Author

felixjb commented Jul 18, 2019

I like the idea of having snippets that are completely related to testing, like the describe and it keywords, or expect statements.

I would appreciate it if you implemented this!

Also, we can work with incremental enhancements, starting with the basic snippets and adding new things as we go and find them helpful.

@felixjb felixjb changed the title [FEATURE] Add conditional code snippet/completion for mocha/jest Add conditional code snippet/completion for mocha/jest Aug 10, 2019
@felixjb felixjb added feature New feature or request and removed enhancement Enhancement of existing feature labels Aug 10, 2019
@villasv
Copy link

villasv commented Aug 19, 2019

@roggenbrot still got this? I'd like this very much too.

@felixjb
Copy link
Owner Author

felixjb commented Aug 30, 2019

I am working on this!

I already have the snippets file to contribute to VSCode. Now I want to make it customizable from the extension so it's possible to always use them according to your preferences.

@felixjb felixjb self-assigned this Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants