BlueGlassBlock / better-json5

JSON5 support for Visual Studio Code, done right
https://marketplace.visualstudio.com/items?itemName=BlueGlassBlock.better-json5
Other
12 stars 1 forks source link

Trigger Suggestions when Typing "" #9

Open Bryan-Legend opened 3 days ago

Bryan-Legend commented 3 days ago

When I was using the built in JSON mode to edit my files with a schema, I could press " to begin typing a key and it would list all of the available key via intellisense.

That's doesn't seem to be possible with this extension. The intellisense pops up when I type the first character of a key but I can't get a full list to browse thru.

Please list the full list of keys when I have an empty key via typing "". Or is there a hot key for this? I tried CTRL+. but it said no code actions available.

Bryan-Legend commented 3 days ago

image

BlueGlassBlock commented 2 days ago

Ctrl + Space triggers code completion correctly on my side: image

Consider consulting your "Trigger Suggest" shortcut combination: image

As for "" and '' not triggering suggestion, I think that's because the filterText provided in suggestions but I haven't further investigated.

Bryan-Legend commented 2 days ago

Both Ctrl+Space and Ctrl+I are working for me. THank you!

Bryan-Legend commented 2 days ago

Also, you could trigger suggestions after a comma is typed, since that would imply a key is about to be typed.