最常见/喜欢的语法代码文档(评论)? [英] Most common/liked syntax for in-code documentation (comments)?

查看:152
本文介绍了最常见/喜欢的语法代码文档(评论)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用Notepad ++编写PHP多年了,但是今天我下载了Eclipse IDE。它的一个功能是自动完成某些语法模式,如注释。我已经看到了很多不同的方式来实现注释和文档到php文件,所以现在我开始想,我应该遵循Eclipse建议的语法。



这里是一个我的意思是:



您认为如何?



Martti Laine

解决方案<



http://www.phpdoc.org/


I've been coding PHP with Notepad++ for years now, but today I downloaded Eclipse IDE. One of its features is auto-completing certain "syntax-patterns", such as comments. I've seen a lot of different ways to implement comments and documentation into php-files, so now I started wondering, should I follow the syntax Eclipse suggests.

Here's a snap of what I mean:

What do you think?

Martti Laine

解决方案

it's phpdoc format, a way to auto document your code using comments.

http://www.phpdoc.org/

这篇关于最常见/喜欢的语法代码文档(评论)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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