redhat-developer / redhat-developer/vscode-yaml
Improve smart select
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description

Steps to Reproduce:
editor.action.smartSelect.expandwithin parenthesis, backticks, single/double quotes containing a space, an hyphen, etc. (It seems ok with brackets or curly brackets).
Expected:
- A step selecting everything inside quotes.
- A step selecting everything outside quotes.
Result:
- Jumping outside quotes.
https://github.com/microsoft/vscode/issues/100081
Version: 1.46.0 (user setup)
Commit: a5d1cc28bb5da32ec67e86cc50f84c67cc690321
Date: 2020-06-10T09:03:20.462Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
Contributor guide
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
Reproduce the behavior with editor.action.smartSelect.expand using the quoted, backticked, parenthesized, spaced, and hyphenated examples in the issue. Start by comparing the repository's handling of this command with the linked VS Code issue, then verify that expansion selects the expected text inside and outside quotes without jumping past them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100