graza / jEditCucumberMode

Edit mode files for the jEdit editor that provide multi-lingual highlighting of Cucumber feature files.
0 stars 2 forks source link

Installation instructions unclear #2

Open digulla opened 11 years ago

digulla commented 11 years ago

You say

The files in this repository can be dropped into the user area

What? Directly into $HOME/.jEdit? Or in some subfolder?

I think they should go into the modes/ subfolder. But there is already a catalog.xml file. Do I need to merge the two? A link to http://www.jedit.org/users-guide/installing-modes.html would be nice.

Or you could provide a BeanShell script which could be executed directly from jEdit to install the mode.

Alternatively, give a precise list of steps to follow to install the mode:

  1. Clone the repo
  2. Locate the "user area"
  3. Copy all *.xml files into user area/modes
  4. Open the existing catalog and merge it with the one of jEditCucumberMode
  5. Open all *.xml files that you just copied and ...

Maybe the "search and replace in directory" feature of jEdit would be useful.

graza commented 10 years ago

Thanks for the feedback.

The sentence preceding the one you've quoted defines what I meant by the user area, but perhaps I should have said "Utilities -> Settings Directory -> modes".

With the generate_xml_files.rb script, the need for all the files goes away because they're generated from the languages included in your Cucumber installation. So the list of steps would be different. How do you think users would feel about the script merging the catalog itself?

I would like to have a BeanShell to install the mode, but I couldn't figure it out. I'd be happy to receive any help here, or even a pull request? :)