| Summary: | Show Annotation from SVN Repositories opens two editors | ||
|---|---|---|---|
| Product: | [Technology] Subversive | Reporter: | Stanimir Stamenkov <stanio> |
| Component: | Core | Assignee: | Igor Burilo <igor.burilo> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | a.gurov, janArbeit |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Stanimir Stamenkov
That's true. But there is a reason for it: it is always better to use "nature-related" editor to display annotations, for example Java editors for *.java files, PHP editors for *.php files etc. But some time "nature-related" editors are unable to work with Annotation View (like in yor case), in that case Subversive then opens second editor: plain text editor for the annotated file. It's better if we could detect compatibility of the "nature-related" editor prior to it's opening but AFAIR there was no API to check it before instantiating editor. So, for now I will leave this report until we check if required API is present now or not. The main reason I'm reporting this is because sometimes I don't get the annotation markers shown when the file opened is associated with a certain editor by default (the *.xhtml editor from JBoss Tools, for example), and when issuing Show Annotation for that file from the SVN Repositories view. I guess if the file was forced to open with a Text Editor there wouldn't be such problem. And of course if there's is better solution than forcing the files to open with a Text Editor - I'm just fine with it. Hi, I have eclipse indigo and this issue with svn subversive and the java editor, i.e. show annotations opens a new text editor instead of using the open java editor. This is new and the only related change I can remember is to set *.parameters files to open with the java property editor by manual setting. But undoing this also doesn't change this again. Is this a different bug or could this be a configuration issue? Kind regards. This issue has been migrated to https://gitlab.eclipse.org/eclipse/subversive/subversive/-/issues/77. |