Skip to main content

LUA Integration in Notepad++

This guide explains how to enable syntax highlighting and auto-completion for LUA and TELLNEXT-specific functions in Notepad++.


🎨 Syntax Highlighting​

Syntax highlighting improves code readability by visually distinguishing standard LUA elements and TELLNEXT internal commands.

The configuration is available via the file: TELLNEXT_LUA_COLOR.xml

Key Groups​

  • Group 1: LUA function prefixes used in TELLNEXT.
  • Groups 2–5: Standard LUA functions and styling.

📥 How to Apply​

  1. Open Notepad++.
  2. Go to Language > Define your language.
  3. Click IMPORT and select the file TELLNEXT_LUA_COLOR.xml.
  4. Restart Notepad++.
  5. Open a .lua file, then select Language > TELLNEXT_LUA.

✅ TELLNEXT commands will now appear in big blue, enhancing visual distinction.


⚡ Auto-completion​

Auto-completion provides a drop-down list of available functions when you begin typing a TELLNEXT object or prefix.

For example, typing Proc will suggest:

Process.setVar
Process.getVar
...

Each suggested function includes:

  • Parameter details
  • Return values
  • Function description

📥 How to Apply​

  1. Copy the file TELLNEXT_LUA.xml to the following path: C:\Notepad++\autoCompletion Files\
  2. This file is based on the default lua.xml and extended with TELLNEXT-specific functions at the top.
  3. Open any .lua file in Notepad++.
  4. Select Language > TELLNEXT_LUA to activate auto-completion.

📸 Example​

Auto-completion Example


📌 Notes​

  • Ensure both files (TELLNEXT_LUA_COLOR.xml and TELLNEXT_LUA.xml) are correctly placed.
  • Restart Notepad++ after making changes for them to take effect.