Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Commits on Mar 25, 2015
  1. @TimothyXu @infininight

    Add python3 shebang snippet

    TimothyXu authored infininight committed
  2. @TimothyXu @infininight

    Use iTerm if running instead of Terminal

    TimothyXu authored infininight committed
    These commands will default to but will use iTerm instead if it is already running. Can also be customized by using the `TM_TERMINAL` variable set to `iTerm`.
  3. @TimothyXu @infininight

    Use path to call bash

    TimothyXu authored infininight committed
    This helps prevent version issues if a user installs a different bash version. Commands also updated to v2 format.
Commits on Oct 24, 2014
  1. @infininight

    Don't let regex extend outside of string bounds

    infininight authored
    This corrects an issue with legal strings such as `r'('` and `r'[[]'`. Fixes #1.
Commits on Sep 4, 2014
  1. @schinckel
Commits on Aug 21, 2014
  1. @infininight

    Revert "Add frosted to the list of checkers"

    infininight authored
    Incomplete commit added during a pull request. This reverts commit a03dc52. #ignore
Commits on Jun 18, 2014
  1. @infininight

    Point to ruby 1.8 shim

    infininight authored
    Using a shim allows us to catch when 1.8 of ruby is not present and provide other options.
Commits on Mar 31, 2014
  1. @sorbits
Commits on Mar 25, 2014
  1. @infininight

    Update comments for pycheckmate

    infininight authored
    Remove mention of subversion repository, for contributors see 'git log'.
  2. @acdha @infininight

    PyCheckMate: Add Python 3 support

    acdha authored infininight committed
    * Use print function (supported back to Python 2.6)
    * Versioned import for urllib.quote / urllib.parse.quote
    * Updated except syntax
    * Declare a file encoding
    * Bump version number
Commits on Mar 22, 2014
  1. @acdha
Commits on Mar 6, 2014
  1. @sorbits

    Disable indent corrections for 2.0-alpha.9517

    sorbits authored
    With build 2.0-alpha.9517 a string value is not treated as a boolean. Presumably the value should be changed to ‘emptyLines’ but that will enable indent corrections for people using earlier builds, so we are delaying that change.
Commits on Oct 28, 2013
  1. @infininight

    Revert "Trigger “indent current line” after inserting a colon"

    infininight authored
    While this works for it's intended purpose (elif/else) it gets triggered in too many other places to be functional. Since we can't currently tell if we are on a line with an elif/else we have to remove this.
    This reverts commit ef08362.
Commits on Oct 27, 2013
  1. @sorbits

    Add squiggly braces as increase/decrease indent characters

    sorbits authored
    Although we have “indent as you type” disabled for Python, we should still strive to have correct indent patterns since we estimate indent after pressing return and (recently) typing a colon.
Commits on Oct 26, 2013
  1. @sorbits

    Trigger “indent current line” after inserting a colon

    sorbits authored
    Since we have disabled indent-as-you-type for Python, we don’t get the automatic decrease of indent when typing the else keyword in an indented if block.
    This commit adds the colon as a special case for triggering automatic indent of the current line. Ideally there would be an option to only partially disable TextMate’s indent-as-you-type so that this macro was not required.
Commits on Oct 21, 2013
  1. @infininight

    Disable string quote characters inside block strings

    infininight authored
    This allows manually typing the end of the string without getting four quotes, fixes #29.
  2. @infininight

    Remove special scoping of empty strings

    infininight authored
    We can now accomplish the same with left/right scope matches.
  3. @minrk @infininight
Commits on Sep 30, 2013
  1. @infininight

    Revert "Don’t use stack trace formatter if TM_PYTHON contains ‘3’"

    infininight authored
    The issue that caused this to be needed has been fixed in e62bab2. The exception catcher still does not work under Python 3 but it no longer causes an exception itself.
  2. @n8henrie @infininight

    Avoid Python3 "list.remove(x): x not in list" error

    n8henrie authored infininight committed
    Every time TextMate2 updates (and refreshes this file), I get the following error running in-app with Python3 (Python works fine).
    	Error in sitecustomize; set PYTHONVERBOSE for traceback: ValueError: list.remove(x): x not in list
    It looks like my sitecustomize is being run twice with Python3 (lines 20-25), which is provoking the error; the `os.environ['TM_BUNDLE_SUPPORT']` is removed the first time, so it gives an error trying to remove it the second.
    This problem has also been looked at [here](Homebrew/homebrew#16848) and [here](
  3. @mrabbitt @infininight

    Use Python 3 syntax for Try… snippets

    mrabbitt authored infininight committed
    This is compatible with Python 2.6 and higher, more info:
Commits on Aug 29, 2013
  1. @infininight

    Prevent self snippet from working inside strings

    infininight authored
    This is to prevent false positives when tabbing within a string, especially when inside another snippet. Fixes #26.
Commits on Aug 8, 2013
  1. @infininight

    Add python shebang line snippet (py⇥)

    infininight authored
    This is usable in any document provided the `py` trigger is at the very start of the document.
Commits on Jul 27, 2013
  1. @infininight

    Use version 1.8 of ruby for bundle items

    infininight authored
    10.7 and 10.8 only include ruby 1.8, so all bundle items have been written to work with that. Optionally supporting ruby 1.9 and 2.0 is problematic as these versions are not fully backwards compatible.
Commits on Mar 13, 2013
  1. @infininight
  2. @kevinsawicki @infininight

    Add gypi to fileTypes

    kevinsawicki authored infininight committed
Commits on Feb 21, 2013
  1. @sorbits

    Don’t use stack trace formatter if TM_PYTHON contains ‘3’

    sorbits authored
    This is a crude heuristic to test if the user is using Python3, for which our ‘’ (used to catch exceptions and present a nice hyperlinked stack trace) does not work.
    Closes textmate/textmate#812.
  2. @sorbits

    Update “Execute Line” command

    sorbits authored
    Incase of errors from ‘eval’ we simply show a tool tip with what we tried to evaluate rather than try to dump the stack. The stack dump code wasn’t working, closes #15.
    When evaluating the selection we now insert ‘ #=> ’ before the result. There was a typo in the code so previously a newline was always inserted before the result.
  3. @kevinsawicki @adamv

    Add gyp to fileTypes

    kevinsawicki authored adamv committed
    Signed-off-by: Adam Vandenberg <>
Commits on Feb 17, 2013
  1. @sorbits

    Ignore shebang when TM_PYTHON is set (⌘R)

    sorbits authored
    This way you can use a shebang that finds python via PATH (/usr/bin/env) but force TextMate to use a specific version.
Commits on Jan 11, 2013
  1. @sorbits

    Run command: Stack trace was missing first line

    sorbits authored
    Initially the Python script runner was written in Python and used execfile() to run the user script. This meant the runner itself had an entry on the stack trace which we explicitly had to skip.
  2. @sorbits

    Run command: Output links even for untitled documents

    sorbits authored
    I assume the reason links were skipped for “TM_FILE_IS_UNTITLED” was because the original author didn’t bother adding the code to remove the URL-part of the txmt://-links. Since TextMate.executor handles conversion of the links, there should be no need to special-case the “untitled document” case in this file.
  3. @sorbits

    Let TextMate save (on ⌘R) unless document is untitled

    sorbits authored
    This is a subtle change but it means that all but untitled documents are saved by TextMate where previously the command would always be responsible for saving, which meant encoding, callbacks, and similar weren’t respected, and there was a theoretical synchronization problem (TextMate having to get notified that the file changed on disk and notice that it was (now) identical to the modified version in memory).
Commits on Sep 10, 2012
  1. @infininight
Commits on Aug 26, 2012
  1. @infininight

    Change tm-file: → file:

    infininight authored
Something went wrong with that request. Please try again.