Hello,
I made an AutoHotkey (v2 64-bit) script that connects SciTE and Julia because none of the IDE’s out there worked for me (probably my fault). All outputs in Julia REPL console are read from conhost.exe’s output buffer in memory. The output is then sent to SciTE’s output pane through the SciTE Director Interface, thus allowing infinite scrollback (more than Command Prompt’s 9999 or ConEmu’s 32766 limit). Single line commands and code blocks can be sent to Julia via keyboard shortcut CTRL+E (supports multi-select), and the entire file can be run with CTRL+R (after saving). This is done through the clipboard after parsing the code or filename with SciTE’s builtin lua (so tabbed lines will display properly inside the REPL console). Existing clipboard data is saved before the operation and restored afterwards. The console app used here is ConEmu because it allows the use of Unifont, which is capable of displaying all Unicode plane 0 characters. The current configurations of SciTE and ConEmu should allow for them to function as is. I modified SciTE’s builtin Python lexer properties to enable code folding and highlighting for Julia.
To try this out you should:
- Download the entire project from GitHub (GitHub - oif2003/JuliaSciTEConEmu: Connect SciTE, ConEmu, and Julia with AutoHotkey v2)
- Run “start.bat” (this will also set your SciTE_HOME variable to “\JuliaSciTEConEmu\wscite”)
- On first run it should ask you to locate “julia.exe” which is usually found at “C:\Users\UserName\AppData\Local\Julia-X.X.X\bin”
…(Delete “config.ini” to change this later) - Try keyboard shortcuts such as CTRL+E, CTRL+R, or CTRL+1 (fix indentation of selected code with lua)
Links:
Julia: https://julialang.org/
SciTE 64-bit for Windows: https://sjohannes.wordpress.com/scite-win64-nightly/
Unifont: GNU Unifont Glyphs
ConEmu: https://conemu.github.io/
This Repo: GitHub - oif2003/JuliaSciTEConEmu: Connect SciTE, ConEmu, and Julia with AutoHotkey v2