如何从intellij想法中复制错误信息? [英] how can I copy error message from intellij idea?

查看:533
本文介绍了如何从intellij想法中复制错误信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在intellij中编写代码并出错时,它会将代码与erros进行高举,当我将鼠标置于其上时,它会显示详细的错误消息。问题是我无法复制它。当我将鼠标移动到弹出气球消息并开始选择消息时,气球消失。在eclipse中有一个功能'焦点'在F2上,允许你将它聚焦在弹出窗口上,因此它就像一个模态窗口,当你移开鼠标时它不会消失。 intellij想法中是否有这样的功能,还是有其他方法来复制错误信息?

When I'm writing code in intellij and make an errors, it highlists code with erros, when I put mouse over it, it displays detailed error message. The problem is I can't copy it. When i'm moving mouse over pop-up baloon message and start selecting the message, baloon disappears. In eclipse there is a feature 'focus' on F2 with allows you to focus it on pop-up so it becames a modal window and won't disappear when you move mouse away. is there such feature in intellij idea or is there any other way to copy error message?

编辑:我只知道我需要:


  1. 非常小心地将鼠标移动到气球,

  2. 非常小心地将鼠标移到左侧,但仅限于文本的左侧,而不是气球

  3. 按下鼠标左键,然后非常小心地将鼠标移动到文本的右侧,而不是气球

  4. 不释放鼠标左键按ctrl + c。

  1. very carefully move mouse down to baloon,
  2. very carefully move mouse to the left side, but only to the left side of the text, not baloon
  3. press left mouse button, then very carefully move mouse to the right side of text, not baloon
  4. without releasing left mouse button press ctrl+c.

加油!这真的很烦人,是否有像Eclipse这样的'焦点'功能?

Come on! that's really annoying, is there a 'focus' feature feature like F2 in Eclipse?

EDIT2 :另一种方式:


  1. 小心地将鼠标移动到baloon消息

  2. 按住鼠标左键

  3. 没有释放鼠标左键按ctrl然后真的快A然后C

它会让气球消息消失,但是如果你足够幸运,你将设法从气球中选择所有文本并复制它。通过某些练习,它比方法#1快得多。

It'll make baloon message to go away, but if you're lucky enough you'll manage to select all text from baloon and copy it. With certain practice it's really faster then method #1.

仍然没有正常的方式来做到这一点。

Still no "normal" way to do this.

我发现如果我编译类,我可以得到错误消息,但它们可能完全不同,如果我的类没有编译,我根本不会得到我的错误消息。

I found that if I compile class, I can get error messages, but they can be completely different and if my class doesn't compile, I won't get my error message at all.

推荐答案

请投票支持此问题以获取它固定。

Please vote for this issue to get it fixed.

这篇关于如何从intellij想法中复制错误信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆