monaco-promql icon indicating copy to clipboard operation
monaco-promql copied to clipboard

Gathering interesting features of monaco-editor

Open celian-garcia opened this issue 4 years ago • 5 comments

Hover informations

image

celian-garcia avatar May 01 '20 10:05 celian-garcia

Created a dedicated feature request for hover information #7

celian-garcia avatar May 01 '20 10:05 celian-garcia

I guess we could align the features provided by codemirror-promql or at least tried to.

For example, it could be interesting to provide the autocompletion of the metrics/labels using a remote prometheus server

Nexucis avatar Feb 02 '21 00:02 Nexucis

Sure, I think I can do a quick win on error management as well. How did you get the error messages, you copied them in from somewhere ?

celian-garcia avatar Feb 02 '21 07:02 celian-garcia

#23 created for dynamic auto completion

celian-garcia avatar Feb 02 '21 07:02 celian-garcia

I provided an errorHandler with a default implementation that doesn't do anything with the error.

But like that, it's up to the user to choose how to deal with the error

Nexucis avatar Feb 02 '21 09:02 Nexucis