-
Notifications
You must be signed in to change notification settings - Fork 8
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
More verbose output #103
Comments
What language and beautifier did you use? I think any beautifier should be able to handle a file of 5000 lines in a few seconds (probably faster), so there's probably some other problem. It could be a bug in the beautifier plugin. |
In any case, you're right, having the usual |
This is my list of installed packages globally:
|
More verbose outputs for certain actions are a good idea. But I don't know how much I would do for a simple beautification of a file. But it shouldn't hang like that. That's something to look into. |
Looks like requireg made some changes and the cli no longer loads beautifiers. Not sure why it hangs exactly. Edit: Actually might be a node change. |
@stevenzeck something like this would be great, especially when more files are being beautified: https://www.npmjs.com/package/cli-spinner. |
@muuvmuuv I don't disagree, but the issue you described originally won't be fixed with verbose output. You are running
If you run |
I've opened #106 to fix the hang issue, it will either return |
@stevenzeck oh didn‘t know that, I assumed it works like prettier (passing the file and it just works). Thanks for the solution, but we may should change this so users don‘t need to capitalize letters in the CLI, not everyone knows the correct lettering of every language. But we discussed this already in another issue. Anyway a verbose flag would be good to display some more info when debugging, fixing errors or when something did not work and we want the user to show us the verbose information. Sent with GitHawk |
I had to beautify a file over 5000 lines of code and it was really depressing to see no output at all. I killed the process a few seconds after because I didn't know if it had really started. We could add a progress bar or just some colored text that says something. This would help users to not kill the process and wait for a result.
The text was updated successfully, but these errors were encountered: