You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When two comments come after one another, grainformat will add extra newlines between them. This is a problem because it breaks graindoc.
Here's an example:
/**
* Some graindoc documentation
*
* @param foo: bar
* @returns foo
*/
// TODO: We need to do something
let baz = foo => foo
In the above example, formatting the code will insert an empty line between the graindoc comment and // TODO comment. Graindoc only works if it is on 1 (or 2 because of annotations) lines before the definition.
The text was updated successfully, but these errors were encountered:
When two comments come after one another, grainformat will add extra newlines between them. This is a problem because it breaks graindoc.
Here's an example:
In the above example, formatting the code will insert an empty line between the graindoc comment and
// TODO
comment. Graindoc only works if it is on 1 (or 2 because of annotations) lines before the definition.The text was updated successfully, but these errors were encountered: