[ https://issues.apache.org/jira/browse/NETBEANS-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175491#comment-17175491 ]
Christian Lenz commented on NETBEANS-1771: ------------------------------------------ Afaik this is possible, but just for the Java editor and for text infront of smth (function/method parameters). But we need this for every language which is supported in the Editor and it must be possible to have virtual text in front (which is working), above and behind. I think there is no real use case for below. The examples above shows you the exact use cases for that. And here is one more to have real time results in a JS/TS editor: https://quokkajs.com/ > Read only characters should be possible inside Editor > ----------------------------------------------------- > > Key: NETBEANS-1771 > URL: https://issues.apache.org/jira/browse/NETBEANS-1771 > Project: NetBeans > Issue Type: New Feature > Components: editor - Painting & Printing > Affects Versions: Next > Reporter: Christian Lenz > Assignee: Jan Lahoda > Priority: Major > > In some Editors/IDEs like VS Code and the JetBrains family, it is possible > that plugins or core functionalities, can print characters/words/whatever > into the editor like showing the parameter names, when you call a function or > debugging stuff right after the variables/functions or git annotations or > complexity indices and and and. This is possible while adding stuff, which is > only printed out to the editor as read only and not as normal text. Here are > some links for what I mean: > VS Code - Show complexity: > https://code.visualstudio.com/assets/blogs/2017/02/12/codemetrics.png > (Between Line 23/24) > It will not add a new line, it is part of line 24 and read only, sometimes > clickable, depends of what the functionality brings. > VS Code - Git Information: > https://code.visualstudio.com/assets/blogs/2017/02/12/preview_gitlens.gif > (More complex example, but this ticket is not to implement such a feature, it > is to implement the read only stuff to print stuff into the editor, which > will not affect the Lines and is only one string which is not possible to > edit.) > IntelliJ Debugging Info: > https://d3nmt5vlzunoa1.cloudfront.net/webstorm/files/2018/01/evaluate-expression.png > (On line 9, 10, 11 and 14, you can see the the debug info is right after the > EOL) > IntelliJ parameter hints: > https://d3nmt5vlzunoa1.cloudfront.net/idea/files/2016/12/idea_2017_1_groovy_parameter_hints.png > (You can see the parameter names as hints) > Everything is optional and can be done separately, but to add those > functionality or other stuff, it is needed to add a global editor feature to > add such hints/informations into the editor. This opens a lot more > possibilites for developers. > Maybe NetBeans still has such support, but I couldn't find it. I only found > non printable characters, which will added like UTF8 code with a specific > font. > Cheers > Chris -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists