gregfullman / vsgenero Goto Github PK
View Code? Open in Web Editor NEWThis is a Visual Studio extension for the Genero BDL.
This is a Visual Studio extension for the Genero BDL.
Really, I need to implement the user-configurable list like what c# does...
Things like hotkeys that invoke the autocomplete list, etc. There are also options to disable autocomplete, and configurable characters that commit the autocomplete selection.
It appears the schema keyword is confusing the editor. In the code below, function is underlined with "main block found in incorrect position" and the "go to definition" cannot find foo.
VS 2015
VSGenero 0.9.7.6.
schema test
define foo decimal(10,2)
main
call test()
end main
function test()
let foo = 10
end function
Thank you for the excellent plug in.
Current intellisense for cursors leaves a lot to be desired. Since there are quite a few ways that cursors can be declared and prepared, it's tough to do a reverse analysis of all possible cases.
After a while using the 4gl editor, the devenv.exe memory usage increases steadily. Doing a quick .NET memory profile shows that the parsing code does a lot of memory allocation, so this is a prime spot for investigation.
If a selection is made in the autocomplete list when typing an array index, and then the closing square bracket is entered, it commits the autocomplete selection but doesn't add in the closing square bracket. Look into how the comma works, because that work correctly.
To repo:
1.Open a 4gl file.
2.Go to Tools -> Options... > Text Editor -> Genero4GL -> Intellisense
3. "Click Download latest contexts"
4. "Click Reload completion contexts"
5. Click OK
6. Dialog closes and returns to the opened 4gl file focused.
Result:
After a short while an error dialog will repeatedly show with the details:
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: VSGenero2015
TargetMethod: [VSGenero2015]VSGenero.Options.Genero4GLIntellisenseOptionsControl::_timer_Tick()
StackTrace:
at VSGenero.Options.Genero4GLIntellisenseOptionsControl._timer_Tick(Object sender, EventArgs e)
InnerException:
System.NullReferenceException
Object reference not set to an instance of an object.
[VSGenero2015]VSGenero.Options.Genero4GLIntellisenseOptionsControl::_timer_Tick()
Other Info:
Probably just some little xml file that maps keyboard combinations to bits of text
If you use "Go To Definition" for a function which is in a file which uses {} type comments, the cursor will be put in the wrong location. The cursor location will be offset by the number of lines in the block comment.
EG:
{this
is some
comment }
function Foo()
end function
Going to the definition of Foo will place the cursor three lines lower than function Foo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.