00:07
13 hours later…
3 hours later…
17:14
Matt do you envisage some red squiggles being built into the editor and some coming from a language server? Some features don't need parsing to work? I hate my python editor is so laggy with it's language server suggestions, VBE has always felt very snappy and solid. I wonder whether the theoretical minimum latency LSP (given it runs in a separate process) will make it a challenge to keep things feeling sharp?
17:32
@Greedo syntax highlighting is built into the editor, it works off simple regex-based rules. There's a simple parser in place, that just gets a parse tree (and syntax errors, plus a token stream rewriter), with listeners for syntax errors and block foldings - that parser runs on an idle timer.
So we quickly get syntax error squiggles, and in theory we could run the parse tree inspections off the quick-parse too
so some inspection squiggles will show up with a latency; same for the member providers /implemented interfaces, and any additional in-editor navigation tooling, like Ctrl+click GoTo definition, or navigate to interface/implementation
Although, a limited ParameterInfo tooltip could probably work off the quick-parse tree, for calls to members that are loaded in the editor
Oh, and non-implemented members / event handlers won't show up until the interface is known, too - so ThisWorkbook and Sheet1 modules only get the members that exist in the module, until a full parse happens.
So the initial parse will probably still take a little while, but (assuming a port) for any module that's loaded in the editor it can just grab the existing parse tree, so there's that.
In any case, RD3 is much snappier than 2.x, partly because it doesn't do much yet, but there's a lot of stuff going on in 2.x constructors that's now being deferred, so even with all the features in I think we'll have a better startup time and overall experience.
1 hour later…
5 hours later…
23:52
« first day (3106 days earlier) ← previous day next day → last day (74 days later) »
Transcript for
Dec6
Dec '227
Dec8
VBA Rubberducking
This chat has moved to Discord: discord.gg/MYX9RECenJ