bobbylight / RSyntaxTextArea

A syntax highlighting, code folding text editor for Java Swing applications.
BSD 3-Clause "New" or "Revised" License
1.1k stars 256 forks source link

Smali Syntax Highlighting #364

Open alissonlauffer opened 3 years ago

alissonlauffer commented 3 years ago

There are some projects such as Jadx which utilizes this project for showing Java/Smali code, but as of now there is no Smali syntax highlighting support.

bobbylight commented 3 years ago

@alissonlauffer If I make a test SNAPSHOT build available on Sonatype, can you or someone working on Jadx verify the syntax highlighting? Usually I don't implement syntax highlighting for languages I don't at least dabble in, but if someone were to double-check me I'm happy to add it.

This looks like a simple grammar for me to crib off of: https://github.com/psygate/smali-antlr4-grammar/blob/master/SmaliLexer.g4

alissonlauffer commented 3 years ago

can you or someone working on Jadx verify the syntax highlighting?

cc @skylot

skylot commented 3 years ago

can you or someone working on Jadx verify the syntax highlighting?

@bobbylight sure, I will apply and check Smali highlighting. Also, I will make a PR in jadx, so other people will be able to verify. 👍