https://github.com/strazzere/Emacs-Smali
Smali/Baksmali mode for Emacs
https://github.com/strazzere/Emacs-Smali
Last synced: about 2 months ago
JSON representation
Smali/Baksmali mode for Emacs
- Host: GitHub
- URL: https://github.com/strazzere/Emacs-Smali
- Owner: strazzere
- License: gpl-3.0
- Created: 2011-03-07T17:32:51.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2019-01-28T18:16:49.000Z (over 6 years ago)
- Last Synced: 2025-02-09T22:41:14.461Z (3 months ago)
- Language: Smali
- Homepage: http://www.strazzere.com/blog
- Size: 42 KB
- Stars: 33
- Watchers: 6
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.md
Awesome Lists containing this project
- awesome-hacking-tools - Emacs syntax coloring for smali files
README
Smali/Baksmali mode for Emacs
=============================Overview
--------
Quickly through this together after seeing all the VIM smali syntax variantions.
I couldn't find one for emacs - and well, that's the editor I prefer so I mashed
this up. It's probably a really bad hack, but I've never made a mode for emacs,
currently I just used the default profile to load this in, feel free to commit and
make this better. Not everything is completed, but it's done enough to make reading
smali code much better already.Enjoy!
Tim Strazzere - [email protected]
Install
-------
Copy into your `.emacs.d/init.el` file in your home dir, if you don't have one, rename file to `~/.emacs.d/init.el`
Load up a `smali` file and enjoy!An example of such code:
(add-to-list 'load-path "~/.emacs.d/includes")
; load the smali/baksmali mode
(autoload 'smali-mode "smali-mode" "Major mode for editing and viewing smali issues" t)
(add-to-list 'auto-mode-alist '(".smali$" . smali-mode))Notes
-----
I personally use "//" comments, though these will not recompile in the publicly released
baksmali/smali packages.