簡體   English   中英

在PhpStorm中生成Getters和Setter時是否可以刪除自動生成的注釋

[英]Is it possible to remove automatically generated comments when generating Getters and Setters in PhpStorm

是否可以更改PhpStorm中的設置,所以我得到沒有注釋的功能? 當有20多個變量時刪除所有注釋真的很不愉快。

/**
* @return mixed
*/
public function getFoo() {
    return $this->foo;
}

這是非常不推薦的,但是Perferences-> Editor-> File and Code Templates-> Code(tab) - > PHP Getter Method / PHP Setter Method

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM