vscode.printcode icon indicating copy to clipboard operation
vscode.printcode copied to clipboard

About font color.

Open haruzheng opened this issue 7 years ago • 5 comments

The font color is follow from VS Code? Or from this PrintCode project? Thank you.

haruzheng avatar Oct 21 '18 10:10 haruzheng

Syntax coloring comes from CodeMirror https://codemirror.net/ css this extension is using. Now it's also possible to add your own css definitions if there's something you want to change.

janilahti avatar Oct 21 '18 14:10 janilahti

Because my code is c/c++,but it printed is not colorful. Only number,comment and string have color. How about add your own css definitions? Thank you.

haruzheng avatar Oct 22 '18 04:10 haruzheng

You're getting something like this https://codemirror.net/2/mode/clike/ . If you want more coloring, please make a PR or feature request to CodeMirror project.

janilahti avatar Oct 22 '18 05:10 janilahti

I'm not even getting the C-like of CodeMirror: vscode-printcode

pchaigno avatar Feb 28 '19 10:02 pchaigno

why we cannot use the css in vscode? I use custom plugin for c++ highlight, so the problem is same with @pchaigno

gggin avatar Mar 07 '19 03:03 gggin