android studio 添加有趣的注釋模板 佛祖保佑無bug等

來源:互聯網
上載者:User

標籤:模板   .com   filter   lte   注釋   img   漢化   extend   template   

韓夢飛沙  韓亞飛  [email protected]  yue31313  han_meng_fei_sha

漢化包 百度雲端硬碟 :https://pan.baidu.com/s/1pLjwyeB


1.找到設定setting(Ctrl Alt S),,其實兩個都是一樣的


2.找到Editor中的Live Templates

3.點擊“ ”,點Templates group建立一個新的名字可以叫fozu

4.當建立成功後點這建立的名字再次點擊“ ”號,這次點擊第一個Live Templates,可以起名叫fozu(盡量以簡單為好)

5.點著你建立的fozu名字把在網上找到的自己感興趣的粘貼到裡面

6.粘貼好後要選擇文字框下方的Define中的EveryWhere打上對勾(這句話的意思是在任何地方都可以建立)

7.點到文本中隨意地方點擊fozu然後Enter鍵就會出來你建立的佛祖保佑、永無bug


下面幾個樣式:
////////////////////////////////////////////////////////////////////
//                          _ooOoo_                               //
//                         o8888888o                              //
//                         88" . "88                              //
//                         (| ^_^ |)                              //
//                         O\  =  /O                              //
//                      ____/`---‘\____                           //
//                    .‘  \\|     |//  `.                         //
//                   /  \\|||  :  |||//  \                        //
//                  /  _||||| -:- |||||-  \                       //
//                  |   | \\\  -  /// |   |                       //
//                  | \_|  ‘‘\---/‘‘  |   |                       //
//                  \  .-\__  `-`  ___/-. /                       //
//                ___`. .‘  /--.--\  `. . ___                     //
//              ."" ‘<  `.___\_<|>_/___.‘  >‘"".                  //
//            | | :  `- \`.;`\ _ /`;.`/ - ` : | |                 //
//            \  \ `-.   \_ __\ /__ _/   .-` /  /                 //
//      ========`-.____`-.___\_____/___.-`____.-‘========         //
//                           `=---=‘                              //
//      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        //
//         佛祖保佑       永無BUG     永不修改                  //
////////////////////////////////////////////////////////////////////


/**
*                             _ooOoo_
*                            o8888888o
*                            88" . "88
*                            (| -_- |)
*                            O\  =  /O
*                         ____/`---‘\____
*                       .‘  \\|     |//  `.
*                      /  \\|||  :  |||//  \
*                     /  _||||| -:- |||||-  \
*                     |   | \\\  -  /// |   |
*                     | \_|  ‘‘\---/‘‘  |   |
*                     \  .-\__  `-`  ___/-. /
*                   ___`. .‘  /--.--\  `. . __
*                ."" ‘<  `.___\_<|>_/___.‘  >‘"".
*               | | :  `- \`.;`\ _ /`;.`/ - ` : | |
*               \  \ `-.   \_ __\ /__ _/   .-` /  /
*          ======`-.____`-.___\_____/___.-`____.-‘======
*                             `=---=‘
*          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*                     佛祖保佑        永無BUG
*            佛曰:
*                   寫字樓裡寫字間,寫字間裡程式員;
*                   程式人員寫程式,又拿程式換酒錢。
*                   酒醒只在網上坐,酒醉還來網下眠;
*                   酒醉酒醒日複日,網上網下年複年。
*                   但願老死電腦間,不願鞠躬老闆前;
*                   平治寶馬貴者趣,公交自行程式員。
*                   別人笑我忒瘋癲,我笑自己命太賤;
*                   不見滿街漂亮妹,哪個歸得程式員?
*                                         --陳苗輝
*/


// ┏┓   ┏┓
// ┏┛┻━━━┛┻┓
// ┃       ┃  
// ┃   ━   ┃
// ┃ ┳┛ ┗┳ ┃
// ┃       ┃
// ┃   ┻   ┃
// ┃       ┃
// ┗━┓   ┏━┛
// ┃   ┃ 神獸保佑        
// ┃   ┃ 代碼無BUG!
// ┃   ┗━━━┓
// ┃       ┣┓
// ┃       ┏┛
// ┗┓┓┏━┳┓┏┛
// ┃┫┫ ┃┫┫
// ┗┻┛ ┗┻┛
同時為了備忘方便也可自己建立自己想要的備忘
/**
  * Text:
  * author:陳苗輝
  */

////////////////////////////////////////////////////////////////////
//                          _ooOoo_                               //
//                         o8888888o                              //
//                         88" . "88                              //
//                         (| ^_^ |)                              //
//                         O\  =  /O                              //
//                      ____/`---‘\____                           //
//                    .‘  \\|     |//  `.                         //
//                   /  \\|||  :  |||//  \                        //
//                  /  _||||| -:- |||||-  \                       //
//                  |   | \\\  -  /// |   |                       //
//                  | \_|  ‘‘\---/‘‘  |   |                       //
//                  \  .-\__  `-`  ___/-. /                       //
//                ___`. .‘  /--.--\  `. . ___                     //
//              ."" ‘<  `.___\_<|>_/___.‘  >‘"".                  //
//            | | :  `- \`.;`\ _ /`;.`/ - ` : | |                 //
//            \  \ `-.   \_ __\ /__ _/   .-` /  /                 //
//      ========`-.____`-.___\_____/___.-`____.-‘========         //
//                           `=---=‘                              //
//      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        //
//         佛祖保佑       永無BUG     永不修改                  //
////////////////////////////////////////////////////////////////////
public class MainActivity extends AppCompatActivity {
    @InjectView(R.id.editText)
    EditText editText;
    @InjectView(R.id.imageview)
    ImageView imageview;
    private Context mContext;下面不知為何刪除不掉,點不到最下面!

=========

 

android studio 添加有趣的注釋模板 佛祖保佑無bug等

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.