microsoft / microsoft/vscode-sublime-keybindings
CMD+D: Select text between delimiters in CSS class names
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 257
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
It's more ideal to select between delimiters than full words when working with naming conventions like BEM/SMACSS. Sublime does this perfectly and also the feature works inside JS strings but all instances of CSS class names (CSS/SCSS/LESS/HTML/PHP ) only select the full word.
I don't mind looking into a solution if this isn't a toggle-able feature (might need some pointers where to start though??)
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
No files or tests are named. Start by inspecting the extension's VS Code keybinding configuration and how Sublime-style word selection is mapped; compare behavior for CSS, SCSS, LESS, HTML, and PHP class names. Done means CMD+D selects text between naming delimiters in those contexts rather than the full word, while retaining the existing behavior in JavaScript strings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100