Skip to content
WolfLang plugin for Geany editor
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
wolfram-geany.wl

README.md

wolfram-geany

This is a Wolfram Language (WL) plugin for the text editor Geany based on UNIX-like systems (tested on Linux and MacOS)

Features

  1. Autocompletion of WL built-in symbols
  2. Documentation shortcuts (via zenity and Geany Context Action)

Watch a demo here

Dependencies

(All Platforms)

Download/Install:

  1. Geany
  2. WolframKernel + Wolframscript

Run $ wolframscript -configure and set the variable WOLFRAMSCRIPT_KERNELPATH to your local WolframKernel address

Linux

Geany Plugins sudo apt-get install geany-plugins

Be sure to have mlocate installed sudo apt-get install mlocate

zenity sudo apt-get install zenity

MacOS

brew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

findutils brew install findutils

zenity brew install zenity

Installation

wolframscript -f wolfram-geany.wl

Post-Installation

  • Pick up a decent colorscheme like Kugel from the Geany colorschemes

  • 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, press Ctrl+h to display the documentation of the built-in symbol under the cursor.

  • 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). As an alternative to the VTE, we suggest to install urxvt, rice it up and adjust Geany configuration to display the script outputs like so: go to Edit->Preferences->Tools->Terminal and paste urxvt -e /bin/sh %c

BUGS

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.

You can’t perform that action at this time.