Jump to content

Notepad ++ package for scripters


Kenix

Recommended Posts

1) Compiler


How to install?


Download "lua5_1_4_(YOUR OS)_bin.(zip_OR_tar.gz)" hence

http://luabinaries.sourceforge.net/download.html
Extract this file in folder C:\Program Files\Lua (this path will be used)
Next hit F5 and in window enter this command "C:\Program Files\Lua\luac5.1.exe" -s -o "$(FULL_CURRENT_PATH)c" -- "$(FULL_CURRENT_PATH)"
If you want use combination keys for compile. Click on button "Save".


2) Syntax checker (by Talidan)

One thing LuaEdit has that Notepad++ lacks is an Lua syntax checker. This lets you look for general LUA mistakes that are NOT RELATED to MTA scripting before running your script and debugging it inside MTASA. For example it will make sure the end statements balance out and your if comparison operators are valid.

luasyntaxchecker.jpg

So why use this? It saves you time by detecting silly mistakes before switching windows and going ingame, where you will get the same error messages. The general Lua syntax must be correct before your Lua script works.

You can download the files here:

myfileupload

MediaFire

OPEN THE README FOR INSTALLATION INSTRUCTIONS!

Notepad++ syntax check hax

========================

1) Extract the contents of this archive to an appropriate directory. These files need to stay somewhere for notepad++ to call upon.

2) In Notepad++, press F5, and browse to the location of syntaxcheck.bat

3) At the end of the path, add the following parameter:

"$(FULL_CURRENT_PATH)"

So, for example:

"C:\Program Files\Notepad++\syntaxcheck\syntaxcheck.bat" "$(FULL_CURRENT_PATH)"

4) Try a test run. It'll only report something if there's an error. If it works, press F5 and go ahead and press the Save button, and give it a name and optionally a shortcut key

3) Highlighting by Fro


487582__________________________________3_.png


How to install?


Copy files to directory:


plugins\MTALua.dll and plugins\FunctionList.dll in folder PROGRAM_FOLDER\plugins\
plugins\config in folder PROGRAM_FOLDER\Notepad++\plugins\config\


How do I run it?


Select Language -> MTALua


4) Auto-Completion by Buffalo (Updated by JR10)


3101261m.jpg


How to install?


Save file lua.xml in PROGRAM_FOLDER\plugins\APIs


How do I run it?


Select Language -> Lua. Please Don't forget restart notepad++ !



5) Highlighting by Fro with auto-completion by Buffalo.


How to install?


plugins\MTALua.dll and plugins\FunctionList.dll in folder PROGRAM_FOLDER\plugins\


plugins\config\ in folder PROGRAM_FOLDER\Notepad++\plugins\config\
plugins\APIs\ in folder PROGRAM_FOLDER\Notepad++\plugins\APIs\


How do I run it?


Select Language -> MTA Lua. Please Don't forget restart notepad++ !



Edited by Guest
Link to comment
  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
Guest Guest4401

The 3rd & 4th together didn't work for me. Any idea where I've done wrong? :|

I can use only one at a time. Is that for everyone or only for me? :|

Link to comment

Highlighting by Fro is very nice, only one problem though, the function auto completion and parameter isn't working with it. Well it was helping me when I forget an argument.

So does anyone know any solution? Or an alternative? Thanks.

Link to comment

Jaysds1, You wrong installed.

Okay. Who want use Buffalo auto completion and Fro highlighting.

Install

plugins\MTALua.dll and plugins\FunctionList.dll in folder PROGRAM_FOLDER\plugins\

plugins\config\ in folder PROGRAM_FOLDER\Notepad++\plugins\config\

plugins\APIs\ in folder PROGRAM_FOLDER\Notepad++\plugins\APIs\

Run

Select Language -> MTA Lua.

Don't forget restart notepad++ !

Download

Updated.

Edited by Guest
Link to comment

This is not working for me.

I copied plugins\MTALua.dll and plugins\FunctionList.dll in folder С:\Program Files\Notepad++\plugins\

Copied plugins\config\ in folder %APPDATA%\Notepad++\plugins\config\

And copied Buffalo's lua.xml in folder %APPDATA%\Notepad++\plugins\APIs\

And I choose MTA Lua as the language, but it didn't work.

Link to comment

Okay i explain more more better.

Copy all files from folder plugins\APIs\ to folder Notepad_FOLDER\plugins\APIs\

Copy all files from folder plugins\config\ to folder Notepad_FOLDER\plugins\config\

Copy all files from folder plugins\ to folder Notepad_FOLDER\plugins\

Edited by Guest
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...