Android Syntax
Sublime Text syntax highlighting for Android Open Source Project (AOSP) files.
Details
Installs
- Total 0
- Win 0
- Mac 0
- Linux 0
| Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 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 |
| 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 |
Readme
- Source
- raw.githubusercontent.com
Sublime Text Android Syntax
Sublime Text syntax highlighting for Android Open Source Project (AOSP) files.
Android Blueprint (.bp)
- Accurate Highlighting: Clearly distinguishes between module types, properties, variables, and language constructs like lists, maps, and
selectstatements. - Enhanced Code Navigation: Enables Go to Symbol for module definitions and Find References for module usages.
- Intelligent Word Handling: Correctly treats module names with hyphens (
-) and dots (.) as single, complete tokens.

Android Init (.rc)
- Clear Structure: Highlights
on,service, andimportsections, along with all standard triggers, commands, and service options. - Argument Scoping: Differentiates between paths, numbers, user/group names, and other arguments for improved readability.
- Full Syntax Support: Correctly handles comments, line continuations, and property expansions.

SELinux (.te)
- Comprehensive Rule Highlighting: Recognizes all major rule types, including
allow,neverallow,dontaudit,type_transition, and extended permissions (allowxperm). - Full Declaration Support: Correctly scopes
type,attribute,class,role,bool, and other declarations. - Advanced Constructs: Understands sets (
{}), theselfkeyword, conditionalif/elsestatements, and constraints. - M4 Macro Awareness: Highlights M4 macro definitions and calls, which are heavily used in Android's policy files.
- Enhanced Code Navigation: Enables Go to Symbol for declarations (types, attributes, macros, etc.) and Find References for their usages.

This is not an officially supported Google product. This project is not eligible for the Google Open Source Software Vulnerability Rewards Program.