How to achieve inline values similar to debugger?
Answered
Hi All,
I'm trying to display text inline within the editor in a similar fashion to how the debugger displays inline values.
If anyone could help me achieve the desired effect it would be much appreciated!
Please sign in to leave a comment.
Here is what I found based on code in intellij-community:
Need to register the extension in plugin.xml
Couldnt manage to invoke this successfully.. Could you provide some example of invocation
This class is invoked by the IDE and in the getLineExtensions you add your extensions based on file and line number requested.
The sample I provided has all the logic for figuring out what to add removed because it is specific to my plugin and would confuse the issue. As is it should add the string to all lines, although I did not test it in a plugin.
Is your implementation not being invoked by the IDE?
I forgot to wrap the line in extensions tag since this is SOP: