-
Notifications
You must be signed in to change notification settings - Fork 825
Add colours to FSI output #2156
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
Conversation
Hi @saul, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
Ultimately colors should be configurable/conform to set profiles, but I think that VS defaults are fine for now. Any idea how much it would take to add some basic configuration in Tools|Options|F# Interactive? |
Definitely - this PR is for the console window only though. There's no integration for VS FSI yet. Any ideas as to where the colour settings should live? |
About colors, switch to the dark theme in VS and grab colors from there, they should be much more readable compared to the current ones. It would be very much appreciated if you enable the coloring in VS FSI, too. I don't think many people use the console FSI. |
@dungpa I think you were tried to color VS FSI (in some hacky way :) ). Could you give some points on how to do it? |
Adding VFSI support for colours is a separate issue. Please start an issue .. for that. Kevin |
@KevinRansom with regards to #2163, how do you want to move forward with this? Are we happy with the colours as is? I'd personally prefer keywords to be green so they stand out on black. It should be worth noting that colours can be disabled with the current mechanism (command line option of |
@saul yes colours as is is fine. There are some baseline file errors that need fixing ... |
The baseline changes are due to newlines being consistently used for FSI errors and output. Previously there was no consistency. Now there's only ever a blank line after output/error and before the next prompt. |
@saul ... excellent. Thank you |
@KevinRansom tests are green 👍 |
Colourfull FSI ... what a thing .... @saul |
Thank you for taking care of this |
FSI results can now be coloured thanks to #2070:
The colours are up for discussion. In particular I think keywords should be a brighter colour than blue, maybe green or magenta. I just stuck to VS defaults as a first go.