Skip to content

validate settings JSON for sideloaded extensions

Warren Gifford requested to merge sideloaded-ext-settings-json-validation into main

Created by: sqs

Previously, the settings JSON Schema of a sideloaded extension was not passed to the Monaco settings editor. This meant that settings did not validate or complete using the sideloaded extension's schema. For example, if you had an extension that added a new property foo, you wouldn't see that property or its docs in the Monaco completion menu.

Now, the sideloaded extension's JSON Schema is passed to the Monaco editor (along with that of all the enabled extensions from the registry).

Screenshot where the Codecov extension is sideloaded showing that its properties are shown in the Monaco completion menu:

image

Merge request reports

Loading