Neon Color Scheme
- Total 37K
- Win 19K
- OS X 10K
- Linux 8K
|Oct 18||Oct 17||Oct 16||Oct 15||Oct 14||Oct 13||Oct 12||Oct 11||Oct 10||Oct 9||Oct 8||Oct 7||Oct 6||Oct 5||Oct 4||Oct 3||Oct 2||Oct 1||Sep 30||Sep 29||Sep 28||Sep 27||Sep 26||Sep 25||Sep 24||Sep 23||Sep 22||Sep 21||Sep 20||Sep 19||Sep 18||Sep 17||Sep 16||Sep 15||Sep 14||Sep 13||Sep 12||Sep 11||Sep 10||Sep 9||Sep 8||Sep 7||Sep 6||Sep 5||Sep 4||Sep 3|
Because of reasons, I haven't been able to devote
much of any time to supporting and maintaining my open source projects since late 2016. I'm not dead 💀, dying 😷, in prison 🚔, in exile ⛔️, in space 👽, hiding under a rock ⛰, boycotting the interwebs 🚫💻, or anything like that; life has just… been very busy 😩. Hopefully I'll have more time for nerding in the not-too-distant future, but until then my development work will just have to remain more or less on hold, as unfortunately it doesn't pay any bills, provide any food, take care of my kids, or keep my car on the road. Of course, if anyone would like to donate to the cause, the link is below 💰
All the best,
PS: Sorry, I went a little emoji-crazy there. I promise it won't happen again 😔
Neon Color Scheme
Neon's main goal is to make as many languages as possible look as good as possible. That being said, there are some language/markup/framework-specific scopes and sections that you might be interested in:
- Android Debug Bridge/logcat
- C/C++/C Improved
Find In Files
- Git Gutter
- Regular Expressions
- SASS/SCSS - specifically, the
Syntax Highlighting for SASSpackage
- Shell Scripts/ShellScriptImproved
For major changes, I'll test most if not all of the above languages, as well as Makefile, Lua, Perl, and LaTeX, with maybe some others thrown in for fun. When I say “as many languages as possible” I mean it!
If you have a particular language or plugin you'd like Neon to support, just open an issue and I'll see what I can do.
There are a bunch of scopes in here that are only found in my
Python Improved language definition package — IPython
Out statements, Django-specific highlighting (adapted from
Djaneiro), a bunch of improvements from @facelessuser's
Better Python and @petervaro's Python 3 package, along with various enhancements, extensions, and bug fixes of my own and contributed by others. If you work with Python, I'd highly recommend getting it.
You can find out more about themes in the TextMate manual. All the information there applies to Sublime Text as well, which was heavily influenced by TextMate. Both programs can share themes and language definitions pretty much interchangeably, and snippets are usually pretty easy to port from one to the other as well. But, unfortunately for you Win/Lin people, TextMate is only available for OSX.
What Font is That?
Cousine while browsing Google Fonts one day and absolutely love it.
Cousine was designed by Steve Matteson as an innovative, refreshing sans serif design that is metrically compatible with Courier New™. Cousine offers improved on-screen readability characteristics and the pan-European WGL character set and solves the needs of developers looking for width-compatible fonts to address document portability across platforms.
It's one of the first things I install when setting up a new workstation or VM, and it used to be my go-to monospace font for web design and programming.
More recently, I've been using
Liberation Mono, part of the Liberation font family. It's almost an exact duplicate of Cousine (with a few minor differences), and has the advantage of being available for Fedora (out of the box) and RHEL/CentOS as
liberation-fonts, and as
ttf-liberation for Debian and Ubuntu (my current distro of choice).
Installation for Sublime Text 3
The easiest method is through Package Control, which you need to install first as it doesn't come with Sublime Text. Open the ommand palette with CtrlShiftP (Windows/Linux) or ⌘ShiftP (OSX) and type ***
pci*** to bring up
Package Control: Install. Click or hit Enter, type in
Neon Color Scheme should show up. Select it, then activate the theme by choosing the
Preferences -> Color Scheme -> Neon Color Scheme -> Neon menu option. Alternatively, paste the following line in
Preferences -> Settings - User):
"color_scheme": "Packages/Neon Color Scheme/Neon.tmTheme"
If you like to do things the old-fashioned way, in
~/Library/Application Support/Sublime Text 3/Packages/User (OSX),
%APPDATA%\Sublime Text 3\Packages\User (Windows), or
~/.config/sublime-text-3/Packages/User (Linux) (change the
2 if you're still using the outdated version 2 — and please upgrade!):
git clone https://github.com/MattDMo/Neon-color-scheme.git "Neon Color Scheme"
This will create a menu option
Preferences -> Color Scheme -> User -> Neon Color Scheme. However, unless you
git pull manually, your installation will never get upgraded with new goodies.
For right now, manual cloning is the only option. Maybe I'll make a bundle someday for TM1 and TM2. From your home directory (or anywhere, really), enter:
git clone https://github.com/MattDMo/Neon-color-scheme.git "~/Library/Application Support/TextMate/Themes"
Or, you can just download the
.zip file and put it in the proper theme directory yourself.
While I really like the level of control I get with Sublime's system of config files, editing themes by hand (in XML) can be pretty rough. I recommend checking out @aziz's tmTheme-Editor. It works with just about any modern browser that implements all of the HTML5 APIs. It's a pretty neat tool, and Neon is included!
However, for most of my editing, I use @facelessuser's
ColorSchemeEditor, a cross-platform GUI tool (written in Python) for creating and editing
.tmTheme color schemes, and it has very quickly become one of my favorite apps. If the forum is working, check out this post in the Sublime Text forum announcing the plugin and app. The documentation is minimal, it's not available through Package Control, and you currently need to download the platform-specific compiled binaries via links from the forum post (hint, google the page's URL and view the cached version to get the links if the forum is still down) and put them in your
Packages/User directory in order for the plugin to work, but it's so worth it if you need to tweak or completely refactor a color scheme. If you want to try and build the binary yourself, read through this issue. The directions are for Windows, but they also work on OS X and Linux. I also wrote a blog post about building
ColorSchemeEditor yourself a little while back, so if you're comfortable with hacking Python, check it out!
Sometimes the same file looks different in TextMate and Sublime Text. It may be that the scopes are defined somewhat differently, or that the parsers don't work in quite the same way. Hack the
.tmlanguage definition files if you're interested, it's an exciting combination of XML and regex! To ease the pain somewhat, I definitely recommend installing
PackageDev via Package Control. Among many other things, it allows you to convert XML/Plist-based
.tmLanguage files to YAML syntax, which Neon conveniently supports! Everything is much more straightforward to understand and edit, and when you're done you can run a build system from the Command Palette to convert the YAML back to XML.
If you have questions, concerns, or suggested improvements, I'd love to hear from you! Feel free to open an issue or send a pull request and I'll get back to you as soon as I can. You can also email me at firstname.lastname@example.org. Find my blog on Sublime Text and other stuff at MattDMo.com.
© 2013-2018 Matt Morrison email@example.com.
This is free software. It is licensed under the MIT License. Feel free to use this in your own work. However, if you modify and/or redistribute it, please attribute me in some way, and it would be great if you distribute your work under this or a similar license, but it's not required. A shout-out or a beer would be appreciated.
You can also give on Gratipay.