Home / Sandbox / aseik / ooRexxIDEA / GA / 2.2.0
Name Modified Size InfoDownloads / Week
Parent folder
completionAddons 2023-05-11
ooRexxDoc-2.2.0-GA.zip 2022-12-11 9.4 MB
ooRexxPlugin-2.2.0-GA.zip 2022-12-11 10.1 MB
LICENSE.txt 2022-12-11 550 Bytes
README.txt 2022-12-11 5.1 kB
Totals: 5 Items   19.5 MB 0
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