Currently we only support redocly.yaml file located in the root folder as the Redocly config file for VS Code.
We want to allow using different config files (similarly as we do in Redocly CLI using --config option).
How should we improve it?
We could either:
Resolve workspace configs (depending on the monorepo structure)
Resolve current closest redocly.yaml file
Allow users to provide path to a specific config file (e.g. through a config dialog window)
Why should we improve it?
Users might use monorepo structure (or any other complex file structure).
Describe alternatives you've considered
Doing nothing. Users may move their redocly.yaml files to the root level (or use a symlink to the actual config file).
Adding that we have something similar in other projects that might inform our approach (internal link with apologies to external contributors!) https://github.com/Redocly/redocly/pull/3252
What should we improve?
Currently we only support
redocly.yaml
file located in the root folder as the Redocly config file for VS Code. We want to allow using different config files (similarly as we do in Redocly CLI using--config
option).How should we improve it?
We could either:
redocly.yaml
fileWhy should we improve it?
Users might use monorepo structure (or any other complex file structure).
Describe alternatives you've considered
Doing nothing. Users may move their
redocly.yaml
files to the root level (or use a symlink to the actual config file).