Fortress Forever

Fortress Forever (https://forums.fortress-forever.com/index.php)
-   Lua (https://forums.fortress-forever.com/forumdisplay.php?f=44)
-   -   Notepad++ Auto-complete for FF Lua (https://forums.fortress-forever.com/showthread.php?t=22635)

squeek. 05-07-2011 10:31 AM

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
//////////////////////////////////////////////////////////////////////////////

Download:
Installation
Put lua.xml in Program Files\Notepad++\plugins\APIs\

Screenshots:

http://www.fortress-forever.com/publ...mplete2_th.jpg

http://www.fortress-forever.com/publ...tocomplete.jpg

Changelog:
Code:

v1.0 (2011-05-07 for FF 2.42):
 - Initial Version

Past Versions:
  • None

R00Kie 05-07-2011 02:37 PM

This is great Squeek, Thanks. :flag:

Crazycarl 05-08-2011 09:20 PM

:thumbsup:


All times are GMT. The time now is 03:50 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.