Intellisense shows local declarations out of their scope


Intellisense does not scope local declarations correctly and shows the variables declared with the 'local' keyword outside their scope (enclosing file, function (parameter, local variable), etc). This bug has been verified to exist and has an easy fix that will be included in the upcoming bugfix release that should be out soon.
For those interested in this bug in detail should look at http://www.codeplex.com/WarcraftAddOnStudio/SourceControl/FileView.aspx?itemId=80204&changeSetId=4524 (LanguageService.cs) and http://www.codeplex.com/WarcraftAddOnStudio/SourceControl/FileView.aspx?itemId=80726&changeSetId=4524 (AstDeclarationParser.cs). The chunk for the active file is parsed without caret position information (astDeclarationParser.AddChunk(parser.Chunk, request.Line, request.Col) should be called instead).
Closed Feb 15, 2009 at 7:09 PM by danielfe
Fixed in AddOn Studio version 2, Beta 2, Release ID: 22870

Link: http://www.codeplex.com/AddOnStudio/Release/ProjectReleases.aspx?ReleaseId=22870