Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Default Editor
Default Editor [message #1741388] Wed, 24 August 2016 15:36
Yves LEDUC is currently offline Yves LEDUCFriend
Messages: 56
Registered: May 2015
Member
Despite a definition like this with default = "true" (in the plugin.xml file below):

<?xml version="1.0" encoding="windows-1252"?>
<?eclipse version="3.0"?>
<plugin>
<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>
...

Le dialogue Preferenc affiche le dialogue suivant indiquant que l'éditeur par défaut Algorithmic n'est pas pris en compte, ce qui ce vérifie en ouvrant un fichier ]*.alg [/b]dans l'éditeur.
See DialogPreference.png
Why the default editor is not Algorithmic Editor but Text Editor?
The definition of the default editor in the code does not work, then it all worked fine with previous versions of eclipse a year or two).
Previous Topic:Sharing/contributing a launch configuration in a plugin
Next Topic:Again seeing Eclipse workspace corruption on a VM
Goto Forum:
  


Current Time: Wed Sep 19 05:15:41 GMT 2018

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

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

Back to the top