This program is a JetBrains plugin tool that implements the editing for Jce/Tars files. The tool supports Intellij IDE such as Intellij IDEA, Android Studio, PhpStorm, Webstorm, Goland, and CLion.
- Keyword highlighting, code folding, breadcrumb navigation
- Static analysis and automatic repair
- Click to jump and view usage
- Code formatting and code style setting
- Smart prompt module and custom type
- Automatic prompt for include files
- Smart Renaming
- Automatically generate test cases
- Jump between java and jce
- Convert to protobuf file
Please check these screenshots to see the features in action.
This plug-in is in JetBrains Plugin Repository. You can find Jce Support through the Plugin entrance of the IDE, and you can install or update it online.
This method for installation is most recommended.
Download the jce-support-0.3.3.zip under the dist folder of this project, and then install the local plug-in through the Intellij Idea setup menu.
Note that the plug-in installed via this method will not be automatically updated
- supports tars
- compiles jce
- This project is developed using Intellij IDEA. Please refer to Intellij IDEA's Plugin Development, and Intellij IDEA Community Edition can maintain the plugin for this project
- The code under src/main/java is the logic of the plugin, and the code under src/main/resources is the resource file of the plugin
- Right click the files below and choose Run JFlex Generator. If asked to choose a directory, the project root can be a choice.
src/main/java/com/tencent/jceplugin/language/_JceLexer.flex
src/main/java/com/tencent/jceplugin/language/jcedoc/_JceDocLexer.flex
- Right click the files below and chooseGenerate Parser Code
src/main/java/com/tencent/jceplugin/language/jce-grammar.bnf
src/main/java/com/tencent/jceplugin/language/jcedoc/jcedoc.bnf
- The project is ready to go. Run
gradle runIde
to debug orgradle buildPlugin
to build.
We would like to thank the following people for their outstanding contributions during the project's development:
- Harvey Xu
- Kong Yuanyuan
There are also many friends and colleagues who have provided valuable suggestions, and we continue to welcome and value your support.