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

Aspect​J

by pchaigno ALL

AspectJ syntax highlighting for Sublime Text

Details

Installs

  • Total 594
  • Win 390
  • Mac 114
  • Linux 90
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 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8
Windows 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 2 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
Linux 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 0 0 0 0 0 0 0 0

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.