StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


12»»

VS 2008 driving me crazy...Expand / Collapse
Author
Message
Posted 07/01/2008 6:58:56 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Yesterday @ 11:44:01 PM
Posts: 1,329, Visits: 3,495
The editor in VS 2008 keeps autohiding my properties, while I'm typing in them. I.e. I have a standard property, with xml comments, like:

Private _myProp As Integer

'''<Summary>
''' I'll be typing here especially and the damn thing hides itself on me...
''' </Summary>
''' etc.
Public Property MyProp() As Integer
Get
Return _myProp
End Get
Set(value As Integer)
_myProp = value
End Set
End Property


When it hides itself it'll look like:

private _myProp As Integer...


Any idea on how to alter this behavior?
Post #17518
Posted 07/02/2008 7:51:43 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 7:08:30 PM
Posts: 4,811, Visits: 4,781
You're saying that VS is taking the property code from above and converting it into a private?!?!?!  I have never experienced or even heard of anything even remotely close to this type of behavior if that is what you are saying! 
Post #17528
Posted 07/02/2008 1:12:21 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Yesterday @ 11:44:01 PM
Posts: 1,329, Visits: 3,495
No, no, no...I'm saying that it takes the top code and collapses it (aka regions) into the bottom code. I.e. it doesn't do anything to the code, just hides...while I'm typing in it. Driving me crazy. The "..." indicates there is hidden code, you double click on that and the code is expanded again. Does that make sense?
Post #17541
Posted 07/02/2008 1:28:00 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 7:08:30 PM
Posts: 4,811, Visits: 4,781
Gotcha....the only thing that I could think of is that something along the lines of a hot key or macro combination is firing the outline collapse command.  You can do this through hotkeys and macros, so I wonder if yours has changed from the defaults or something along those lines.  I could definitely see how that could get irritating!
Post #17546
Posted 07/02/2008 6:16:04 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Yesterday @ 11:44:01 PM
Posts: 1,329, Visits: 3,495
What ever it is, it's a sneaky little basta....er...weasel. No macros that I can find are defined. It usually happens when I'm not typing, like when I pause for a second. I'm still looking into keyboard short cuts.
Post #17567
Posted 07/02/2008 10:03:05 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 7:08:30 PM
Posts: 4,811, Visits: 4,781
Dude...your computer is possessed
Post #17571
Posted 07/02/2008 10:31:18 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 11/25/2008 7:55:39 AM
Posts: 473, Visits: 1,955
Have you tried some duct tape?
Post #17574
Posted 07/03/2008 8:38:57 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 4:29:41 PM
Posts: 367, Visits: 2,446
Greg,

Look under edit - outlining , I use the short cuts there to collapse and expand code sections and regions but never had it do it by itself.

Post #17586
Posted 07/03/2008 12:44:47 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Yesterday @ 11:44:01 PM
Posts: 1,329, Visits: 3,495
Bill Cunnien
Have you tried some duct tape?

Yeah. I tried that first. At first I was using an open source duck tape, but it fell off my LCD every time a MS program was used. Then I tried to use Duck Code Tape 2.0 (tm)(c) from MS directly, but there was a bug where the tape would only scroll with the regions if I was scrolling down, so I had to remove it. When I took the tape off, it mangled my code, turning it into C# with calls to unmanaged assembly code. Thanks for the suggestion though

Look under edit - outlining , I use the short cuts there to collapse and expand code sections and regions but never had it do it by itself.

Paul, I assume you mean Tools|Options|Keyboard right? I don't see anything there yet, but I'm investigating.
Post #17605