Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I often paste into it texts from other sources, and enable syntax highlight quickly using the command palette. For example, if I paste an XML into a new tab, I'd click

CTRL+SHIFT+P - X - Enter

The first part opens the command palette, the second selects XML syntax, and enter applies it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: