Giter VIP home page Giter VIP logo

vslua's Introduction

Visual Studio Extension for Lua is a free, open source plugin that turns Visual Studio into a Lua development environment. It is designed, developed, and supported by Microsoft and the community.

Build status Visual Studio Extension

The extension currently supports editing intelliSense, syntax colorization, formatting, and error squiggles. It also supports single Lua file debugging.

The installer is available on https://visualstudiogallery.msdn.microsoft.com/46e33dfd-c2bd-4903-99b3-94ab0f6847e9

Releases โ€ข Visual Studio Extension for Lua 1.0 includes editing and local debugging support for Visual Studio 2015.

Contributions We would love to have you as a contributor!

License

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

vslua's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vslua's Issues

Won't install with VS 2017

The Wix installer requires VS 2015. I didn't see the installer code in the project. VS 2017 support would be grand! Thanks.

Hang/Crash

We have a large number of LUA files.

We tried this plugin in Visual Studio 2015.

Three of us have seen hangs and crashes that we had to uninstall.

Hangs and crashes seem random.

From team:

"One hang I noticed after typing 'if (' "
"The crashes/hangs are about once every 2 hours of intensive use"
"I did find that that extension made my copy of VS hang, Not terminally, but enough to make the system unusable"

We use LUA a lot so would definitely like to use this when it is stable.

Wrong formatting

When formatting this code

local winterCondition =(tHour == 22 and winter and not weekend and houseModes.away ~= houseMode)
local summerCondition =(tHour == 23 and(not winter or weekend) and houseModes.away ~= houseMode)

the space between 23 and "and" will be removed, and the lua code will not compile anymore. it's not happening always, as it depends (strangely) on the amount of lines of code.

current state of the repository --> doesn't compile.

hi, is this the correct current repository for the vslua project? it seems that lots of merging didn't complete preventing the cloned repository from compiling.
before i sink in too much time trying to get this to work, i thought i better ask.
examples: duplicated file "SyntaxKind", missing public property "Kind" on SyntaxNode etc. etc.

or has lua support in visual studio been abandoned (like, no commit in the last year)?

i think enabling as many things as possible in full VS still is a good idea and since i had to do some lua i wanted to do it in VS.

An exception has been encountered.

It's not complicated, the LUA file that creates this error someplace in it when switching to the file tab:

System.InvalidOperationException: Stack empty.

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Stack1.Pop() at LanguageService.Parser.ParseBlock(ParsingContext context) at LanguageService.Parser.ParseFunctionBody() at LanguageService.Parser.ParseFunctionDef() at LanguageService.Parser.ParseExpression() at LanguageService.Parser.ParseField() at LanguageService.Parser.ParseListElement(ParsingContext context) at LanguageService.Parser.ParseSeparatedList(ParsingContext context) at LanguageService.Parser.ParseTableConstructorArg() at LanguageService.Parser.ParseArgs() at LanguageService.Parser.ParseFunctionCallPrefixp(PrefixExp prefixExp) at LanguageService.Parser.ParsePrefixExp(PrefixExp prefixExp, Boolean parsingFunctionCallStatement) at LanguageService.Parser.ParseExpression() at LanguageService.Parser.ParseListElement(ParsingContext context) at LanguageService.Parser.ParseSeparatedList(ParsingContext context) at LanguageService.Parser.ParseParenArg() at LanguageService.Parser.ParseArgs() at LanguageService.Parser.ParseFunctionCallPrefixp(PrefixExp prefixExp) at LanguageService.Parser.ParsePrefixExp(PrefixExp prefixExp, Boolean parsingFunctionCallStatement) at LanguageService.Parser.ParseStatement() at LanguageService.Parser.ParseBlock(ParsingContext context) at LanguageService.Parser.ParseFunctionBody() at LanguageService.Parser.ParseGlobalFunctionStatementNode() at LanguageService.Parser.ParseStatement() at LanguageService.Parser.ParseBlock(ParsingContext context) at LanguageService.Parser.ParseChunkNode() at LanguageService.Parser.CreateSyntaxTreeInner(TextReader luaReader) at LanguageService.ParseTreeCache.Get(SourceText sourceText) at LanguageService.Diagnostics.DiagnosticsProvider.GetDiagnostics(SourceText sourceText) at Microsoft.VisualStudio.LanguageServices.Lua.Errors.ErrorTagger.&lt;GetTags&gt;d__7.MoveNext() at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator1.<GetTagsForBuffer>d__38.MoveNext()

I had to uninstall this extension, it is not ready for use.

The future of Lua language support for visual studio

BabeLua_mod is a modified version of the open source version of BabeLua. It fixes all the bugs found in the original version and adds new features: fast startup, support VS2013-2019, support lua5.1-5.4, support remote device debugging, support x64 programs debugging, supports attaching to process debugging, supports mixed debugging with native code, and supports debugging memory files.

https://github.com/sonyps5201314/BabeLua_mod

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.