Eclipse 插件读取标准错误
我正在尝试编写一个 Eclipse 插件,它需要读取 eclipse 内的 std 错误。例如,控制台中出现的红色文本。
我找不到这样的正确的扩展点。我能找到的最好的是 org.eclipse.ui.console.consolePatternMatchListeners 但这只匹配控制台行,无论其来源如何。
有人知道执行此操作的方法或正确的扩展点吗?
I am trying to write an Eclipse plugin which needs to read the std error inside eclipse. E.g. the red text that appears in the console.
I cannot find the correct extension point for something like this. The best I could find was org.eclipse.ui.console.consolePatternMatchListeners but this just matches console lines regardless of their origin.
Anyone know a method to do this or the correct extension point?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用内部代码,您可以将侦听器添加到 ErrorStream
Using internal code you can add listner to ErrorStream