redhat-developer / redhat-developer/vscode-yaml

Support better multi-root workspace configuration

Open
#927 0 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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/883

Originally posted by agreedSkiing February 2, 2023
I work in a project where we support a platform that has configuration that uses the default redhat.vscode-yaml for formatting with their settings defined in each .vscode/settings.json and some newer configuration projects that use prettier for formatting and here is where I run into a problem.

When opening multiple projects in a VSCode which creates a multi-root workspace the redhat.vscode-yaml configuration stops working ☹, and since there is no standard set in our projects the have different indentations and use of “ and ‘.
bild
So it would be a great improvement to support multi-root workspaces in a wider scope, since I can’t have a one config fits all here.

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 with Discussion #883 and reproduce the reported formatting failure in a VS Code multi-root workspace, using the per-project .vscode/settings.json files described there. The issue does not name implementation files or tests, so first identify the workspace-configuration entry points and agree on the expected behavior before making a change.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.