Coder Social home page Coder Social logo

npltools's People

Contributors

darrengzy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

npltools's Issues

.vsix installation

.vsix installation warn that the extension isn't compatible with vs2017, but it works for vs2017. Need to find out the reason.

comment syntax

comment syntax works only after a line break after it

新加两个项目类型

创建项目时,现在只有 Express 项目可选,
新加:Console Application,NPL Mod

console application: 新建项目后,根目录有个 app.lua 或者 app.npl 或者 main.npl 文件,里面有个 print('hello NPL') 就行了。基本上目录节构要建好,在根目录下需创建一个 npl_packages 文件夹,同时在根目录下应有一个 package.json 文件,文件内容参考 nplweb示例项目 中的 package.json。

NPL mod:新建项目中,新生成一个Mod项目基本的文件结构。在根目录下创建一个 npl_mod 文件夹,在该文件夹下再创建一个与项目名相同的文件夹,再在此文件夹下创建一个与项目名相同的 lua文件或npl文件,文件中默认有类似以下的内容:

local express = {}; 《《 这里的变量名应与项目名相同

function express:new(o) 《《 同上
	o = o or {};
	setmetatable(o, self);
	self.__index = self;
	return o;
end

NPL.export(express); 《《 同上

参考 nplexpress

null reference

line #106, LuaBlockNode.cs. NameSpaces[i].Name sometimes is NULL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.