lib/jedit/README
changeset 25854 ab6ce0d5662d
parent 24889 701e0e3ee972
child 27062 9681f347b6f5
equal deleted inserted replaced
25853:028dc58ed804 25854:ab6ce0d5662d
     1 Basic Isabelle mode for jEdit -- http://www.jedit.org/
     1 Isabelle support for jEdit -- http://www.jedit.org/
     2 ======================================================
     2 ===================================================
     3 
     3 
     4 INSTALLATION
     4 This provides both a basic editing "mode" (with some degree of syntax
       
     5 highlighting), and a proper "plugin" with some support for interaction
       
     6 with the Isabelle process.
       
     7 
       
     8 
       
     9 Mode installation
       
    10 -----------------
     5 
    11 
     6 1) Copy or symlink [ISABELLE_HOME]/lib/jedit/isabelle.xml to
    12 1) Copy or symlink [ISABELLE_HOME]/lib/jedit/isabelle.xml to
     7 [JEDIT_SETTINGS]/modes/
    13 [JEDIT_SETTINGS]/modes/
     8 
    14 
     9 2) Add the following entry [JEDIT_SETTINGS]/modes/catalog
    15 2) Add the following entry [JEDIT_SETTINGS]/modes/catalog
    17   <MODES>
    23   <MODES>
    18     <MODE NAME="isabelle" FILE="isabelle.xml" FILE_NAME_GLOB="*.thy"/>
    24     <MODE NAME="isabelle" FILE="isabelle.xml" FILE_NAME_GLOB="*.thy"/>
    19   </MODES>
    25   </MODES>
    20 
    26 
    21 
    27 
       
    28 Plugin installation
       
    29 -------------------
       
    30 
       
    31 1) Copy or symlink [ISABELLE_HOME]/lib/jedit/isabelle/isabelle.jar to
       
    32 [JEDIT_SETTINGS]/jars/
       
    33 
       
    34 2) Install scala-library.jar likewise (taken from the regular Scala
       
    35 distribution, cf. the http://www.scala-lang.org/downloads/index.html)
       
    36 
       
    37 3) Enable the plugin using the manager of jEdit; invoke the "isabelle"
       
    38 editor action.  The resulting window may be docked, e.g. at bottom.
       
    39 
       
    40 Note that the Errorlist plugin provides some useful options like "Show
       
    41 error icons in the gutter", for immediate feedback of Isabelle
       
    42 warnings and errors in the source text.  The Errorlist window may be
       
    43 docked likewise.
       
    44 
       
    45 
    22 $Id$
    46 $Id$