-
Notifications
You must be signed in to change notification settings - Fork 39
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
iOS: Colors not working #18
Comments
Did you try the logger color output in your VSCode? |
@Bungeefan I am not sure how to do that. What I meant was, it is working fine for a dev dependency but not in the main dependency. |
I was trying to find out if you only assumed that it doesn't work because of the (possibly old) comment in the README, or if you really tried it in your VSCode, and it didn't work? |
@Bungeefan I did try and I can confirm that this is the case. I added the dev dependency lately and figured that for some reasons, the colors are working there! Happy to help with any additional information that help debug this but I think if you just install the https://pub.dev/packages/pubspec_dependency_sorter dev package on an flutter project, you can easily find the difference. |
Sorry for the slow replies, I haven't had as much time lately as I would have liked. Anyways, I installed VS Code and tried to replicate your problem.
In all three instances, the colors of the logger packages were fully working for me. Settings that I used: "[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [
80
],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
}, Launch config: {
"name": "test",
"request": "launch",
"type": "dart"
}, I tested this on a Linux machine and couldn't identify any problems, especially with any colors. |
@g0dzillaa Are you by any chance using macOS? |
Hey @Bungeefan, Yes, I am using macOS. It's interesting that the dev dependencies work without a problem and they are consistent too. |
@g0dzillaa Now that I think about it, it makes perfect sense. xD
As this is not a logger bug, I am going to go ahead and close this issue now. |
Thanks. That makes sense to me. Do you have any links to the flutter issue? |
Oh sorry, sure, it was linked in the README: flutter/flutter#64491 |
Pretty good workaround until the bug is fixed: flutter/flutter#64491 (comment) |
I was trying to understand why colors are not supported in VSCode and read the comment in the ReadMe.md
However, one of the dev_dependencies that I am using is working perfectly with colors!
Any idea why this is not working for main project?
This is the dev dependency: https://pub.dev/packages/pubspec_dependency_sorter
The text was updated successfully, but these errors were encountered: