Note that there are some explanatory texts on larger screens.

plurals
  1. PONew Editor in Eclipse: Xtext vs. Plugin Development
    primarykey
    data
    text
    <p>I am trying to create a new editor plugin for Eclipse that I can distribute to others to help edit input files for a scientific computing program.</p> <p>Features I would like in the program include:</p> <ul> <li>Syntax Highlighting</li> <li>Error Parsing</li> <li>Content Assist</li> </ul> <p>In general these files contain a set of related objects of the format:</p> <pre><code>ObjectType, Field 1, !- Comment describing Field 1 Field 2, !- Comment describing Field 2 ... Field N; !- Comment describing Field N ! more ! comments </code></pre> <p>Where fields can be strings, numeric values or references to other objects depending on the object type.</p> <p>Error parsing would check to make sure that each field is of the correct type, that referenced objects exist, and that each object ends in a semi-colon, etc. Content assist would provide a list of valid references for a field, provide defaults where available, etc.</p> <h3>Background</h3> <p>So far I've done a little bit of exploring in Xtext, and it seems to be able to handle most of what I'd like to do and much more, but I'm wondering if the Xtext plugin for our input file syntax would be distributed and used by other users. </p> <p>I am looking for something that will be easy for users to install and use who are not already familiar with Eclipse and/or programming. Maybe there is an even better solution than Eclipse, but I would like it to be cross-platform and free (in both senses).</p> <h3>Question 1:</h3> <p>Do plugins created with Xtext require Xtext to generate the language artifacts on every machine that wants to use my editor and its features?</p> <h3>Question 2:</h3> <p>If so, what alternatives are there to create an editor with these features?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload