Closed bersbersbers closed 4 years ago
The specific colours are mostly controlled by VS Code, the extension has only indirect influence on the colours by using different "output channels":
print()
and cat()
.message()
from you example, as well as error()
, cat(..., file=stderr())
etc..vsc.str()
. The colours are pretty much the same as in the variables window. Usually, numerical values will be shown green, strings orange, names of child variables purple, and everything else grey.Note: The specific colours probably vary depending on the selected colour theme, the ones I described above are from Dark+
Oh my:
The default handler sends the message to the
stderr()
connection.
https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/message
Related: https://stackoverflow.com/questions/25306819/send-r-diagnostic-messages-to-stdout-instead-stderr
I did not know that. Thank you and sorry for the noise.
Describe the bug I am still trying to find out what the different colors means in the VS Code Debug Console, but I already noticed that
print
andmessage
produce different colors. Is this intended? I do not see any semantic difference between the two.To Reproduce
Your R code
Your Launch config If applicable, the launch config that causes the bug. E.g.:
Expected behavior Identical colors (I believe)