• <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>

    IntelliJ IDEA怎么快速注釋多行代碼

    很多使用IntelliJ IDEA做開發的小伙伴,不知道該如何快速注釋多行代碼,使用Ctrl+/ 注釋會有很多注釋符號,等等問題!下面小編就教你如何快速注釋多行代碼!

    東西/原料

    • 電腦:win7,64位
    • 軟件:IntelliJ IDEA15

    方式/步調

    1. 1

      用IntelliJ IDEA打開您的網頁文件

    2. 2

      拖鼠標,選中需要一路注釋的多行代碼

    3. 3

      點擊頂部菜單欄中的【Code--Comment With Block Comment】注釋代碼塊

    4. 4

      代碼注釋當作功,如圖所示:

    5. 5

      利用快捷鍵注釋:選中代碼后,按Ctrl+Shift+/ 即可注釋代碼塊!

    方式總結:

    1. 1

      常規方式:

      1、用IntelliJ IDEA打開文件

      2、選中代碼塊

      3、點擊【Code--Comment With Block Comment】

      快捷鍵方式:

      1、選中代碼塊

      2、按按Ctrl+Shift+/ 斜杠

    注重事項

    • tips1:建議利用快捷鍵按Ctrl+Shift+/注釋,便利快速!
    • tips2:注釋后,若是想打消注釋,再次執行注釋方式即可(說人話就是往返操作)
    • 發表于 2020-01-20 20:01
    • 閱讀 ( 1461 )
    • 分類:其他類型

    你可能感興趣的文章

    相關問題

    0 條評論

    請先 登錄 后評論
    聯系我們:uytrv@hotmail.com 問答工具
  • <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>
    久久久久精品国产麻豆