Open Vasanthi-S opened 8 years ago
Can you provide an input and expected output? That way it's easier to understand what you're trying to achieve. Thanks!
Sure, here is an example(shared using gist.github) where a JSDoc comment is being formatted(using JSDT formater): https://gist.github.com/Vasanthi-S/1c3203db70ec464e7b978a9e1d587d46
I am not able to find properties in default.json which I could set to achieve a similar formatting using esformatter.
Please use https://gist.github.com/ or a similar service that doesn't require download files to view code.
Sorry, here is the file share link: https://gist.github.com/Vasanthi-S/1c3203db70ec464e7b978a9e1d587d46
Please let me know if there are any updates on this issue.
we don't support this, and think this should be handled by a plugin.
Hi,
I am using esformatter plugin in my code and have made some settings for formatting of code. I am trying to make some settings for comments - block/line comments. But apart from few whitespace and indent proeprties for block comments, I do not see any properties under "lineBreak" to make any settings.
I also see some options using lineBreak.before.CommentGroup (https://github.com/millermedeiros/esformatter/commit/cf7ddf19eae393df791052c8024e769fc66123ca), which also doesnt seem to help.
Also there are mentions about add-on plugins like https://github.com/briandipalma/esformatter-spaced-lined-comment.
Summary of issue: Not seeing easy options to make settings for Block and Line comments in esformatter.