Theia: [preferences-widget] JSON objects should be rendered in the human-readable form

Created on 29 Aug 2018  路  5Comments  路  Source: eclipse-theia/theia

screen shot 2018-08-29 at 14 33 58

bug preferences

Most helpful comment

I believe with the recent preferences-widget updates the bug is no longer an issue?

All 5 comments

I don't think there is a human readable form given the very limited space.

I don't think there is a human readable form given the very limited space.

Can we render it as a tree? Similar to variables in the debug view.

in my opinion the difficult part is what to render for this one:

export const filesystemPreferenceSchema: PreferenceSchema = {
    'type': 'object',
    'properties': {
        'files.watcherExclude': {
            'description': 'List of paths to exclude from the filesystem watcher',
            'additionalProperties': {
                'type': 'boolean'
            },
            'default': {
                '**/.git/objects/**': true,
                '**/.git/subtree-cache/**': true,
                '**/node_modules/**': true
            }
        }
    }
};

we would need something like what swagger uses to get the info out from the schema

I believe with the recent preferences-widget updates the bug is no longer an issue?

Was this page helpful?
0 / 5 - 0 ratings