A Wolfram Language (WL) plugin for the text editor Geany based on UNIX-like systems (tested on Linux and MacOS)
- Autocompletion of WL built-in symbols
- Documentation shortcuts (via zenity and Geany Context Action)
Watch a demo here
Geany Plugins
sudo apt-get install geany-plugins
mlocate:
sudo apt-get install mlocate
zenity
sudo apt-get install zenity
brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
findutils
brew install findutils
zenity
brew install zenity
wolframscript -f wolfram-geany.wl
If upgrading to a newer version of wolfram-geany or reinstalling it, clean the ~/.config/geany
folder.
-
Choose a colorscheme like Kugel from here
-
Configure documentation pop-up: go to Edit->Preferences->Keybindings->Editor> Context Action and set a custom keybinding e.g.
Ctrl+h
. Once the keybinding is configured, pressCtrl+h
to display the documentation of the built-in symbol under the cursor. -
Configure terminal emulator: The installation automatically configures Geany Execute to run a WL script by pressing F5. The script outputs can be displayed within the Geany Virtual Terminal Emulator (VTE). Otherwise, install urxvt, (optionally rice it up) then go to Edit->Preferences->Tools->Terminal and paste
urxvt -e /bin/sh %c
On MacOS, evoking zenity from the Context Action does not work, even though the very same command works if executed from the terminal. Please contribute! Thanks.
- A proper syntax highlighting