-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a command for checkbox content selection #1089
Comments
A list item is a container block. If the task list is a loose list, how many lines should we select? Does such selection have any practical use? |
Well, if you're not aware of complex loose list, please take look at the "Tasks" section in #1054 |
Strikethrough is a common way to mark a checkbox line as done. And I personally use the other two to mark a check line as the current task or of high priority. The thing is, if we apply styles to the whole line the checkbox will be rendered as normal text: - [ ] Just do it. instead of:
I'm aware of the complex loose list now that you mentioned it. Though we can simply select only one line or all the lines, I suggest an alternative approach: how about adding a setting option to allow users to decide which special patterns are treated like strikethrough ( vscode-markdown/src/formatting.ts Lines 346 to 350 in 6b922fb
In this way setting |
I see this can be (somehow) useful for certain users (that's why we have it for Although it is a valid feature request, I don't think it is worth doing so far. We need to wait for more feedback from other users. |
Is it okay that I do it and create a pr? I use a This feature simply provides more options. It's very useful for certain users and doesn't interfere with other users. |
I recommend that you create a customized private fork. PR implies a transfer of responsibility. If you open a PR here, we would have to go a lengthy review to ensure reliability, which doesn't make much sense for an uncertain experiment. |
Yes I could do a private fork. It's my last resort though: To enjoy new features I'll have to merge with the latest code manually from time to time. Thx for your response anyway. |
Proposal
Add a command to select the content of a checkbox line
e.g. "Just do it." is the content of the following checkbox line:
It's useful because often I want to mark the whole checkbox content as highlighted or bold or struck-through, like this:
A command to select the content of a checkbox line can significantly reduce the operation required for this purpose. Please consider.
References
The text was updated successfully, but these errors were encountered: