We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c7a4a commit a56035dCopy full SHA for a56035d
crates/ide/src/folding_ranges.rs
@@ -690,4 +690,21 @@ type Foo<T, U> = foo<fold arglist><
690
"#,
691
)
692
}
693
+
694
+ #[test]
695
+ fn test_fold_doc_comments_with_multiline_paramlist_function() {
696
+ check(
697
+ r#"
698
+<fold comment>/// A very very very very very very very very very very very very very very very
699
+/// very very very long description</fold>
700
+<fold function>fn foo<fold arglist>(
701
+ very_long_parameter_name: u32,
702
+ another_very_long_parameter_name: u32,
703
+ third_very_long_parm: u32,
704
+)</fold> <fold block>{
705
+ todo!()
706
+}</fold></fold>
707
+"#,
708
+ );
709
+ }
710
0 commit comments