So here's the issue, i've removed just about everything i've found in the program- but i can not figure out for the life of me how to remove the useless whitespace that was where the line numbers were, which is completely irrelevant to me, you are basically losing 1/8th of the entire screen to useless whitespace in this IDE, and i'd like to remove it, but i dont see a setting for it, does anyone know where it is ? - basically you can see on the red lines what i mean to remove, also does anybody know how to remove the blue little extra bar? Also useless to me. Thankyou to whoever can point me to a setting where i can switch off this and retrieve some of my lost screen real-estate.
That area is for the Intellisense "Hint" icon, the track changes, selection margin, and indicator margin. Those settings are found by opening Tools > Options > Text Editor > General:
Here is what my IDE looked like before deselecting them:
And then after:
Related
Visual Studio used to alert us of unused variables by darkening them. Now (version 16.10.2) it fills the code with three dots everywhere, which look a little like code and are more confusing.
Is there a way to get the old way back?
There is a color control for the ellipses called "Suggestion Ellipses...". You could set the foreground color of it to the same color as your editors background to get a sense that its turned off. You'll still see it when you select the item though like so:
Version 16.10.3 now
It looks like they changed it back.
So if you still have it - update VS.
I have a RadScheduler, the Date numbers that live in .rsDateHeader are no longer displaying. They exist when I inspect in Chrome, but aren't appearing on the page. Is anyone aware of a breaking change that may have affected this? I'm not seeing one in my research and it's driving me nuts!
Is there a field I can modify for this? Something in the CSS I can force?
I'm not sure how it happened, as I'm the only one who would touch this, but I found a line in the CSS that set the font size to 0. If someone else is having this problem, make sure you thoroughly check any CSS that might touch this!
When I try to add something on my TabControl in certain places, it automatically moves it into another Tab.
For example I can add a `Label' here:
But not here:
It automatically moves to the other Tab when I add it in the middle.
Hah, thank you Hans Passant for the answere. I'll write it here as an answere if someone else get this "bug". How I fixed it:
Change the tabcontrol from alignemnt Left to Top and then back to Left again.
Idk why it works but it does (y) :D
EDIT: wait... now it dosn't work again?.. crap
NEW EDIT: OK. Now I figured out what was causing it. I was using VB power packs and when I removed that it now works (y)
I want to achieve "Virtual Space" functionality, similar to one in Visual Studio, in AvalonEdit.
I.e. the caret could be positioned beyond the end of the text line, and if you press any key, there would be spaces automatically added to match.
I am very used to this feature, but neither Googling nor studying AvalonEdit's code gave me any clues on how to enable it, if it is supported at all.
If it is not, suggestions how to extend caret handling mechanisms would be nice.
Thanks!
Edit:
Virtual space support has been added to AvalonEdit in version 4.2.0.8283.
Set textEditor.Options.EnableVirtualSpace = true;.
Below is my original answer.
It's not currently supported.
If you want to try adding it, make sure you read the "coordinate systems" documentation (in the help file on CodeProject). You'll want to extend the "visual column" so that positions after the line end are valid. And you'll have to adjust the position<->column calculations (VisualLine.GetVisualColumn and friends). Use TextView.WideSpaceWidth to figure out the columns past the end of the line.
The above should allow you to use the mouse to place the caret in virtual space. After that, you'll need to change the caret movement (arrow keys, CaretNavigationCommandHandler) and text input logic (TextArea.PerformTextInput) to also support the virtual space.
And if you're successful with the above steps, don't forget to contribute your changes back to AvalonEdit. :-)
While I'm not a fan of virtual space myself, we need something like it to make the RectangleSelection work properly.
After certain R#-recommended edits R# colors the background of blocks of code in a light royal blue and also places a mark next to the scroll bar with the same color. It is not an error or even a suggestion. It seems to be a temporary flag that clears if you close and reopen a file.
Steps to recreate:
Write a line of code like: string str = string.Format("{0}", 1);
Notice that R# will mark the str var with a light gray because it is never used.
Press Alt+Enter on the variable and select Remove Declaration from the R# context menu
See the line of code turn light royal blue...
Hover your cursor over the scroll bar marker, all you see is the code...
Does anyone know the meaning/usefulness of this "flagging"?
EDIT: My Resharper version is 4.5 running in VS 2005
I've verified the behavior that you're seeing in R# 4.5 VS 2008 (build 4.5.1274.1). I've gone through the ReSharper specifc colors in Tools->Options->Environment->Fonts and Colors and found this to be "ReSharper Highlight". I searched the ReSharper defect tracking for "remove declaration" and found this report:
RSRP-68435
A "remove declaration" fix appears for
the declaration of test. Selecting
this removes the declaration, but ends
up coloring the then and else clauses
of the if statement blue and adds blue
bars to the error strip.
The Jetbrain's answer is:
This fix works as designed. Removing
declaration can break code, so all
broken usages highlighted and you can
navigate them and fix or remove code.
Only simple expressions are removed
automatically (strings, numbers).