Skip to content
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

"commentend" has a hardcoded space? #10

Closed
Gama11 opened this issue Feb 6, 2017 · 3 comments
Closed

"commentend" has a hardcoded space? #10

Gama11 opened this issue Feb 6, 2017 · 3 comments

Comments

@Gama11
Copy link
Member

Gama11 commented Feb 6, 2017

I'm trying to configure codedox to generate comments with the style with which they're commently used in the Haxe standard library (and also vshaxe).

They look like this:

/**
	Description
**/

To achieve this, I added this setting: "commentend": "**/"

However, it looks like there's no way to avoid an extra space in front of **/ from being generated:

@wiggin77
Copy link
Member

wiggin77 commented Feb 6, 2017

Thanks. This is fixed via 616f9e6.

If you don't want to wait for a marketplace release (probably next week) you can haxe build-release.hxml from master and copy out/codedox.js to your extensions directory .../.vsode/extensions/wiggin77.codedox-1.2.3/out/codedox.js. Or just clone the repo there.

@wiggin77 wiggin77 closed this as completed Feb 6, 2017
@wiggin77
Copy link
Member

wiggin77 commented Feb 6, 2017

... also these settings should give you what you want:

"codedox": {
    "commentbegin": "/**",
    "commentprefix": "      ",
    "commentend": "**/",
}

@Gama11
Copy link
Member Author

Gama11 commented Feb 6, 2017

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants