gpt4 book ai didi

java - 如何删除 Netbeans 中自动生成的评论?

转载 作者:行者123 更新时间:2023-11-30 09:04:56 26 4
gpt4 key购买 nike

我在一个netbeans项目中做了一个jsp文件。 Netbeans 会自动添加包含作者、时间和项目名称的评论。我不想添加此信息。我试图通过 Netbeans > Tools > Templates > Web > JSP > Settings > User.properties file is now opened > Uncomment the user param in the user.poperties 并设置 user = 来删除它。这没有帮助。如何删除自动生成的评论?

<%-- 
Document : bbc
Created on : acb
Author : james
--%>

用户属性:

#
# Here, or in other properties files in this directory, you can define
# various properties that you want to make available to the template
# processor while creating various templates.
#

# uncomment the next line and specify your user name to be used in new templates
user =

我设置了 user = nothing。如何删除日期和文件名?

最佳答案

转到:工具 > 模板 > Web > JSP > 在编辑器中打开 。不要为此打开设置按钮。

删除:

<%-- 
Document : ${abc}
Created on : ${abc}
Author : ${abc}
--%>

关于java - 如何删除 Netbeans 中自动生成的评论?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25023869/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com