How to refresh Line markers for currently opened file?
已回答
LineMarkerProvider#collectSlowLineMarkers() is only called when a new file is opened. But I'd like to show these line markers on demand (when the user presses something). This will work for newly opened files but not for those files which are already open(LineMarkerProvider#collectSlowLineMarkers() is not called again for the same file).
请先登录再写评论。
Try with:
Thanks. This works.
Where should I invoke this method? I want the line markers to be refreshed every time the file changes.