在IntelliJ中,要创建注解块,我可以执行CmdOpt/,但它不会在所有行中填充*
。此外,按Enter键将转到新行,而不向下复制*
。有没有办法自动填充东西,让它看起来更像这样?
/*
* Copyright (c) 2022 by Bob Jones
*
* The MIT license.
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
1条答案
按热度按时间qv7cva1a1#
在评论上点击Alt+Enter,然后从操作列表中选择“Replace with JSDoc Comment”Intent。