npltools's People
npltools's Issues
can not input space letter into text when there is auto completion candidates
F12 navigation for vs2017
when press F12 in vs2017, it always show "a definition for symbol XXX could not be located"
open a .lua .npl file crashes
.vsix installation
.vsix installation warn that the extension isn't compatible with vs2017, but it works for vs2017. Need to find out the reason.
npl_packages文件夹默认应加入项目中
npl_packages文件夹默认应加入项目中。
目前 npl_packages 文件夹不在项目中,需点击“显示所有文件”后才可在IDE中看到。
Add SetBreakpointHere
在一个已存在的解决方案中新建项目会导致IDE重启
在一个已存在的解决方案中新建项目会导致IDE重启。
重启后新建的项目不包含在解决方案中。
comment syntax
comment syntax works only after a line break after it
exception when adding new item
Support predefined XML documentation in solution directory
Support predefined XML documentation in solution directory and each npl_packages folder as in old npl plugin.
line number not show up
Add navigation support of function parameters
code snippet support
the most useful one is
LOG.std()
Code reformat
Useful to reformat code as in our old plugin
Exception when hitting several backspace in completion feature
.lua and .npl extension not support for C# project
if add a .lua file in C# project, extension does not support it yet
新加两个项目类型
创建项目时,现在只有 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
auto completion issue
auto completion shows up randomly, not as expected
stackoverflow in Equal method of Declaration class
sometimes it would stackoverflow
drag a file to ide makes it crash
将一个文件拖动到IDE后,会导致IDE重启
若IDE已打开了一个NPL项目,将一个外部文件拖动到IDE后,会导致IDE重启。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.