Visual Studio add in to provide solution statistics - visual-studio-2010

Years ago I used to have a visual studio plug in (2003 era) which produced a nice little report showing number of lines per code by solution, then project then class, etc.
I've been looking for something similar ever since with no joy. Can anyone recommend one?
Thanks

it's not exactly what you want but doesn't do Code Metrics the job? And if you want to extract them there are Powertools for it.
PS: I think you need professional or above for this.

Related

Working Set of files - Visual Studio 2012

Hi does anyone know of a plugin for visual studio 2012 that will let me add files to a current working set.
I have a large solution worked on by many people and navigating around it takes me a lot of dev time.
Up to now i've been using bookmarks, but something smarter would be good, the bookmarks seem a bit simple.
Eg. being able to book mark a whole folder would be useful!
thanks
Matt

Visual Studio 2010 for UI wireframe?

Just wanted to know that how good is the Visual Studio 2010 for designing UI wireframe?
Is there any major shortcoming in VS2010 in this area.
The UI that i am going to create are the mock up UI but i intend to use the same in future for actual web application development.
Please help, as i am going to use it for the above mention work .
I would rather use visio or any other Mockup tool, see here: http://webdesignledger.com/inspiration/18-great-examples-of-sketched-ui-wireframes-and-mockups
I don't think Visual Studio alone without any AddIn would be very useful in this.
If you want a microsoft product why not use sketchflow http://www.microsoft.com/expression/products/Sketchflow_Overview.aspx
AS you may already have blend installed.
I've started using the Balsamiq mock-up tool for quick prototypes, it's good for that early mock-screen stage but it might be too simple for what you want.
http://balsamiq.com/
There is a web-demo you can try, my favourite feature about it is that it doesn't look like a finished product so it keeps things looking suitably "prototypey". I've tried sketchflow after watching the incredible demo video but it was much buggier and unreliable when I tried it for myself and I spent more time fighting with it than I did coding so I just ditched it and went back to the Balsamiq tool.

Replacing/Extending Visual Studio's Generate Stub in Visual Studio 2010

When we write the name of a method that doesn't exist, Visual Studio 2010 asks us if we'd like to generate a method stub with that name. What I'd like to know if is it possible to replace that same code stub generating command with one made by myself. I never did any kind of extensibility programming for Visual Studio so I have a couple of questions:
How hard is it? Is it something I can learn in a couple of nights, or is it something that'll make me "lose" a lot of time?
It seems to me that there isn't a lot of support for that kind of programming, as generally people are not that interested in developing solutions that extend the Visual Studio IDE. I searched on SO and it doesn't appear to have many threads about extending Visual Studio.
I don't know how the generate method stub thing works in Visual Studio, but I just wanted to turn it into something a bit more flexible and useful. Has anyone dealt with these kind of things before, that can give me a pointer to where to start? I know of MS VSX site but that has a lot of resources and can be overwhelming for someone new to the subject as I am.
What technology will I need to use? T4? Maybe I'll need to know a lot about the code, like Visual Studio does, so I can know other method's type arguments, names, etc. Is that what T4 is for?
Thanks
I searched the web a bit and I don't see anything about customizing the "Suggested Fix." Your thought in #2 is probably spot-on.
You can modify the VS editor by reading through http://msdn.microsoft.com/en-us/library/dd885242.aspx.

Which features & shortcuts for Visual Studio 2008 I might be missing, and how can I find out?

I recently got a job working for a company who uses several programming languages but mainly focuses on C#, and thus uses Visual Studio 2008.
As lame as it sounds, I don't know how to use it productively. I don't know any of the keyboard shortcuts, I didn't know you could restrict builds to certain parts of a solution until someone showed me. I'm sure there's a way to "Clean" "Build" "Run" without manually initiating each process, but I don't know what it is.
If it was just a "Search the help" problem, that'd be easy to solve, but I don't even know what I might be missing. Is there a productivity feature that everyone else uses and I don't? {Shrug}
So, what simple features of Visual Studio am I likely to be missing, and how can I find out other power-features to help me become more productive?
You can learn tons from walkthroughs, like the File/New/NerdDinner talk that Scott Hanselman gave at Mix 2009. The talk is online here:
http://videos.visitmix.com/MIX09/T49F
Until I saw that talk I didn't realize that you could just drag a SQL Server data file into the Visual Studio APP_DATA folder, and it would automatically hook it up for you. A copy of the data file also goes along for the ride when you build your application.
There are several books that just talk about Visual Studio and how to use it productively. Here are some:
http://msdn.microsoft.com/en-us/vstudio/dd285474.aspx
The problem with providing tips in an online forum like this one is that it can be difficult to "connect the dots." The walkthroughs are really good because you can see where things are in Visual Studio, and what sequences of steps are required to perform common actions.
Sara Ford wrote the book on VS tips and tricks:
http://www.amazon.com/Microsoft%C2%AE-Visual-Studio%C2%AE-Tips-PRO-Developer/dp/0735626405/
Here is a blog post with 24 of Sara Ford's tips
http://blogs.msdn.com/saraford/archive/2009/05/28/devdays-09-24-visual-studio-tips.aspx/
I also recommend James Avery's book:
http://www.amazon.com/Visual-Studio-Hacks-Tools-Turbocharging/dp/0596008473
I hope this helps.
As a start here is a poster which shows all the keyboard shortcuts for commonly used features of VS2008 (in C# mode).
In terms of tooling, ReSharper has a number of good features for improving productivity within VS2008.

Visual Studio 2008 Pro - How to get a quick report about the number of files/classes/lines of code in a solution or project

How would you get a quick report about the number of files/classes/lines of code in a solution or project?
any one know of any free addons or hidden menus i dont seem to have found yet ?
Edit: It would also be cool if it could give a run down of amount of whitespace/comments compared to actual code.
Microsoft's code metrics require the Team Suite edition. You might want to try NDepend, they have both open source/academic/trial (free) and professional ($$) editions.
There isn't anything like that in the Professional version. You would have to bump up to the Developer or Team Suite version to get Code Metrics, which would get you what you want from the integrated tools
Beyond that, I think you have to go third party.
And my two cents worth is that you have to take metrics like that with a grain of salt anyway.

Resources