Skip to content
Zhiyuan edited this page May 31, 2017 · 6 revisions

NPLTools

What is NPLTools

NPLTools is a Visual Studio extention for Lua/NPL. It provides basic Lua/NPL project system and language service.

Why a NPLTools

NPLTools refer to Python Tools and Node.js Tools extensions in Visual Studio, and try to bring the same things to Lua/NPL.

What is NPL

NPL stands for Nerual Programming Language. It is an open source, fast, general purpose scripting language. Its syntax is 100% compatible with Lua.

Main Features

  • Project System
  • Syntax Check
  • Format
  • Auto Completion
  • Tooltip
  • Navigation to
  • Outlining
  • Brace Matching

How to install

NPLProject.vsix is the only thing we need to install NPLTools

How to use

  1. Create Project File->New->Project, select a project type under NPL.

  2. Setup Project Properties Project->Properties

Changes Note:

2017.5.2 - 2017.5.7

  • works for .npl and .lua files in all kinds of project types
  • autoload and analyze .xml files in the project
  • support SetNPLBreakPoint command
  • auto download packages according to Package.json
  • navigation analysis support require("*.lua") function
  • navigation analysis support take account of assigning effect

2017.5.8 - 2017.5.14

  • add debugger prototype to NPLTools, refer to AD7Engine, IPCDebugger, remdebug
  • improve auto completion user experience

2017.5.15 - 2017.5.21

  • breakpoint could be hit and provide some simple stack frame info in debugger
  • fix parsing synchronization problem, which solves vs crash issue
  • navigation support function parameter
  • change default syntax color
  • add auto completion icon

2017.5.22 - 2017.5.27

  • braces auto completion
  • support nested stack frame info
  • support step into and step over operation
Clone this wiki locally