Since WL9 build 1, I'm noticing random valid C# code sections as remarked. See screenshot. Both code sections are perfectly valid, not remarked continues code but one is recognized correctly and the 2nd as a remarked section.
If I move the cursor to the beginning of the "remarked" code line and press the space bar, IDE suddenly paints the line correctly (not remarked).
There is no // or /* */ between the two sections.
This causes confusion and it's harder to debug code.
If I move the cursor to the beginning of the "remarked" code line and press the space bar, IDE suddenly paints the line correctly (not remarked).
There is no // or /* */ between the two sections.
This causes confusion and it's harder to debug code.
Rename
How do you make that happen exactly?
It sure would help if you post a minimal script that does it.
It sure would help if you post a minimal script that does it.
There is nothing special I do - just open C# IDE in WL9.
The code in the screenshot is not special. Incorrectly remarked code lines happen randomly in other sections, it can't be recreated.
The only other thing of note is that the script is ~4400 lines long; but only half of it is active. I remarked the other half (meaning it's shown as remarked, as it should).
I suspect the IDE has a bug due to length.
The code in the screenshot is not special. Incorrectly remarked code lines happen randomly in other sections, it can't be recreated.
The only other thing of note is that the script is ~4400 lines long; but only half of it is active. I remarked the other half (meaning it's shown as remarked, as it should).
I suspect the IDE has a bug due to length.
That's probably in the third-party editor then (Alternet). We'll have to see what Glitch thinks, but I'm not sure we can do anything about it ourselves.
We can report the issue to the editor creator, Alternet.
Here is an open-source, community-supported and maintained alternative (I'm sure there are others):
https://github.com/AvaloniaUI/AvaloniaEdit
https://github.com/AvaloniaUI/AvaloniaEdit
Thanks for the suggestion! However, AvaloniaEdit is designed for the Avalonia UI framework, whereas WealthLab is built using WPF. In fact, AvaloniaEdit is itself a port of AvalonEdit, which was originally developed for WPF.
So unfortunately, AvaloniaEdit isn't a drop-in replacement for our current editor. Switching editors would also involve considerable work to preserve our existing C# editing, IntelliSense, debugging, and other integrations.
There's also no guarantee that a replacement editor wouldn't introduce its own set of bugs, limitations, or compatibility issues. We know the strengths and weaknesses of our current editor, whereas switching to something else could simply trade known issues for a whole new set of unknown ones.
We're certainly open to evaluating alternatives, but replacing such a fundamental component isn't a decision we'd take lightly.
So unfortunately, AvaloniaEdit isn't a drop-in replacement for our current editor. Switching editors would also involve considerable work to preserve our existing C# editing, IntelliSense, debugging, and other integrations.
There's also no guarantee that a replacement editor wouldn't introduce its own set of bugs, limitations, or compatibility issues. We know the strengths and weaknesses of our current editor, whereas switching to something else could simply trade known issues for a whole new set of unknown ones.
We're certainly open to evaluating alternatives, but replacing such a fundamental component isn't a decision we'd take lightly.
Of course, it was a suggestion.
I also noticed the ide been a bit slow, with frequent hiccups, when typing/code suggestion. So I thought this is a good opportunity to evaluate.
I also noticed the ide been a bit slow, with frequent hiccups, when typing/code suggestion. So I thought this is a good opportunity to evaluate.
Your Response
Post
Edit Post
Login is required