ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Aspect​J

by pchaigno ALL

AspectJ syntax highlighting for Sublime Text

Details

Installs

  • Total 596
  • Win 392
  • Mac 114
  • Linux 90
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7
Windows 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

Syntax highlighting for AspectJ

This package provides syntax highlighting for Sublime Text 2 and 3. It is also used to highlight AspectJ code on GitHub (in files, Gists and Markdown documents).

Installation

Package Control

I recommend using Package Control, the Sublime Text package manager to install this package. It is much more convenient.

Manual installation

To install this package manually, please do:

cd /tmp
wget -O sublime-aspectj.tar.gz http://github.com/pchaigno/sublime-aspectj/tarball/master
tar -xzvf sublime-aspectj.tar.gz
mv pchaigno-sublime-aspectj-*/*.tmLanguage ~/.config/sublime-text-2/Packages/User/

GitHub preview

public aspect CacheAspect {

    public pointcut cache(Cachable c): execution(@Cachable * * (..)) && @annotation(c);

    Object around(Cachable cachable): cache(cachable) {
        return proceed(cachable);
    }
}

License

This package is under MIT license.

The Java syntax is based on https://github.com/textmate/java.tmbundle.