• Stars
    star
    212
  • Rank 186,122 (Top 4 %)
  • Language
    Perl
  • License
    Other
  • Created over 5 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Reenabling colors in Xcode's console

Colored Console

This project reenables colors in Xcode's console (with a limited palette). Just like this:

Installation

  1. Add the font file named ColoredConsole-Bold.ttf in the repo via the Mac OS application Font Book.
  2. Back to Xcode. Go to "Preference" β‡’ "Texts & Colors" β‡’ "Executable console Output", click the font icon below, then set font to "Colored Console Bold"

How it works

It's been nearly 3 years since the issue "Xcode 8 kills code colors" was raised on the venerable XcodeColors project. Since then we've been limited to using emojis to add color to our console.

Recently I wondered, has the answer been staring us in the face all that time. While Xcode doesn't allow styled text, it does respect colored glyphes such as 😊. That very ticket makes a bunch of suggestions for using them in the console.

ColoredConsole-Bold is a font, based on FiraMono-Bold which adds ligatures for enabling colored variants of the ASCII character set. Here's the default color range:

The 5 colors are enabled by suffixing the character with one of the Variation Selectors 6-10 (FE06, FE07, FE08, FE09 and FE0A).

Changing the colors

You can have different colors and modifier codepoints by changing and running ./colorify.pl. I have not documented this (yet).

More Repositories

1

EmptyInitializer

Get an instance of any Decodable type
Swift
11
star
2

MiddleButtonMenuBar

A middle button based "menu bar" for macOS
Objective-C
9
star
3

jira-cache

Cache JIRA issues to SQLite
Python
6
star
4

XCTestBackChannel

Bidirectional messaging between your iOS app and UI tests
Swift
5
star
5

XcodeBuildResultStream

Example usage of xcodebuild -resultStreamPath
Python
4
star
6

JavaScriptTranspiler

A JavaScript to Swift converter
Swift
4
star
7

MinimumRubber

Core Graphics and Core Foundation related functions
Objective-C
3
star
8

Mogen

Type-safe CoreData in Swift
Swift
3
star
9

banteng

Swift
3
star
10

Prism.app

Prism.app is a file comparison tool for macOS which uses the most excellent Prism syntax highlighter for tokenization.
JavaScript
3
star
11

narrative-charts

Perl
2
star
12

PredicateOptimiser

Doing cool things with NSPredicate objects
Objective-C
2
star
13

JJRSObjectDescription

Detailed object descriptions using NSCoder
Objective-C
2
star
14

Bulkhead

Perl
1
star
15

AsyncCompletionHandler

Generate convenience async completion handlers
Swift
1
star
16

CottonWool

Objective-C
1
star
17

Lame

A PoC MVVM-C using responder change based dependency injection and no external dependencies
Swift
1
star
18

turnout

Turnout representes a vote as a square chart, showing values are often missed from normal line or pie charts
Python
1
star
19

llcam

An low latency camera server app for the Raspberry Pi
C
1
star
20

Sidekick

Useful scripts for Xcode based development
Perl
1
star
21

cnf

C Normal Form is an ongoing attempt to create a style of C that prioritises trivial machine parsing over human readability.
C
1
star