f13.net

f13.net General Forums => General Discussion => Topic started by: Yegolev on February 19, 2008, 11:54:10 AM



Title: C# 2008 IDE nooblet
Post by: Yegolev on February 19, 2008, 11:54:10 AM
Searching for an answer to this isn't getting me anywhere, but I want to know if there is a way to have the IDE align the tabs and do code formatting of existing code that I have already pasted in but somehow is misaligned?  I don't want to go through all those lines retyping or repasting crap.

While I'm asking, I guess what I really want is some sort of IDE Protip Sheet for C# beginners, like the vi pocket references you see on cubicle walls.  For example, I'd like to know if there is some way to keystroke an autocomplete of a method call when I don't have any args to pass in; this would save me precious time in the long run since this is fairly common.  I already know where the master documentation is.


Title: Re: C# 2008 IDE nooblet
Post by: Viin on February 19, 2008, 11:57:39 AM
Try Ctrl-k, Ctrl-F after selecting the code.

Edit: For more stuff, try here: http://visualstudiotips.wordpress.com/ (http://visualstudiotips.wordpress.com/) (It's VS.NET but should apply to 2008, I think).


Title: Re: C# 2008 IDE nooblet
Post by: Yegolev on February 19, 2008, 12:30:55 PM
Yes, CTRL-k, CTRL-f is exactly what I was looking for.  CTRL-] is also causing me to weep with the joy of recaptured time.  Now I just need to figure out where this keystroke shit lives in the documentation.  Thanks much.