RSyntaxTextArea icon indicating copy to clipboard operation
RSyntaxTextArea copied to clipboard

Smali Syntax Highlighting

Open alissonlauffer opened this issue 5 years ago • 3 comments

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.

alissonlauffer avatar Oct 30 '20 06:10 alissonlauffer

@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

bobbylight avatar Mar 14 '21 06:03 bobbylight

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

cc @skylot

alissonlauffer avatar Mar 14 '21 06:03 alissonlauffer

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. 👍

skylot avatar Mar 14 '21 07:03 skylot