Forums
New version of MonoDevelop addin
13 posts
• Page 2 of 2 • 1, 2
Re: New version of MonoDevelop addin
That makes sense. Would that mean that there might be some variables missing or does that optimization happen later when the IL gets compiled?
- nerdzero
- Posts: 286
- Location: Chicago, IL
Re: New version of MonoDevelop addin
IL is effectively the compilation (ie it is what happens when you click Build or Compile). Then you have (for most .Net) the JIT which does run-time compilation to the particular target platform. There may be some optimizations the c# compiler will do ahead of time, but I think most of the work is done by the JIT.
(Btw, was the autocomplete logic of any value to you, or were you pretty much already past that point).
(Btw, was the autocomplete logic of any value to you, or were you pretty much already past that point).
- torial
- Posts: 229
- Location: IA
Re: New version of MonoDevelop addin
Interesting. Wrote a quick program that only does assignments, looked at the decompiled C# and the variables didn't show up. Added a print statement and they showed up, even the ones that weren't necessary. Guess that makes sense as it would depend on the platform when certain optimizations could be made.
The autocomplete logic was simliar to the one I had developed before. Unfortunately, I'll have to use a different approach for providing completion when the source has yet to be compiled. I'm planning on wrapping the Cobra syntax nodes using a decorator that also implements the requisite typesystem interfaces from the NRefactory library. Yeah, I barely understand that last sentence I just wrote I'm starting on this probably next week but it will take me a while to finish.
Oh, what was really useful was your comment about creating folds starting from the bottom of the source instead from the top. It really did simplify a lot of issues and require a lot less code so thanks for that.
The autocomplete logic was simliar to the one I had developed before. Unfortunately, I'll have to use a different approach for providing completion when the source has yet to be compiled. I'm planning on wrapping the Cobra syntax nodes using a decorator that also implements the requisite typesystem interfaces from the NRefactory library. Yeah, I barely understand that last sentence I just wrote I'm starting on this probably next week but it will take me a while to finish.
Oh, what was really useful was your comment about creating folds starting from the bottom of the source instead from the top. It really did simplify a lot of issues and require a lot less code so thanks for that.
- nerdzero
- Posts: 286
- Location: Chicago, IL
13 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 27 guests