redhat-developer / yaml-language-server

Language Server for YAML Files
MIT License
1.09k stars 265 forks source link

Feature Request: document symbols to provide string values #184

Open amiramw opened 5 years ago

amiramw commented 5 years ago

Currently document symbols returned are only keys of primitives, objects and arrays. Keys of primitives are returned with kind 15 (String).

Is it possible to return also values, specifically strings? This will allow showing a reacher outline that shows also the values of the properties (short ones) and not only the keys.

I guess the kind of keys can change to 20 (Key) and the kind of value strings can be 15 (String).

bd82 commented 4 years ago

Could this feature be implemented at the level of this repository?

Should a feature request be opened in the vscode-json-languageservice repo?

JPinkney commented 4 years ago

Yeah I don't think this is something that can be implemented here, but it would be an interesting add if its possible