-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DocBox commenting formatting #134
Comments
I am not sure about implementing everything here, but I did try out getting parameter descriptions and |
Wow that's great! |
Is there a way to get the spacing between them also? This is really a good visual of the doc code when params are tight together, /**
* get Java FileInputStream for resource bundle
*
* @rbFilePath path + filename for resource, including locale + .properties
* @path2 Another path
*
* @return java.io.FileInputStream
*
* @throws ResourceBundle.InvalidBundlePath
* @throws AnotherException
*/
public function getResourceFileInputStream( required string rbFilePath, path2 ){
} |
Are you referring to the empty lines? e.g. this: /**
* get Java FileInputStream for resource bundle
* @rbFilePath path + filename for resource, including locale + .properties
* @path2 Another path
* @return java.io.FileInputStream
* @throws ResourceBundle.InvalidBundlePath
* @throws AnotherException
*/
public function getResourceFileInputStream( required string rbFilePath, path2 ){
} would become this: /**
* get Java FileInputStream for resource bundle
*
* @rbFilePath path + filename for resource, including locale + .properties
* @path2 Another path
*
* @return java.io.FileInputStream
*
* @throws ResourceBundle.InvalidBundlePath
* @throws AnotherException
*/
public function getResourceFileInputStream( required string rbFilePath, path2 ){
} |
Yes
Luis Majano
CEO
Ortus Solutions, Corp
1-888-557-8057
909-248-3408
www.ortussolutions.com
Support Open Source: www.patreon.com/ortussolutions
Linked In: https://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/lmajano
…On Dec 7, 2021, 1:25 PM -0600, John Berquist ***@***.***>, wrote:
Are you referring to the empty lines? e.g. this:
/**
* get Java FileInputStream for resource bundle
* @rbFilePath path + filename for resource, including locale + .properties
* @path2 Another path
* @return java.io.FileInputStream
* @throws ResourceBundle.InvalidBundlePath
* @throws AnotherException
*/
public function getResourceFileInputStream( required string rbFilePath, path2 ){
}
would become this:
/**
* get Java FileInputStream for resource bundle
*
* @rbFilePath path + filename for resource, including locale + .properties
* @path2 Another path
*
* @return java.io.FileInputStream
*
* @throws ResourceBundle.InvalidBundlePath
* @throws AnotherException
*/
public function getResourceFileInputStream( required string rbFilePath, path2 ){
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@jcberquist Java Editors have two settings which are really helpful when formatting comments.
This aligns the hint portions of the params. This is normal:
This is the end result
@throws
descriptionson empty lines
The text was updated successfully, but these errors were encountered: