Powerful extension for VS.NET to generate code, execute macros, evaluate expressions, refactor and more. Create your custom commands to automate any imaginable repetitive task. More than 100 commands included.
I just quickly tried this out. It looks like it just does the same thing as Visual Studio's code snippets; there is overlap between the functionality of the two.
The free version only lets you use some pre-defined completions; you can't define your own. Because of this, it's not really much of an improvement over code snippets to me.
Also, when I uninstalled it, it broke Visual Studio's Ctrl+Enter keyboard shortcut, which I use a lot. I was able to re-assign the shortcut by binding it to the "Edit.LineOpenAbove" command at Tools -> Options -> Environment -> Keyboard.
AutoCode seems like an excellent replacement for the miserable MS "snippets" tool. But with all the acolades already provided, lets not forget, that a tool is only as good as its users' understanding of how to use it.
AC has an intuitive interface (good) and provides online help links for each command (could be good). However, the help links don't really provide any help. They just pop-up a copy of the command's xml. This is already available via double-clicking on the command in the AutoCode Catalog.
If there is going to be a help link, I would expect it to actually provide some HELP.
For example, an explanation of the various sections of the xml, a tip on organizing shortcuts (how to avoid duplicates), and how to convert snippets to commands (wholesale if possible).
After a few weeks of play , I now USE it. If you haven't tried it yet have a go, you'll be hooked
The best bits are the ease of which you can create new templates , there are built in functions for Pascal and Camel case , but its extensibility allows you to write your own library to add in other functions , eg MakeSingular MakePlural etc. "If you can code it you can use it".
It is so lightweight that you don't even notice it . Compare that with the Big Boys of code generation and IDE add ins
The other biggy is that you are writing directly into the editor so intellesence works , so you start to type , accept the suggestion , add a shortcut and wham.
Add to that you can split generated code into areas of your text ,eg end Of fields. You can genrate a Property and separate the backing var from its property declaration .
The way it's implemented: * makes it exceedingly versatile * customizable ** change the built in script command results (for instance, remove underscore (_) from class variable names) ** create your own script commands * extensible ** call external executable commands ** create your own library of executable commands
The best part about this tool is it feeds my desire to be productive on the front end (customize the scripts to my liking), so I can be lazy on the back end (reduce my coding time significantly).
When I try to use this extension as > int id string name Person class, Im getting
"" Command line: 'int id string name Person class'
Error compiling source code.
Error compiling source code.
- Line 0: error CS0006: Metadata file 'C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\EnvDTE90.dll' could not be found
Error, do you have any idea about where I can find this dll or find a solution?
This is a known problem with AutoCode for Visual Studio 11 beta, and occurs if you don't have Visual Studio 2010 also installed in the same machine.
While we are preparing a new setup to correct this, please use the following work arround:
Create a directory named "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\"
Copy there the following assemblies:
You can find those assemblies from a Visual Studio 2010/2008 installation at the same folder.
Sorry for the inconvenience but, please, understand that Visual Studio 11 is a beta product and so is AutoCode for Visual Studio 11.