Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Extended Command Line Wizard and Fast Project Change

0.00/5 (No votes)
27 May 2008 1  
I work with about 1500 projects, and usually I need to change the project a lot of times a day. Also, I’m a command line enthusiast, and I don’t like the default command window of the DevStudio. I built this small plug-in to improve these two things.

menu.JPG

Introduction

jlSuperStudio is an add-in to Microsoft Developer Studio. It has been tested with Visual Studio 2005.

I works with up to about 1500 projects, and usually I need change of projects a lot of times a day. Also, I am a command line enthusiast, and I don’t like the default command window of the DevStudio. I built this small plug-in to improve these things:

  • Easy access to DevStudio commands
  • Fast change of current solution
  • Fast open of a directory

Background

This simple sample will be useful for you if you need to build a Dev-Studio plug-in with a self-dockable window. I just need to write one or more parts of the target strings, and you will see it on the list. If you hit Enter, the command will be executed, or the project/directory opened. Everything is programmed with ATL (no MFC), and it’s based on simplicity. You will not find complex algorithms here, just an easy way to list projects, directories, and commands.

With a little effort, you will be able to add more helpers to the plug-in, for example, active files, recenty used files, file functions or variables, etc.

Points of Interest

Sample command launch: They are sorted by “favorites”, more used commands go on top, and are marked with a blue check.

command.JPG

Change current project: They are sorted by “favorites”, more used projects go on top, and marked with a blue check. You will see that you can write two or more texts.

project.JPG

Open a directory: They are sorted by “favorites”, more used directories go on top, and are marked with a blue check. You will see that you can write two or more texts.

directory.JPG

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here