Permalink
Commits on Aug 10, 2016
  1. Support annotations on top-level classes

    In code like the following, the annotation on the top-level class
    is not highlighted like an annotation:
    
    ```java
    @Amazing class Thing {}
    ```
    
    This change fixes that by including the `#annotation` rules
    at the top level.
    mkhl committed with infininight Aug 9, 2016
Commits on Aug 24, 2015
  1. Correct scope typos

    infininight committed Aug 24, 2015
  2. Allow annotations in enumerations

    Fixes #35
    pchaigno committed with infininight Aug 23, 2015
Commits on Jul 22, 2015
  1. Remove rules recognizing invalid escapes sequences

    According to the spec there are no invalid escape sequences,
    because the load() method will simply ignore a backslash before
    any character that does not denote a known escape sequence.
    sellmerfud committed Jul 22, 2015
Commits on Jul 9, 2015
  1. Rewrite grammar for Java Properties files.

    Recognize line continuations as a separate type of punctuation.
    Better handling for escape sequences in both keys and values.
    Display invalid escape sequences.
    Handle keys without values correctly.
    Add disableIndentCorrections := true for properties files as
    indent corrections are more annoying than helpful for this type of file.
    sellmerfud committed Jul 9, 2015
Commits on Mar 23, 2015
  1. Alter constant string snippet to be more standard

    Most style guidelines recommend that the keywords are in alphabetic order, so rearrange them to be in this order.
    
    See Google's style guidelines: https://google-styleguide.googlecode.com/svn/trunk/javaguide.html#s4.8.7-modifiers
    See the Java Language Specification: http://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.9
    
    Companion to commit 2024f8e
    xanderlent committed Mar 23, 2015
  2. Alter keyword order in constant snippet

    Most style guidelines recommend that the keywords are in alphabetic order, so rearrange them to be in this order.
    
    See Google's style guidelines: https://google-styleguide.googlecode.com/svn/trunk/javaguide.html#s4.8.7-modifiers
    See the Java Language Specification: http://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.9
    xanderlent committed Mar 23, 2015
Commits on Jan 22, 2015
Commits on Jun 18, 2014
  1. Point to ruby 1.8 shim

    Using a shim allows us to catch when 1.8 of ruby is not present and provide other options.
    
    #ignore
    infininight committed Jun 18, 2014
Commits on Jun 2, 2014
Commits on Apr 1, 2014
  1. Improve numeric literal matching

    Revised to be current as of Java SE 8, add test document. Fixes #26.
    infininight committed Apr 1, 2014
Commits on Feb 23, 2014
Commits on Sep 30, 2013
  1. Ensure variable name is not a reserved word

    Also do not allow variable name to be a carriage return, fixes #22.
    infininight committed Sep 30, 2013
Commits on Sep 29, 2013
  1. Don't indent after annotations

    Excludes @Annotation lines from indentNextLinePattern when they are on a line by themselves or are followed by `(`. Fixes #19.
    infininight committed Sep 29, 2013
  2. Rewrite grammar to better match spec

    This solves several issues with the previous grammar. Also change root scope to longer treat source.java as a parent grammar. Fixes #8 and #23.
    infininight committed Sep 29, 2013
  3. Simplify decreaseIndentPattern rule

    Simple require a closing brace at the start of a line to decrease the indent level rather than checking the rest of the line. This improves behavior in if/else cases where braces, etc are placed after the closing brace. Fixes #24.
    infininight committed Sep 29, 2013
Commits on Jul 27, 2013
  1. Use version 1.8 of ruby for bundle items

    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.
    
    #ignore
    infininight committed Jul 27, 2013
Commits on Mar 18, 2013
  1. Cleanup menu layout

    infininight committed Mar 18, 2013
Commits on Feb 24, 2013
  1. Fixes to "Create Package Declaration".

    1. Corrected escaping issue.
    2. Fixed regex that determines the default directory to stop at (e.g. src, tst).
    Brad Reynolds committed with infininight Feb 24, 2013
Commits on Feb 20, 2013
Commits on Feb 18, 2013
  1. Match comments in method definitions.

    Match comments that happen between the declaration and the opening of the braces.
    infininight committed Feb 18, 2013
  2. Change shortcut for 'Organize Imports' to ⌃#

    The original shortcut `⇧⌘O` conflicts with the shortcut for the 'Open Favorites' dialog.
    sellmerfud committed with infininight Feb 15, 2013
Commits on Feb 16, 2013
  1. Match empty braces as increasing indent

    This is required for TextMate’s auto-indent to behave correct, as when we press return after ‘if’ the indent is increased by one, i.e.:
    
        if(condition)
            ‸
    
    If the user type a single ‘{’ with auto-pairing of braces we end up with:
    
        if(condition)
            {‸}
    
    Here we should match that construct as “increasing indent” so that it gets de-indented (cancels the indent from the ‘if’ above).
    
    Fixes #16.
    sorbits committed Feb 16, 2013
Commits on Feb 14, 2013
  1. Refactor runner code (⌘R)

    Remove intermediate shell script that checked if we had ‘java’ and ‘javac’. Dependencies on these are now declared in the bundle item’s property list.
    sorbits committed Feb 14, 2013
  2. Remove custom error formatting

    This is unnecessary as TextMate.executor already does this, and as the custom code was using Ruby’s Pathname class, anything that was matched as a file, but didn’t exist on disk, would cause an error.
    sorbits committed Feb 14, 2013
Commits on Dec 7, 2012
Commits on Sep 10, 2012
Commits on Aug 16, 2012
  1. Improve comment.line match.

    infininight committed Aug 16, 2012
  2. Revamp grammar.

    infininight committed Nov 23, 2011
  3. Move folding settings.

    infininight committed Nov 22, 2011