Skip to content

Unify ImageJMacroTokenMaker with the new code completion functionality #23

@imagejan

Description

@imagejan

With the new IJ1 Macro auto-completion implemented by @haesleinhuepf, we get nice completions for all currently implemented macro functions, but not all of them are recognized by the syntax highlighter, because syntax highlighting relies on ImageJMacroTokenMaker in this repository.

To illustrate this, paste the following lines in the script editor:

getTitle() // is highlighted
Table.applyMacro(code) // is not highlighted

Let's migrate IJ1MacroHighlighter to imagej-legacy and unify the way how macro tokens are recognized, such that all functions that can be auto-completed will also be shown with a dedicated syntax color.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions