This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Editing ### | |
| `Ctrl + Space` 基本代码完成(任意类的,方法的或者变量的名称) | |
| `Ctrl + Shift + Enter` 补全当前语句 | |
| `Ctrl + P` Parameter info (within method call arguments) | |
| `Ctrl + Q` 快速查找文档 | |
| `Ctrl + 鼠标滑过` 简明信息查看 | |
| `Ctrl + F1` 在插入符号处显示错误或者警告信息 | |
| `Alt + Insert` 生成代码...(Getters,Setters,Constructors) | |
| `Ctrl + O` 重写方法 | |
| `Ctrl + I` 实现方法 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 使用 userAgent 判断是否微信内置浏览器 | |
| // 不推荐使用 用户可能会自行修改浏览器的 userAgent | |
| if( navigator.userAgent.toLowerCase().indexOf('micromessenger') > -1 || typeof navgator.wxuserAgent !== "undefined" ) { | |
| return true; | |
| } | |
| // 使用微信 JS 对象判断是否微信内置浏览器 | |
| // 建议使用此方法进行判断 | |
| if( typeof WeixinJSBridge !== "undefined" ) { | |
| return true; |