spring-attic / spring-ide

Spring Development Environment for Eclipse
299 stars 126 forks source link

Navigation inside xml file doesn't work #345

Closed fkomar closed 5 years ago

fkomar commented 5 years ago

If I'm inside big spring xml file and I use F3 to jump to bean declaration. After that I use Alt + left arrow and expect to get back to previous position inside that same xml file. Instead I get back to previous position in java file.

BoykoAlex commented 5 years ago

The problem is that XML editor is a multipage editor and Eclipse's navigation history doesn't seem to record proper editor ID in this case. Need to raise eclipse bugzilla for this I think. Looks like XML multipage editor and sub-editors (page editors) need to be adjusted to properly record the location. XML editor text editor is just a StructuredTextEditor from platform ui text and hence implementation for position recording is simple and unaware of multi-page editor nuances...

martinlippert commented 5 years ago

So closing this here and removing the release milestone marker again. @fkomar please open a bug for this at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform