Giter VIP home page Giter VIP logo

tmtheme-editor's Introduction

TMTheme Editor

TMTheme Editor is a color scheme editor for SublimeText, Textmate and bunch of other text editors. It started as a personal experiment trying to use new HTML5 File APIs in Chrome and Angular.js. It allows you to edit tmtheme files easier and faster.

NOTE: Only works in Google Chrome at the moment since HTML5 APIs it uses are not available in other browsers yet.

New in Version 0.3:

Color Adjustments and filters

Scope Bar and inline editing (courtesy of @tyom)

You can add your color scheme using the Open button (which does not upload anything to any server, but only allows the page to have access to the file. You can also drag and drop the file on to the page) and start tweaking the colors, add or remove rules and see the effect instantly on the preview pane.

As soon as you add a color scheme to the editor it saves the file using the File System API so that you can refresh the page and still have the color scheme loaded. Whenever you're happy with your changes you can save them so that editor can persist it on the disk. To get back the new tmtheme file you can click Download button and use it in your editor.

TmLanguage Parser

As a side project I started to write a tmLanguage parser in javascript to be able to highlight text files based on the color scheme inside the browser. it's a work in progress and has a lot of problems mainly because of javascript limited regular expression engine. I appreciate if you can help me improve it by sending a pull request.

Keyboard Shortcuts

ctrl+n: adds a new rule

esc: closes all the popovers

HTML5 APIs used

  • Blob constructing
  • FileReader API
  • fileWriter API
  • filesystem API
  • file saver API
  • Drag and Drop API

written in coffeescript using angular.js

Copyright

TMThemeEditor
© Copyright 2012-2013 Allen Bargi

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

tmtheme-editor's People

Contributors

actarian avatar aziz avatar blach avatar carlcalderon avatar cschubiner avatar dflock avatar edgarjs avatar fcgrx avatar idleberg avatar koteus avatar missedone avatar rickhanlonii avatar tyom avatar uonick avatar weslly 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.