简体   繁体   English

WebStorm / PHPStorm for Javascript的自定义注释语法?

[英]Custom comment syntax for WebStorm/PHPStorm for Javascript?

I'm having a hard time to figure out how the change the comment style in Jetbrains. 我很难弄清楚如何更改Jetbrains中的评论样式。 When typing /** and enter, it fills in JSDoc compatible comments. 输入/ **并输入时,它将填写JSDoc兼容注释。 Are there any quick solutions to change this template ? 是否有任何快速解决方案来更改此模板? thank you! 谢谢!

You should try: Settings (Section IDE Settings) -> File and Code Templates -> PHP Function Doc Commment. 您应该尝试:设置(IDE部分的设置)->文件和代码模板-> PHP函数文档注释。

You can change that template to your liking. 您可以根据自己的喜好更改该模板。 There is a list with all available placeholders, too. 也有一个包含所有可用占位符的列表。

There is no way to make doc comments generation use the different comment style. 无法使文档注释生成使用不同的注释样式。 If you miss this feature, please create a request in youtrack 如果您错过此功能,请在youtrack中创建一个请求

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 注释对WebStorm / PhpStorm中的Sass文件的支持 - Comment support for Sass files in WebStorm/PhpStorm WebStorm和PhpStorm的自定义代码段 - Custom code snippet for WebStorm and PhpStorm 导入不在PhpStorm / Webstorm中使用JavaScript - Import not working with JavaScript in PhpStorm/Webstorm 将自定义js库添加到webstorm / phpstorm - adding custom js libraries to webstorm / phpstorm 有没有办法让PhpStorm / WebStorm在预览中使用自定义域? - Is there a way to get PhpStorm/WebStorm to use a custom domain in previews? 如何在 WebStorm / PhpStorm 中启用自定义 Angular 库的自动导入? - How to enable auto import for custom Angular library in WebStorm / PhpStorm? 自动导入的组件在 PhpStorm/WebStorm 中被标记为自定义 html 标签 - Auto-imported components are marked as custom html tags in PhpStorm/WebStorm 如何在PhpStorm或WebStorm中逐行运行JavaScript代码? - How to run JavaScript code line-by-line in PhpStorm or WebStorm? PhpStorm / WebStorm配色方案-TypeScript / JavaScript-如何定位注入的服务 - PhpStorm / WebStorm color scheme - TypeScript / JavaScript - how to target injected service WebStorm / PhpStorm和JavaScript ES6:无法识别解构分配 - WebStorm/PhpStorm and JavaScript ES6: destructuring assignment not recognized
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM