Beyond Compare set the Smali syntax highlighting method
Step One: Open the Beyond Compare software, select the text comparison session, and open the session operation interface. Click the Tools button and select the File Format tab in the expanded menu.
Beyond Compare Text comparison session operation interface legend
Step two: In the Open File Format window, click the "+" button at the bottom left of the interface, create a new text format type, named "Smali", File filter conditions for "*.smali", click the Save button when finished.
Beyond Compare Text Comparison tool menu file Format tab legend
Step three: Switch to the syntax selection card, click the "+" button in the interface to create the "keywords", "string" and "comment" three syntax, detailed configuration as shown in the following figure.
Keyword Syntax Configuration interface legend
String syntax matching rule legend
Annotation syntax matching rule legend
Step four: After the grammar project is created, add the keyword, string, comment three syntax to the matching rules table, and then close the File Format dialog box.
File Format Syntax tab interface legend
Step Five: Click the Toolbar View button to see the "syntax highlighting" option in the expanded menu, Beyond compare to highlight all Smali files.
Eyond Compare Text comparison View menu interface legend