Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Eclipse Default Editor(default editor of issue appeared in the latest Eclipse)
Eclipse Default Editor [message #1730937] Sat, 30 April 2016 03:32 Go to next message
Eclipse UserFriend
Why in a Xtext project, the publisher created is not taken as the default editor?
Why the default option of the editor in the manifest Extensions tab it is no longer taken into account when set to true?
How bearing it programmatically?
Re: Eclipse Default Editor [message #1732687 is a reply to message #1730937] Wed, 18 May 2016 21:07 Go to previous messageGo to next message
Eclipse UserFriend
Strange, no answer to this problem.
I still have the same problem !!!
The parameterization is found both in the plugin.xml but is no longer taken into account when it was in previous versions of Xtext !!!!!

How to overcome this problem with the code?

Thanks

[Updated on: Thu, 19 May 2016 05:28] by Moderator

Re: Eclipse Default Editor [message #1732713 is a reply to message #1732687] Thu, 19 May 2016 07:43 Go to previous messageGo to next message
Eclipse UserFriend
Yves,

It's best to post question about Xtext to the eclipse.modeling.tmf
forum. They answer everything there, and generally very quickly.


On 19.05.2016 03:07, Yves LEDUC wrote:
> Strange, no answer to this problem.
> I have the same problem !!!
> The parameterization is found both in the plugin.xml but is no longer
> taken into account when it was in previous versions of Xtext !!!!!
Re: Eclipse Default Editor [message #1732857 is a reply to message #1732713] Sat, 21 May 2016 02:20 Go to previous messageGo to next message
Eclipse UserFriend
This question relates to editors, not Xtext (even if the editor is that of a Xtext project).
Yves
Re: Eclipse Default Editor [message #1732858 is a reply to message #1732713] Sat, 21 May 2016 02:28 Go to previous messageGo to next message
Eclipse UserFriend
The definition of my editor out its default attribute set to true but that is not addressed by Eclipse (see attachments).
Why?
  • Attachment: AAAA.png
    (Size: 31.93KB, Downloaded 431 times)
  • Attachment: BBB.png
    (Size: 9.00KB, Downloaded 252 times)
Re: Eclipse Default Editor [message #1732861 is a reply to message #1732858] Sat, 21 May 2016 04:07 Go to previous messageGo to next message
Eclipse UserFriend
Can you show how you determined it's not the default? Is it in a Runtime Workbench? What happens when you create a new file?
Re: Eclipse Default Editor [message #1736694 is a reply to message #1732861] Fri, 01 July 2016 04:23 Go to previous messageGo to next message
Eclipse UserFriend
When I create a new file in the project xtext Xtext it uses nature and the default editor Xtext not nature and publisher (Algorithmic) of my project.
Re: Eclipse Default Editor [message #1740674 is a reply to message #1736694] Wed, 17 August 2016 03:43 Go to previous messageGo to next message
Eclipse UserFriend
<extension
point="org.eclipse.ui.editors">
<editor
class="com.infoly.eclipse.xtext.algo.ui.AlgorithmicExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
default="true"
extensions="alg,algo"
id="com.infoly.eclipse.xtext.algo.Algorithmic"
name="Algorithmic Editor">
</editor>
</extension>


Although default is set to true.
When I Window> Preferences> General> Editors> File Associations I see:
File Types: Associated editors:
* .alg Text Editor (default) The default associated editor Text Editor is not Algorithmic!
Algorithmic Editor
* .algo Algorithmic Editor Only the good editor is associated with * .algo.

The operation of the application confirms this.
Re: Eclipse Default Editor [message #1741009 is a reply to message #1740674] Mon, 22 August 2016 07:24 Go to previous message
Eclipse UserFriend
Could it be that the Text Editor was associated with your .alg file earlier? Or that some other plugin contributes this association? Can you remove this association?
Did you try using the org.eclipse.ui.ide.editorAssocationOverride extension-point?
Previous Topic:New warning: &quot;An entry for Application.e4xmi is required in bin.includes&quot;
Next Topic:create custom folder structure
Goto Forum:
  


Current Time: Wed Mar 19 22:08:18 EDT 2025

Powered by FUDForum. Page generated in 0.04952 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top