CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Raymond Lewallen

Framework Design, Agile Coach, President Oklahoma City Developers Group, Microsoft MVP C#, TDD, Continuous Integration, Patterns and Practices, Domain Driven Design, Speaker, VB.Net, C# and Sql Server

October 2007 - Posts

  • How do you clean up the files in a project quickly?

    Put your hands on your keyboard, don’t touch the mouse.

    CTRL-ALT-L; Down Arrow (to a file), Enter, CTRL-ALT-F, Enter, (F12, Alt-Enter, Enter (repeat all necessary loops)), CTRL-ALT-F, Enter, CTRL-S, CTRL-F4

    Repeat until you reach the end of the file list.  *note* you have to have Resharper.  If you don’t, shame on you.  Your job is harder than mine.

    Update:  This is using IntelliJ mappings.  The key sequences are as follows:

    CTLR-ALT-L – move from editor window to solution explorer.

    CTRL-ALT-F – reformat code

    F12 – move to next error/problem/issue

    ALT-ENTER – suggestions for fixing issue

    CTRL-S – save the file

    CTRL-F4 – close the fil

More Posts