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

Better error message support for yo-code #198

Closed
parthsarthiprasad opened this issue Apr 15, 2020 · 2 comments
Closed

Better error message support for yo-code #198

parthsarthiprasad opened this issue Apr 15, 2020 · 2 comments
Assignees
Milestone

Comments

@parthsarthiprasad
Copy link

parthsarthiprasad commented Apr 15, 2020

I've been having this issue with generator where It throws off an error code without any information about the error message. Rather than just Error code
If there can be development in field of error messages being hit either due to wrongurl or wrongfilepath which can be thrown will be helpful for the use case?

#snippet of the issue

     _-----_     ╭──────────────────────────╮
    |       |    │   Welcome to the Visual  │
    |--(o)--|    │   Studio Code Extension  │
   `---------´   │        generator!        │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 

? What type of extension do you want to create? New Language Support
Enter the URL (http, https) or the file path of the tmLanguage grammar or press ENTER to start with a new grammar.
? URL or file to import, or none for new: https://github.com/parthsarthiprasad/chapel-tmbundle/blob/tmbundlequotes/Syntaxes/Chapel.tmLanguage
Error code 

undefined

or using rawgithubusercontent

  _-----_     ╭──────────────────────────╮
    |       |    │   Welcome to the Visual  │
    |--(o)--|    │   Studio Code Extension  │
   `---------´   │        generator!        │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 

? What type of extension do you want to create? New Language Support
Enter the URL (http, https) or the file path of the tmLanguage grammar or press ENTER to start with a new grammar.
? URL or file to import, or none for new: https://raw.githubusercontent.com/parthsarthiprasad/chapel-tmbundle/tmbundlequotes/Syntaxes/Chapel.tmLanguage
Error code 

undefined

https://raw.githubusercontent.com/parthsarthiprasad/chapel-tmbundle/tmbundlequotes/Syntaxes/Chapel.tmLanguage

@parthsarthiprasad
Copy link
Author

parthsarthiprasad commented Apr 15, 2020

Do let me know about the possibility and also I'll be happy to contribute for the same if possible(If there are good first issues, I'd also like to try them)

And adding to that it seems that vscode doesn't work well with tmlanguage without json #100 ?

@aeschli
Copy link
Contributor

aeschli commented Jun 5, 2020

fixed by 4e72a48

@aeschli aeschli closed this as completed Jun 5, 2020
@aeschli aeschli added this to the May 2020 milestone Jun 5, 2020
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

2 participants