Awesome Open Source
Awesome Open Source

QLColorCode =========== =============================================================================== IMPORTANT NOTE FOR XCODE 3.2 (SHIPPED WITH SNOW LEOPARD) USERS: If you are running Xcode 3.2 or higher you will probably not see QLColorCode's output unless you disable Xcode's built-in source code qlgenerator. See the end of this file for details. =============================================================================== This is a Quick Look plugin that renders source code with syntax highlighting, using the Highlight library: To install the plugin, just drag it to /Library/QuickLook or ~/Library/QuickLook. You may need to create that folder if it doesn't already exist. If you want to configure QLColorCode, there are several "defaults" commands that could be useful: Setting the text encoding (default is UTF-8). Two settings are required. The first sets Highlight's encoding, the second sets Webkit's: defaults write org.n8gray.QLColorCode textEncoding UTF-16 defaults write org.n8gray.QLColorCode webkitTextEncoding UTF-16 Setting the font: defaults write org.n8gray.QLColorCode font Monaco the font size: defaults write org.n8gray.QLColorCode fontSizePoints 9 the color style (see or try slateGreen to see how I roll. Also included are solarized-light and solarized-dark as seen at defaults write org.n8gray.QLColorCode hlTheme ide-xcode any extra command-line flags for Highlight (see below): defaults write org.n8gray.QLColorCode extraHLFlags '-l -W' the maximum size (in bytes) for previewed files: defaults write org.n8gray.QLColorCode maxFileSize 1000000 Here are some useful 'highlight' command-line flags (from the man page): -F, --reformat=

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Plugin (113,704
Objective C (57,096
Language (29,988
Xcode (12,414
Highlight (8,929
Highlighting (8,909
Write (7,705
Quicklook (309
Xcode Plugin (253