Eclipse Photon透视图的行为不同于Eclipse Mars(=怪异)

时间:2018-07-27 07:24:48

标签: pydev perspective eclipse-mars eclipse-photon

我在Eclipse Mars上使用PyDev已有很长时间了,基本上具有pydev和调试视角。两者都显示了不同的布局和视图,但是它们在某种意义上是同步的,即当我将另一个源文件加载到pydev透视图中时,它也会与已加载的源文件一起显示在debug透视图中。

升级到Eclipse Photon后(我可能想尝试一下,添加PyDev时没有错误/警告),透视图变得一团糟。每次Eclipse启动时,它都会添加第二个“ Debug”透视图。运行程序时会添加第二个控制台视图,尽管已经存在一个。非源视图(例如变量,搜索,任务)在这两个视图中都弹出,当我从一个视图中删除它们时,它们在另一个视图中也消失了。实际上,我不能再为这两项任务定义两个单独的视角。

我觉得我不理解UI层次结构:有一个窗口,有视图,但是视图在窗口内被分组为“面板”,为此我找不到用于组织它们的术语或功能。

在火星和光子之间的视角处理方面发生了什么变化?

编辑:似乎有两种“面板”:当我删除其中的最后一个视图(空白标签栏和白色内容区域)时,一些预定义的面板不会消失,而其他面板(通过拖动一个查看边界位置),当我删除其中的最后一个视图时便消失了...

在提尔(Till)的评论中,启动Eclipse时有一些错误(我更改为新的工作区后清除了日志,并删除了调用堆栈):

!ENTRY org.eclipse.ui 2 2 2018-07-29 14:50:21.855 
!MESSAGE Invalid property category path: org.eclipse.cdt.managedbuilder.ui.properties.Page_head_build (bundle: org.eclipse.cdt.ui, propertyPage: org.eclipse.cdt.managedbuilder.ui.properties.BuildLogPreferencePage) 
!SESSION 2018-07-29 14:50:26.758
----------------------------------------------- eclipse.buildId=4.8.0.I20180611-0500 java.version=1.8.0_92 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE Framework arguments:  -product org.eclipse.epp.package.rust.product Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.rust.product

!ENTRY org.eclipse.egit.core 2 0 2018-07-29 14:50:30.508 
!MESSAGE Builtin LFS support not present/detected !STACK 0 java.lang.ClassNotFoundException: org.eclipse.jgit.lfs.BuiltinLFS cannot be found by org.eclipse.egit.core_5.0.0.201806131550-r 
:
:


!ENTRY org.eclipse.launchbar.core 2 0 2018-07-29 14:50:37.600 
!MESSAGE Enablement expression is missing for descriptor type org.eclipse.cdt.debug.core.coreBuildDescriptorType

!ENTRY org.eclipse.launchbar.core 2 0 2018-07-29 14:50:37.772 
!MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.debug.core.coreBuildDescriptorType

!ENTRY org.eclipse.launchbar.core 2 0 2018-07-29 14:50:37.881 
!MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.debug.core.coreBuildDescriptorType

!ENTRY org.eclipse.egit.ui 2 0 2018-07-29 14:50:38.287 
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\nobi'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

1 个答案:

答案 0 :(得分:0)

我认为观点没有任何变化...

我认为正在发生的事情是Eclipse某种程度上与您在工作区中的现有视图混淆了。

注意:透视图被定义为视图,窗口和活动动作的给定组织,您应该可以随意关闭和打开/自定义透视图。

我的建议是关闭不需要的透视图,然后打开一个新的透视图(您可以使用row, col values initially are (0, 2) row, col is (0, 0) row, col is (0, 1) row, col is (0, 2) row, col is (1, 0) row, col is (1, 1) row, col is (1, 2) row, col is (2, 0) row, col is (2, 1) row, col is (2, 2) row, col values initially are (0, 3) row, col is (0, 3) row, col is (0, 4) row, col is (0, 5) row, col is (1, 3) row, col is (1, 4) row, col is (1, 5) row, col is (2, 3) row, col is (2, 4) row, col is (2, 5) Ctrl+3或右键单击右上角的透视图图标...,要创建一个新图标,可以使用菜单close perspective)。


编辑:

我认为视图中的透视图/视图/内容可能会造成混淆。

透视图主要是定义视图的位置以及在该给定透视图中活动的动作。

相反,在许多不同的视图中视图都是相同的,因此,更改视图的内容将更改所有视图中的内容。