Replies: 1 comment
-
Found old discussion on same topic so I'm closing this one |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Postman, you can write JSON similar to this:
I'd like to do something similar with Monaco but, in my use case, the variable would refer to another JSON object. Ideally, I'd love to trigger auto complete based upon that schema. Assume that
myVariable
contains the following structure:In my first example, I'd like to open autocomplete when the user types
{{myVariable
(or something similar) and have the autocomplete suggest "foo" as the completion. The final version would look like this:I'm not entirely sure where to start with this. I've tinkered with building a completion provider but I'm not sure how to "inject" the proper JSON schema. Would be grateful for any help on this.
Beta Was this translation helpful? Give feedback.
All reactions