idea如何自動添加版權(quán)許可證信息
更新時(shí)間:2023年07月27日 14:16:22 作者:varyuan
這篇文章主要介紹了idea如何自動添加版權(quán)許可證信息問題,具有很好的參考價(jià)值,希望對大家有所幫助。如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
idea設(shè)置版權(quán)許可證, 本例以apache2
為例
1.新建名為apache2的模板
2.將以下內(nèi)容
[name of copyright owner]
替換成你自己后,
復(fù)制到Copyright text
點(diǎn)擊Apply
Copyright $today.year [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
3.應(yīng)用許可證到當(dāng)前項(xiàng)目
4.新建一個(gè)類
可看到已自動添加版權(quán)許可證
總結(jié)
以上為個(gè)人經(jīng)驗(yàn),希望能給大家一個(gè)參考,也希望大家多多支持腳本之家。
相關(guān)文章
Spring-boot集成pg、mongo多數(shù)據(jù)源過程詳解
這篇文章主要介紹了Spring-boot集成pg、mongo多數(shù)據(jù)源過程詳解,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下2019-10-10解決idea spring boot 修改html等不重啟即時(shí)生效的問題
這篇文章主要介紹了解決idea spring boot 修改html等不重啟即時(shí)生效的問題,具有很好的參考價(jià)值,希望對大家有所幫助。一起跟隨小編過來看看吧2021-02-02SpringMVC實(shí)現(xiàn)文件上傳下載功能
這篇文章主要為大家詳細(xì)介紹了springMVC實(shí)現(xiàn)文件上傳和下載的方法,文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2022-05-05Java修改eclipse中web項(xiàng)目的server部署路徑問題
這篇文章主要介紹了Java修改eclipse中web項(xiàng)目的server部署路徑,本文給大家介紹的非常詳細(xì),對大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2020-11-11