Need a suggestion for custom language autocomplete

Hi!

I wonder if there any way of giving a short documentation on method in autocomplete. Standard Presentation is not accesible as long as it doesn't have enough space even for full method signature, it could be, e. g.:

^method:init[$.param1[test] $.param2[remote host here] $.param3[remote user here] $.param4[remote password here]]

It would be good if I could somehow show method signature and a short description with smaller font under method in the autocomplete window. Where to go?

1 comment
Comment actions Permalink

Hello Valeriy,

You can use LookupElementDecorator.withRenderer() to customize how an item
in a completion list is rendered.

I wonder if there any way of giving a short documentation on method in
autocomplete. Standard Presentation is not accesible as long as it
doesn't have enough space even for full method signature, it could be,
e. g.:

^method:init[$.param1[test] $.param2[remote host here] $.param3[remote
user here] $.param4[remote password here]]

It would be good if I could somehow show method signature and a short
description with smaller font under method in the autocomplete window.
Where to go?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.