Giter Site home page Giter Site logo

st2-color-console's Introduction

###Sublime Text 2 Color Console This will allow you to see the output of Sublime Text 2's console in a (more-or-less) unified syntax highlighting scheme based on your current theme. It's based directly off of the Python and Django standard .tmLanguage files. I've found this to help find something visually much faster, since it mirrors the code it references.

color console

###Caveats I've removed any references to any deprecated, illegal, or invalid flags, so as not to completely red-line a text string that may not "look" right. This still needs work-- you'll notice if it encounters a multi-line string that does not terminate, the rest of the console will be highlighted with a string's set color. Also, a few "key" words have been added to attempt to unify common phrases used in the console, i.e. "Searching X files for 'word'" highlights the keyword "for", so I've added "Searching", "files", and "case sensitive" to maintain the coloring.

###Installation

Install into your ST2 Packages folder as normal. Then run Color Console: Enable from the command palette. This will create a Widget.sublime-settings file that changes the console syntax hilighting to the current theme. After creation, the settings file is opened, for if you would like to change the console to a different theme.

A shortcut to edit the Widget.sublime-settings file is available from Preferences -> Package Settings -> Color Console.

Optional: Select the color for the undefined console text in your current .tmTheme:

<dict>
   <key>name</key>
   <string>Source</string>
   <key>scope</key>
   <string>source.console</string>
   <key>settings</key>
   <dict>
      <key>fontStyle</key>
      <string></string>
      <key>foreground</key>
      <string>#C5C8C6</string><!--console's non-defined text-->
   </dict>
</dict>

Updated Sept 2012 by Charles Phillips

MIT Licensed. Use at your own risk.

st2-color-console's People

Contributors

doublerebel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.