redhat-developer / redhat-developer/vscode-yaml

Improve smart select

Open
#307 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
829
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

vsc2

Steps to Reproduce:

  • editor.action.smartSelect.expand within 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.