Difference between revisions of "Geany"
(summarized info.) |
m (Added to Category:Software.) |
||
Line 31: | Line 31: | ||
* https://love2d.org/forums/viewtopic.php?f=3&t=7009 | * https://love2d.org/forums/viewtopic.php?f=3&t=7009 | ||
+ | [[Category:Software]] | ||
[[Category: Editor integration]] | [[Category: Editor integration]] | ||
+ | {{#set:Name=Geany}} | ||
+ | {{#set:Description=Source Code Editor}} | ||
+ | {{#set:Type=Editor}} |
Revision as of 06:27, 5 September 2016
Geany is an open source Lua text editor for Linux, Mac OS X and Windows.
This article covers how to optimize Geany for working with LÖVE.
Contents
Run hotkey
- Make sure you have a .lua file open.
- Open Build/Set Build Commands
- Create a new Lua command with the label "run with love"
- The command should be:
- Linux:
love %p
, assuming you installed LÖVE. - Mac OS X:
/Applications/love.app/Contents/MacOS/love %p
, assuming you installed LÖVE in the applications folder. - Windows:
C:\Program Files\Love\love.exe %p
, assuming that's where you installed LÖVE.
- Linux:
Build script
- Make sure you have a .lua file open.
- Open Build/Set Build Commands
- Create a new Lua command with the label "build .love file" and working directory
%p
- The command should be:
- Linux:
ts=$(date +%s); zip -r ../${PWD##*/}_${ts}.love *
, assuming you have `zip` installed. - Mac OS X:
ts=$(date +%s); zip -r ../${PWD##*/}_${ts}.love *
- Linux:
Snippets
See Customizing Geany for LOVE thread.
Sources