tramm
V2EX  ›  Java

IDEA 怎么给方法添加自动注释?

  •  
  •   tramm · Apr 10, 2020 · 4567 views
    This topic created in 2408 days ago, the information mentioned may be changed or developed.

    类似 Eclipse 中的Automatically add comments for new methods and types.

    网上搜到的都是用 live templates 。还是要输入快捷键的。

    或者有没有插件?

    7 replies  •  2020-04-10 16:41:16 +08:00
    jimmyismagic
    jimmyismagic
    Apr 10, 2020
    1
    /**回车
    tyhuohuo8
    tyhuohuo8
    Apr 10, 2020 via iPhone
    2
    楼上正解
    tramm
    tramm
    OP
    Apr 10, 2020
    3
    @jimmyismagic 自动的方式啊。就是创建方法后,自动在上面

    /**
    * xxx
    */
    jzbax1230
    jzbax1230
    Apr 10, 2020
    4
    添加模板
    CheckTime
    CheckTime
    Apr 10, 2020
    6
    手动 Alt + Enter 不香吗
    daimazha
    daimazha
    Apr 10, 2020
    7
    Preferences | Editor | File and Code Templates
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1025 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 19:14 · PVG 03:14 · LAX 11:14 · JFK 14:14
    ♥ Do have faith in what you're doing.