Giter Site home page Giter Site logo

varname-go-die's Introduction

varname-go-die

一个小巧的Android Studio插件,主要有两个功能:
  1. 在代码编辑区输入中文时,可以使用该插件联网翻译成英文并替换成指定变量名称格式。
  2. 在代码编辑区输入英文时,可以使用该插件转换成指定变量名称格式

优点

  1. 设置里可以根据自己的代码风格设置生成格式,写变量名更方便
  2. 遇到变量名英文不会写不需要打开翻译软件查找,直接在编辑器中即可自动生成

效果图

快速变量格式转换

变量风格设置

安装

  • Android Studio: 打开Settings → Plugins → Browse repositories 查找 varname-go-die进行安装 你也可以
  • 下载jar包 通过Settings → Plugins → Install plugin from disk进行安装

使用

  • 在编辑器中输入单词或中文,Ctrl+W选取,再按Shift+H(默认快捷键,可以在设置中修改)即可弹出选择对话框,也可以选择单词或词组后点击主菜单栏Edit → ChangeVar
  • 可以在Settings → Other Settings → VarNameGoDie 中设置自己想要列表弹出的变量格式

注意

  • 使用Shift+H做快捷键会拦截掉输入大写H的事件,建议在Settings → Keymap中搜索插件名改成自己顺手的快捷键

varname-go-die's People

Contributors

lololiu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.