matlab代码分析器生成空工具提示 [英] matlab code analyzer produces empty tooltips

查看:260
本文介绍了matlab代码分析器生成空工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Ubuntu上运行MATLAB(R2013b)( ver 命令的结果粘贴在下面)。



我刚刚开始使用这个系统,我意识到编码非常困难,因为编辑器中显示的典型工具提示是空的。不幸的是我不能粘贴截图,但在这里我描述了问题:编辑器右边缘的橙色标记应该表示警告。将光标传递给它们,通常会得到一条带有短消息的工具提示,详细说明警告的原因。



在我的情况下,我仍然看到工具提示......但是在那里看不到任何东西,它只是一个灰色矩形。这非常烦人......对可能出现的问题有所了解?

 >> ver 
MATLAB版本:8.2.0.701(R2013b)
操作系统:Linux 3.5.0-41-generic#64~minision1-Ubuntu SMP Thu Sep 12 16:50:04 UTC 2013 x86_64
Java版本:Java 1.7.0_11-b21与Oracle Corporation Java HotSpot™64位服务器VM混合模式


解决方案

您使用的是Unity桌面(如果您不知道,您可能是,因为Unity是默认设置)。



<我在Linux下遇到了多个Matlab版本的问题,它总是归结为使用3D / fancy pants窗​​口管理器。



尝试使用Gnome Classic(无效果),Ubuntu 2D或配对会话并报告您的问题是否仍然存在。这是Ubuntu 12.04中标准桌面登录屏幕的屏幕截图:





要查看可用的会话,请在用户名旁边的ubuntu徽标上单击鼠标左键(此处为测试):




I'm running MATLAB (R2013b) on Ubuntu (results of ver command are pasted below).

I've just started working with this system, and I've realized that coding is seriously hard because the typical "tooltips" that show up in the editor are empty. Unfortunately I cannot paste screenshots, but here I describe the problem: the orange marks on the right margin of the editor should indicate a warning. Passing the cursor on them, one typically gets a tooltip with a short message, detailing the reason of the warning.

In my case, I still see the tooltip... but cannot read anything in there, it's just a gray rectangle. This is terribly annoying... Some idea on what may be the problem?

>> ver
MATLAB Version: 8.2.0.701 (R2013b)
Operating System: Linux 3.5.0-41-generic #64~precise1-Ubuntu SMP Thu Sep 12 16:50:04 UTC 2013 x86_64
Java Version: Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode

解决方案

Are you using the Unity desktop (if you don't know, you probably are, since Unity is the default).

I've encountered your problem with multiple Matlab versions under Linux, and it always boiled down to using a "3D / fancy pants" window manager.

Try using the "Gnome Classic (no effects)", "Ubuntu 2D" or mate sessions and report back whether your problem still exists. Here's a screenshot of the standard desktop login screen in Ubuntu 12.04:

To see the available sessions, do a left-mouse click on the ubuntu logo next to the username (here test):

这篇关于matlab代码分析器生成空工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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