Make comment blocks foldable
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, rust
- Domain
- devtools
Research direction
Start by locating the folding-range implementation or entry point in anycode-rust and check how ranges are returned to VS Code. Verify support for rustdoc comments (/// and //!), non-doc // blocks, and /* */ blocks, with comment-kind ranges that work with editor.foldAllBlockComments; add or run the relevant folding tests if the project provides them.
Written by the indexing model from the issue text.
Description
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 */.
- Dominant language
- JavaScript
- Stars
- 387
- Forks
- 47
- Avg merge
- 20h 2m
- Merged PRs (30d)
- 1
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode-anycode
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/vscode-anycode#185 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
microsoft/vscode-anycode#149 ·
-
Usage examplesOpen
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/vscode-anycode#128 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
microsoft/vscode-anycode#78 ·
-
Localize this extension using the Localization pipelineMay be free again @jrieken claimed this 1018 days ago, and no pull request is open. Openfeature-request
microsoft/vscode-anycode#77 · 2 comments · 1 assignee ·
All issues in microsoft/vscode-anycode
Similar issues
-
curriculum documentation quality
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
githubnext/gh-aw-workshop#3897 ·
Maintainers usually reply within 2 days
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
check:failed feeds:add
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
iptv-org/database#36179 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day