redhat-developer / redhat-developer/vscode-yaml

Navigating sequences of mappings by property value

Open
#882 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Discussed in https://github.com/redhat-developer/vscode-yaml/discussions/862

Originally posted by cutecycle December 28, 2022
I was wondering: is this a thing that makes sense to want, or should I rethink my schema?

Say I have a file that is a list of objects:

- name: do the thing
  priority: 0
- name: do the other thing
  priority: 1

If I want to navigate to "do the thing," I'd have to Ctrl-F since the outline just shows the list with no other information:

image
image

Though the property value is listed in the outline
image

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

Start by reading the original issue and the linked discussion #862 to understand the expected outline behavior for sequences of mappings. The work is done when users can identify and navigate to list items by a property value, with the intended behavior agreed and verified in the VS Code outline.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.