For any XML-File it is not possible to switch IDE tabs with <ctrl-pgdn> command
Let's make sure issue is not already fixed in latest builds first.
- [x] I verified I can reproduce this issue against Version: 2025-09 (4.37.0)
Steps to reproduce
From a fresh installation and clean workspace:
- open an CPP file1 in IDE
- open an XML file in IDE
- open another CPP file2 in IDE
I tried
to switch from XML file tab to CPP file2 tab using
I expected: to switch to CPP file2 tab
But got: switched to to CPP file1 tab (
Here is some relevant log output
From <workspace>/.metadata/.log
<relevant log output>
Tested under this environment:
- Ubuntu 24.04.3 LTS and Windows 11 Pro 24H2
- Eclipse IDE for C/C++ Developers (includes Incubating components)
- 2025-09 (4.37.0)
Community
- [ ] I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.
I tried to switch from XML file tab to CPP file2 tab using command control-page-down
I expected: to switch to CPP file2 tab
But got: switched to to CPP file1 tab (control-page-up)
For *.md files you get control-page-down if you press control-page-up.
- I can't reproduce, but I don't have CDT installed
- What are the "Keys" preference page says for Ctrl+PageDown?
- Does it happen with other files, like *.txt and *.java?
I can reproduce, but it only happens for certain types of editors and what you have installed will determine such things, so it's likely hard to reproduce with the SDK. I've not had time to try to reproduce purely with the SDK. In the SDK IDE set up by Oomph, an Setup editor will causes the same (similar) problem:
Here Ctrl-PgDn will just toggle between the first two editors.
There's definitely something fishy but I've not pinned it down to something simple and I've not had time to debug a case where I can reproduce it. (Too much to do.)
I can't reproduce, but I don't have CDT installed
What are the "Keys" preference page says for Ctrl+PageDown?
Does it happen with other files, like *.txt and *.java?
"Keys" preference page: Ctrl+PageDown is bound to NextTab | In Dialogs and Windows | Navigate Ctrl+PageUp is bound to PreviousTab | In Dialogs and Windows | Navigate
For *.txt and *.java files Ctrl+PageDown and Ctrl+PageUp is working as expected.
Which editors are used for C++ and xml files? Could it be, it is generic editor in both cases?
Another idea: Do you have webtools installed, and is xml editor a multipage editor? Could it be, the problem appears for any combination of any multipage editor with any other editor? I assume setup editor is also multipage editor.
I had the multi-page editor theory too, but many PDE editors are like that and none of them have this problem. (The Ecore Sample Editor also has this problem, like the Oomph Setup editor.)
Does oompf setup editor make use of generic editor in one page? I believe SDK own multipage editors mostly don't use it because there were created before generic editor invention.
No. But many PDE editors have a source tab with some type of source editor in there, which don't cause problems...
yes, I have web tools installed (in Windows and in Ubuntu installation): Eclipse XML Editors and Tools 3.39.0.v202508302230 org.eclipse.wst.xml_ui.feature.feature.group Eclipse Web Tools Platform