oni2 icon indicating copy to clipboard operation
oni2 copied to clipboard

Feature Request - Config file autocomplete

Open benwainwright opened this issue 5 years ago • 2 comments

In VsCode, its very easy to discover what configuration is available without reading the documentation because

  • There is a searchable GUI available
  • The JSON file gets autosuggestions complete with documentation tooltips for each settings

Now I'd be perfectly fine with there being no GUI for the config, but I think to help people quickly create the experience they want in Oni2 (and therefore be more likely to stick around), config autosuggestions is a no-brainer.

Is this planned at all?

(PS. I am trying to search existing issues before I raise new ones now but I couldn't find this one anywhere...)

benwainwright avatar Dec 14 '20 12:12 benwainwright

In VSCode, this is possible because the JSON contains a schema attribute. This is also used by coc-vim --- therefore, using coc you can get autocomplete in files like the Windows Terminal settings file as well.

djsavvy avatar Feb 08 '21 03:02 djsavvy

this is possible because the JSON contains a schema attribute

@djsavvy No it doesn't. Here is an example of a more or less empty JSON preferences file that is still getting autocompletion.

image

benwainwright avatar Dec 22 '21 17:12 benwainwright