redhat-developer / redhat-developer/yaml-language-server

Prettifying Example Payload Stopped Working

Open
#928 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.5k
Forks
352
Avg merge
2d 7h
Merged PRs (30d)
11

Description

Describe the bug

I created this issue a while back, supported with a PR, but it has stopped working. Any idea why? cc @gorkem @msivasubramaniaan

Expected Behavior

I expect when previewing the example, it should look well-formatted

Current Behavior

Looks like this
PXL_20231005_154531853

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

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 reviewing issue #889 and reproducing the example preview on macOS, comparing the expected well-formatted output with the attached screenshot. Trace the preview path in the YAML language server to identify where formatting stopped being applied. Done means the example preview is well-formatted again and the regression is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
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.