Visual Studio Standard Style as CSS -


i'm searching correct style configure copysourceashtml change selenitic style default visual studio style when copy , paste e.g. e-mail. know css style(s) need use set correctly?

when copy & paste source code e-mail dark background. if set white show text in light colours hard read. need change complete style.

how plugin expect css like? if open theme referred in comments above in text editor you'll see lot of lines this:

<item name="outlining.collapsehintadornment" foreground="0x00e8ddd7" background="0x00faf7f6" boldfont="no"/> 

now since don't know how plugin expecting css go ahead , give example of might in css:

.outlining-collapsehintadornment {     color: #d7dde8;     background-color: #f6f7fa; } 

or:

<item name="string" foreground="0x001515a3" background="0x02000000" boldfont="no"/> 

becomes

.string {     color: #a31515;      background-color: #000000; } 

how did this?

visual studio settings file save color codes "code hex" values. , use bgr instead of rgb. means can convert vs color hexes simple html color hexes. , since html uses rgb don't forget invert code. example: 0x00e8ddd7. replace 0x00 (sometimes may 0x02) #. , swap first 2 , last 2 characters (bgr rgb). #e8ddd7 = #d7dde8. , of course "foreground" text-color , "background" background-color...if plugin supports might consider write font-size: bold if see boldfont="yes" in xml.

summarized: open vssettings file referred in comment above in texteditor. convert css. write simple program this, or hand, whatever prefer. remember example of might like. don't know "copysourceashtml" expecting css like.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -