Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
208 stars 49 forks source link

Docgenerator does not work if another function below has docstrings #241

Closed myOmikron closed 1 year ago

myOmikron commented 2 years ago
/**|<- cursor
void bar() { }

/**
 * Params:
 *  bar = Foo
 */
void foo(string bar) { }

Will get autocompleted to:

/** 
 * 
 * Params:
 *   bar = 
 */
void bar() { }

/**
 * Params:
 *  bar = Foo
 */
void foo(string bar) { }