3 Star 8 Fork 0

zjh / var-name-helper-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

项目地址:https://gitee.com/zjhsda/var-name-helper-plugin

运行效果演示:https://www.baddonkey.cn/detail/32

如何使用?

1、直接下载最新版release包,拖到IDEA中安装
2、本插件接入百度翻译API,安装后,请先前往File->settings->Other Settings->Variable Name Helper Setting(或直接搜索Variable Name Helper Setting)中配置百度翻译API秘钥。
3、百度翻译API的获取方法,请参考百度翻译API官网文档,开通通用翻译服务。
4、配置完成后,在代码编辑界面,快捷键Alt+P(或alt+insert打开菜单入口),输入中文名,生成驼峰名,如果快键键冲突可自定义
5、双击选中字段,按alt+X,生成字段的javadoc注释

如何运行源码?

1、配置SDK,以IDEA2019.3.1版本为例:File->Project Structure->Project->Project SDK,选择自己的IDEA安装目录
2、配置好之后直接启动项目,会打开新的IDEA窗口

如何打包?

1、Build->Build Project
2、Build->Prepare Plugin Module 'xxxxxx' for Deployment
3、打包后的jar会生成在项目根目录下,直接拖到IDEA中即可安装
MIT License Copyright (c) 2022 zjh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

方便好用的IDEA插件,集成百度翻译API,根据中文一键生成驼峰,告别IDEA和翻译软件之间的频繁切换,彻底解决变量命名苦恼 展开 收起
Java
MIT
取消

发行版 (2)

全部
v2

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/zjhsda/var-name-helper-plugin.git
git@gitee.com:zjhsda/var-name-helper-plugin.git
zjhsda
var-name-helper-plugin
var-name-helper-plugin
master

搜索帮助