LINKS: Wolfram Workbench for Mathematica (or just use the far superior IntelliJ IDEA Plugin)

Webel IT Australia promotes the amazing Mathematica tool and the powerful Wolfram Language and offers professional Mathematica services for computational computing and data analysis. Our Mathematica tips, issue tracking, and wishlist is offered here most constructively to help improve the tool and language and support the Mathematica user community.
DISCLAIMER: Wolfram Research does not officially endorse analysis by Webel IT Australia.
Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
Keywords

Find the code editing and custom function documentation capabilities in the Mathematica Desktop "package editor" for m and .wl files completely awful (especially compared with the brilliantly context-aware Notebook editor)? Try the Wolfram Workbench.

Pro: The Workbench editing is far superior to the Mathematica .wl and .m code editor (only, it's mostly not better than the Notebook editor).

Pro: The Wolfram Workbench editor perspective for Eclipse does give a good overview of packages and files.

Con: Despite a valiant attempt to improve the completely awful MMA function and package documentation system, the Workbench documentation support is limited, amongst other things, by the mind-numbing lack of per-argument documentation support in the Wolfram Language itself.

Con: The editing is in most respects not even close to as good as the highly context aware and symbolically aware Notebook editor! So much so that some MMA users admit that they try to edit functions in Notebooks first (where MMA thrives) then transfer them to .wl files.

Con: The Workbench indenting and code formatting, while customisable, is not nearly as good as the Notebook editor.

Con: Refactoring of variables names, probably the single most used feature of any IDE, and supported in Eclipse for most languages, does not seem to work in the Wolfram Workbench. Yuck!

Con: The hierarchical "Outline" view that works so nicely for OO languages in Eclipse (Java, C++ etc.) can quickly become a mess because of the lack of vendor-supported OO encapsulation. You can reduce the clutter somewhat by using the user-contributed MTools.

The Workbench docs are in places out of date, and inconsistent. In particular, the info on how to install it is in a separate support posting. And that does not tell you how to run it and start a new project! But if you know Eclipse a bit it's obvious: Run Eclipse, choose New Project, then choose under Wolfram an Application Project, a Basic Project, or a JLink Project.

You can test your functions as they evolve in a connected .nb Notebook (in run mode or debug mode) launched from the Wolfram Workbench but you may find there is a slight reload delay.
Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)
External links