我找不到这个选项。例如,当我创建一个新的 Scala 类时,以下文本将放置在文件中:
/**
* Created by ben on 6/23/14.
*/
In IntelliJ 13 and above it is in the File and Code Templates
area of the settings dialog. In Idea 15+ you can get there by typing ctrl+shift+A on windows or cmd+shift+A on osx and then typing Include Templates
in the popup action search dialog. There should be a tab called Includes
on which you will find the Java and ActionScript file types, and the text can simply be removed completely if you like.
But, in more recent versions of IntelliJ things have got quite a bit easier. The first time it generates this stuff, put your cursor in the generated comments and hit alt-enter (or the equivalent according to your key-mapping preferences) to bring up the 'fix' options, and select 'edit template'. This will bring you right to the setting that needs to be updated. Simply remove all the text (or replace it with something more palatable to you), hit enter and you're done.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)