how to append something at the end of code line?

Answered

I want to develop a plug-in to show the amount of time it takes to run each line of code. But I don't know how to display this time. I want to show it at the end of each line of code. How to implement it?

0
4 comments

Hi,

Please check com.intellij.openapi.editor.EditorLinePainter.

0

Hi,Karol

First of all,thank you very much!

I think EditorLinePainter.java can implement what i want to do, but there are little comment in this class.Can you tell me more detail about this,or some example of how to use EditorLinePainter.java

0

For example,i want to append a String "append something" at the end of 10th row of A.java ,how to implement it?

0

Hi,

I suggest checking the existing implementations in the Platform code or on searching for one on IntelliJ Platform Explorer.

0

Please sign in to leave a comment.