PHPDoc在Notepad ++中的注释? [英] PHPDoc Comments in Notepad++?

查看:462
本文介绍了PHPDoc在Notepad ++中的注释?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常喜欢在Notepad ++工作,但我还没有找到一个插件来自动做PHPDoc风格的评论。其他PHP IDE(Eclipse,NetBeans,ZendStudio)包含这个功能,非常方便。

基本上我想要的是,如果在上面的函数定义或类定义我键入:

  / ** 

它自动填充PHPdoc格式(类似下面的函数):

  / ** 
*
* @param $ first_argument
* @param $ second_argument
* @return
* /



然后当我输入注释的其他行时,每行都以星号开头。



有没有一个NP ++插件来实现这一点,或者是一种调整NP ++以使其工作的方法?

解决方案

Notepad ++语法荧光笔可以识别文档注释,它实际上不会解析它们并为您生成相应的自动填充代码,也没有允许您即时插入文档注释的任何代码段功能。


I very much enjoy working in Notepad++, but I haven't yet found a plugin to automatically do PHPDoc style comments. Other PHP IDE's (Eclipse, NetBeans, ZendStudio) include this feature, and it's quite handy.

Basically what I want is, if on the line above a function definition or class definition I type in:

/**

It automatically populates the PHPdoc format (something like the following for a function):

/**  
 * 
 * @param $first_argument
 * @param $second_argument
 * @return
 */

Then when I type in additional lines to the comment, it starts each line with an asterisk.

Is there a NP++ plugin that accomplishes this, or a way to tweak NP++ to make it work?

解决方案

While Notepad++'s syntax highlighter recognizes doc comments, it does not actually parse them and generate the corresponding autocomplete code for you, nor does it have any snippet features that allow you to insert doc comments on the fly.

这篇关于PHPDoc在Notepad ++中的注释?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆