Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 07:32 Go to next message
Yves LEDUC is currently offline Yves LEDUCFriend
Messages: 56
Registered: May 2015
Member
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] Thu, 19 May 2016 01:07 Go to previous messageGo to next message
Yves LEDUC is currently offline Yves LEDUCFriend
Messages: 56
Registered: May 2015
Member
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 09:28]

Report message to a moderator

Re: Eclipse Default Editor [message #1732713 is a reply to message #1732687] Thu, 19 May 2016 11:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29385
Registered: July 2009
Senior Member
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 06:20 Go to previous messageGo to next message
Yves LEDUC is currently offline Yves LEDUCFriend
Messages: 56
Registered: May 2015
Member
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 06:28 Go to previous messageGo to next message
Yves LEDUC is currently offline Yves LEDUCFriend
Messages: 56
Registered: May 2015
Member
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 222 times)
  • Attachment: BBB.png
    (Size: 9.00KB, Downloaded 149 times)
Re: Eclipse Default Editor [message #1732861 is a reply to message #1732858] Sat, 21 May 2016 08:07 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3173
Registered: July 2009
Senior Member

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?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse Default Editor [message #1736694 is a reply to message #1732861] Fri, 01 July 2016 08:23 Go to previous messageGo to next message
Yves LEDUC is currently offline Yves LEDUCFriend
Messages: 56
Registered: May 2015
Member
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 07:43 Go to previous messageGo to next message
Yves LEDUC is currently offline Yves LEDUCFriend
Messages: 56
Registered: May 2015
Member
<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 11:24 Go to previous message
Mickael Istria, away until January 8th is currently offline Mickael Istria, away until January 8thFriend
Messages: 828
Registered: July 2009
Location: Grenoble, France
Senior Member

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 Jun 20 12:06:32 GMT 2018

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

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

Back to the top