This may be anycode-rust-specific, or it may apply to whole anycode (I don't know).
Unfortunately, anycode + anycode-rust doesn't work with VS Code built-in command "Fold All Block Comments" (editor.foldAllBlockComments). Based on AI, VS Code needs the ranges and they need to have kind set/returned as "comment".
In case you do implement this, in addition to rustdoc comments /// and //! please also support folding of non-doc comment blocks starting with //, and ones between /* and */.
This may be anycode-rust-specific, or it may apply to whole anycode (I don't know).
Unfortunately, anycode + anycode-rust doesn't work with VS Code built-in command "Fold All Block Comments" (editor.foldAllBlockComments). Based on AI, VS Code needs the ranges and they need to have
kindset/returned as "comment".In case you do implement this, in addition to rustdoc comments /// and //! please also support folding of non-doc comment blocks starting with //, and ones between /* and */.