TarsTools
A JetBrains plugin for editing Jce/Tars files
Install / Use
/learn @TarsCloud/TarsToolsREADME
Jce/Tars Support
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.
<!-- Plugin description -->
This plugin supports the editing of the Jce/Tars file, providing the following features:
- 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/tars
- Convert to protobuf file
If any question, contact with harveyxu @ wechat work or kongyuanyuan@yuewen.com
<!-- Plugin description end -->Please check these screenshots to see the features in action.
Installation
Network installation
This plugin has been deployed to JetBrains Plugin Repository. It is recommended to install and update through Plugins settings of your IDEs. You may search Jce Support through the Plugin entrance of the IDE, and install or update it accordingly.
Local installation
Download from the releases of this project, and then install the local plugin through the Intellij Idea setup menu.
Note that the plugin installed via this method will not be automatically updated
Todo
- [x] supports tars
- [ ] compiles jce
Maintenance Instructions
- This project is developed using Intellij IDEA. Please refer to Intellij IDEA's Custom Language Support, and Intellij IDEA Community Edition can be used 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.flexsrc/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.bnfsrc/main/java/com/tencent/jceplugin/language/jcedoc/jcedoc.bnf
- The project is ready to go. Run
gradle runIdeto debug orgradle buildPluginto build.
Acknowledgement
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.
Related Skills
openhue
343.3kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
343.3kElevenLabs text-to-speech with mac-style say UX.
weather
343.3kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
