We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9528396 commit bdbc03dCopy full SHA for bdbc03d
1 file changed
crates/ark/src/lsp/code_action/roxygen.rs
@@ -127,6 +127,9 @@ pub(crate) fn roxygen_documentation(
127
let indent_size = position.column;
128
let documentation = documentation_builder(parameter_names, indent_size);
129
130
+ // The documentation string is inserted at the start position of the function
131
+ // name. This handles the indentation of the first documentation line, and makes
132
+ // new line handling trivial (we just add a new line to every documentation line).
133
Some(RoxygenEdit {
134
position,
135
documentation,
0 commit comments