Hi there,

Alexander Seik has released a new version of his ooRexxPlugin for IntelliJ which now supports code completion, and also a new version of his ooRexxDoc!

Here the Sourceforge URL for both: <https://sourceforge.net/projects/bsf4oorexx/files/Sandbox/aseik/ooRexxIDEA/GA/2.2.0/>

Among other things it is possible to add your own names (from your own ooRexx programs) to the code completion list of the ooRexxPlugin! Here the link to the names for the BSF4ooRexx850 and DBus Rexx packages: <https://sourceforge.net/projects/bsf4oorexx/files/Sandbox/aseik/ooRexxIDEA/GA/2.2.0/completionAddons/>. Just unzip the two zip archives in your homedirectory and the plugin will pick them up the next time you run IntelliJ (see the readme below).

Also, please note: the new stand-alone ooRexxDoc update with its documentation. It allows you to create linked HTML documentation directly from your Rexx programs from the command line as well! Alternatively, you can create the ooRexxDoc HTML documentation from within IntelliJ, see the explanations of readme.txt below.

Here its readme.txt.

   ooRexx Plugin for IntelliJ IDEA
   -------------------------------
   Author: Alexander Seik
   Date: 2022-12-11
   License: AL 2.0
   Version: 2.2.0-GA

   Changelog:
        - Various Fixes
        - Build Improvements
        - Auto Completion

   Please report any bug you find or RFEs (request for enhancement) 
here:https://sourceforge.net/p/bsf4oorexx/oorexxplugin/milestone/2.0/

   Prerequisite:
   - IntelliJ IDEA extension 'intellij' property 'version' Community Edition or 
Ultimate
   (older IntelliJ IDEA versions are currently not supported. The update can be 
done by clicking: Help -> Check for updates... )
            - URL:<https://www.jetbrains.com/idea/download/>

   Installing the plugin
   - Download OoRexxPlugin-2.2.0-GA.zip
   - Do not unzip this the file. IntelliJ IDEA will import this archive.
   - In IntelliJ IDEA: File -> Settings (or "Configure" depending on the IntelliJ IDEA 
version) -> Plugins -> Press the gear icon -> Install plugin from disc... -> Choose 
OoRexxPlugin-2.2.0-GA.zip.
   - Restart IntelliJ IDEA.

   Try the plugin
   - Add a new ooRexx project (File -> New -> Project -> select ooRexx) and/or you can 
add files with ooRexx file-extensions e.g. hello_world.rexx (File -> New -> File) or open 
ooRexx files via Open -> Open File . These files will be considered by the plugin.
   - Run ooRexx files via the context menu of the file -> Run '...'.

   Highlighted Features:
   - Auto Completion:
        This feature has a preconfigured list of directives, keywords, 
functions, methods, and environments that are naively suggested while writing.
        In this current iteration there is no context specific suggest of the 
ooRexx symbols. Maybe this will be further improved in the future.

        Auto completion triggers while writing a text in a ooRexx file. It can 
be manually triggered with CTRL+Space.
        There are three possibilities to finish auto completion:
            - Select a word with the arrow keys and press <Enter>
            - Select a word with the arrow keys and press CTRL+. to add a '~' 
after an environment, method, or function
            - Select a word with the arrow keys and press CTRL+, to add a '()' 
after a method
                It is possible to override this shortcut at Preferences | Keymap
                search for Plugins | ooRexx for IntelliJ IDEA | Complete Method 
or Function with Parenthese '()'


        There is a setting to set the text style (upper case, lower case, ...) 
of the auto completed symbol:
        Preferences | Languages & Frameworks | ooRexx -> Auto Completion Casing

        It is possible to provide a custom list of ooRexx symbols for auto 
completion.
        Provide one or multiple files in a directory at this path: 
(%USER_PROFILE% or $HOME)/IntelliJ/ooRexxPlugin
        Such file could have a name e.g. BSF.CLS.txt (BSF.CLS is then shown 
while auto completing) and the following structure:

        [functions]
        ...

        [environment symbols]
        ...

        [methods]
        ...

        For an example unpack bsf4oorexx_names_20221127.zip in the 
completionAddons and add the containing txt files as described above.

   - It is also possible to change the text mode of the plugin to Mainframe-Rexx via File -> 
Settings -> Languages & Frameworks -> ooRexx -> checkbox 'allow special characters'
   - To run ooRexxDoc (documentation generation tool): In the file tree right 
click on an ooRexx file or a directory containing an ooRexx file -> Create 
'ooRexxDoc' Documentation ...

            ooRexxDoc comments will be included in the generated documentation. 
An ooRexxDoc comment is a normal Rexx block comment
            that starts with the with "/**" (note the second asterisk).
            If an ooRexxDoc comment includes the ooRexxDoc annotations (first 
character is the at-sign '@'),
            ooRexxDoc will process them and format them accordingly, here the 
current list of these annotations:

            @author     ... name of the author(s)
            @condition  ... condition that may be raised
            @deprecated ... class, method etc. that may be removed in some 
future version
            @param      ... parameter/argument description
            @return     ... information about the return value
            @see        ... other file, class, method, routine, etc.
            @since      ... version number of introducing class, method, 
routine, etc.
            @version    ... version number of class, method, routine, etc.

            Comments are evaluated for: packages, classes, methods, routines, 
attributes, constants, and resources.

            Here is an example for a valid ooRexxDoc comment:

            /** This is an ooRexxDoc comment for a class.
            *   @author John & Mary Doe
            *   @since   1.0 (2020-05-14)
            *   @version 1.0
            */
            ::class my_class

            or without leading asterisk per line:

            /** This is an ooRexxDoc comment for a class.
               @author John & Mary Doe
               @since   1.0 (2020-05-14)
               @version 1.0
            */
            ::class my_class

   - To run ooRexxDoc without an active Intellij IDE (e.g. for usage in a build 
pipeline):
        unpack the ooRexxDoc-2.2.0-GA.zip and follow the instructions/examples 
in the USAGE.md file

   Source: README.txt, updated 2022-12-11

---rony

Member of RexxLA (Rexx language association): free membership, enroll: <https://www.rexxla.org/members/index.rsp?action=join>

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to