05-07-2011, 11:31 AM | #1 |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
Notepad++ Auto-complete for FF Lua
So, I quickly put together a (very) incomplete FF Lua auto-complete file for Notepad++. So far, it only has the standard Lua functions (string, table, etc functions) and the FF constants (Player.kScout, Ammo.kCells, etc).
To install, put lua.xml in Program Files\Notepad++\plugins\APIs\ By default, auto-complete is shown by pressing Ctrl+Space and function parameters are shown by pressing Ctrl+Shift+Space. To enable automatic auto-complete while typing, in Notepad++, go to Settings -> Preferences -> Backup/Auto-Completion and check Enable auto-completion on each input (Function completion) and also Function parameters hint on input. Not sure when I'll get the chance to update this, but it's at least semi-useful in its current state. If anyone wants to help update it, that'd be awesome. The syntax is available here: http://sourceforge.net/apps/mediawik...uto_Completion and the FF Lua documentation can be found on the wiki here or here (for functions, specifically). Current Version (v1.0 for FF 2.42): Code:
////////////////////////////////////////////////////////////////////////////// // Fortress Forever Lua Autocomplete for Notepad++ ////////////////////////////////////////////////////////////////////////////// // Version: 1.0 // Updated: 2011-05-07 // Compatible With: Fortress Forever 2.42 // http://www.fortress-forever.com ////////////////////////////////////////////////////////////////////////////// Installation Put lua.xml in Program Files\Notepad++\plugins\APIs\ Screenshots: Changelog: Code:
v1.0 (2011-05-07 for FF 2.42): - Initial Version
__________________
#FF.Pickup ยค Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington Last edited by Crazycarl; 05-08-2011 at 10:25 PM. Reason: it's fortress-forever.com, squeek |
|
05-07-2011, 03:37 PM | #2 |
Kawaii! ルーキー
Lua Team
Wiki Team Fortress Forever Staff Join Date: Jan 2008
Location: Nowhere, Kansas
Class/Position: Random Gametype: CTF Affiliations: BiG, Kawaii!, MustacheBrigade, GoodFellas Posts Rated Helpful 82 Times
|
This is great Squeek, Thanks.
__________________
Released: [ Island ] [ Rookie ] [ Limbo ] [ Sonic ] [ Tomb ] [ Skydive2 ] [ Bunkerwars ] Beta: [ Argon ] [ Reflection ] [ Urbantag ] Lua: [ game_rules ] |
|
05-08-2011, 10:20 PM | #3 |
D&A Member
Wiki Team Fortress Forever Staff Join Date: Apr 2007
Posts Rated Helpful 31 Times
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|