In visual studio, how can I write a macro that will insert the date into a comment?
My question is as exact as it is. I am wondering if it would be possible to insert the date or the date and time into a comment without having to manually write it out. But what I would really like to know is, is there a way to do this and will I have to implement something with visual studio to do this for me and if so, how can I do this? Any help will be greatly appreciated! :)
Also, I am coding in C-Sharp and am using Visual Studio 2010.
Vista's user account protection caused problems with Visual Studio 2005, and Microsoft addressed this with the Visual Studio 2005 Service Pack 1 Update for Windows Vista. I'm having similiar problems
I derived a small macro script from Visual Studio Macro to Format all Files in a Solution but unfortunately it doesn't work with xml, xaml, config etc. All ProjectItem that are xml-based normally thro
Some of the plugin's methods for which I'd like to write unit tests accept COM objects passed directly by Visual Studio. For example: public void OnConnection(object application, ext_ConnectMode conne
Simple question: In Visual Studio, how can I see whether an assembly is referenced from the GAC or whether the reference is simply referenced through the ('normal') file system? I thought I'd be able
In Visual Studio 2010, is there a built-in way, or a free add-on that can open a file comparison for two selected files? Ideally, I'd like to be able to select two files in the Solution Explorer, righ
I have some Visual Studio Macros created in visual studio which run from the macro explorer and/or keyboard shortcuts. I would like to run these automatically on pre/post build events but see no optio
I am creating a asp.net website and when I open it, Visual Studio asks me to create solution file every time. But I don't want the solution files at all. How can I create a website without a solution
In Auto generate function documentation in Visual Studio Michael Paulukonis explains how to create comment templates by typing in three single comment-markers. It works. But I hate it. How can I sto
How to make live template in Visual studio 2010, I don't know is it really live template or macro, but what I wan't to do is when I'm write code and when I type let's say -> in, and press space, th
I'm trying to search using this regex in Visual Studio, but it doesn't work. <(script|link)\b(.*?)Site.css(.*?)(script>|/>) After reading this article I changed it to \<(script|link)\b(.*
There's an external command I'm using constantly - basically launching a batch file. I'd like to put a toolbar button (and possibly keyboard shortcut) for this into the IDE. Is there an easy way to do
I had a macro (http://weblogs.asp.net/koenv/archive/2008/02/14/quick-attach-and-detach-debugger.aspx) in Visual Studio 2008 that attaches the debugger to IIS (for ASP.NET/WCF development). I assigned
How do I delete a website in Visual Studio online? I am able to delete Collections but not a single site.
How can I integrate svn with the Visual studio 2008 ? which is the better svn plugin/client for the visual studio ?
I just made my first C# application in Visual Studio 2012 and I want to export it in some way so other people could use it in they computers (including computers without Visual Studio 2012). How can I
I can't seem to find how to create an MSBuild script from within Visual Studio. Anyone know how? I'm using VS Professional.
Is it possible to comment a macro and replay it. Example instead of dddwj I would like to comment and execute following fragment dd # Delete line dw # Delete word j # Move to next line Some back
I have a database table PHOTOS created in Visual studio. It has id (int), filename (string) and photo filed type image. I made a form to insert current immage from PictureBox into database. Of course,
I've bought Visual Studio 2010 a while ago for C++ desktop development (Learning mostly, not serious development). Now I'd like to migrate from C++ to C#. I tried going to import and export settings
How can I access the MSDEPLOY command line generated by Visual Studio 2010. I am asking because when I manually run MSDEPLOY I can easly deploy on a remote server and when I run it throught Visual Stu
I am using ClickOnce deployment to publish my application on Visual Studio 2010, but I also want to write some upgrade notes about every publish. Is it possible to write publish notes on the project p
If I create a WPF user control, it appears automatically in the Visual Studio toolbox. Is there a way to make other controls appear automatically in the Visual Studio toolbox? Conversely, is there a w
How do I get all the running instances of Visual Studio so that I can do automation? (added this question because this one was closed)
How can I insert a <br> tag every 115 characters? Which solution is better: strlen or regex? How I can accomplish this? Better to understand, how was made the comment section in stage6. http://w
If I was to have: /// <summary> /// My summary /// </summary> /// <param name='args'></param> on the clipboard pasted it on top of the method static void Main(string args),
Consider a snippet of CSS code from a .css file in Visual Studio 2010 to be commented out. Normally Ctrl + E , Ctrl + C will comment your selected HTML and other source code. But highlighting CSS co
Possible Duplicate: PHP/MySQL: How to create a comment section in your website How can i make Comment Box For my Website with the same functions or similar functions like the facebook's comment box
Possible Duplicate: Can I use .NET 4.0 beta in Visual Studio 2008? Hot can I use visual studio 2008 IDE with .net framework 4?
I'm doing debugging of a Windows Mobile 6.5 application, using Visual Studio 2008, and it'd be nice if I could get console output while the program runs. How can I read the output of printf, from code
I've got a macro that adds the copyright header to my VB files, but unfortunately it's not behaving as expected. Here's the Macro Imports System Imports EnvDTE Imports EnvDTE80 Imports EnvDTE90 Import
Does anyone know of a visual studio macro to remove try-catch blocks? Or the regex to find-replace these try catch blocks? Or if you can show how to create one, that would also be great.
I want to write color text to the Visual Studio output window from c#. I want to output red code from my unit tests.
I need comment my function prototype (written in C/C++) with summary, returns, param tags. How can I persuade Visual Studio to insert xml tags after three forward slashes like in C#? I found one solut
What is needed to write a custom native visualizer DLL in C++ for Visual Studio 2012 debugger? I want to display a value that can only be calculated from a class/struct on-demand hence a native visual
I am upgrading a big solution from Visual Studio 2010 to Visual Studio 2012. All is done, but the code analysis module was changed in Visual Studio 2012 so I got thousands of CODE analysis errors (man
I installed Microsoft Visual Studio and during installation i think i somehow ticked the Team Project checkbox. Now i'm unable to create a normal ASP.NET website in any way. I would be very grateful i
I want to be able to set up my computer and visual studio 2013 so I can use freGLUT and GLEW in my applications. I am new to OpenGL and have tried to follow the directions found here http://openglbook
If Visual Studio includes Visual Basic, why can't I open a VB 6.0 file in Visual Studio 2010?
I just created a project so my Solution Explorer looks like this: But I want to add another project which is related to this project but it's going to be a class library and it's going to output a DL
As our projects are growing very fast, we are interested in features of Visual Studio 2013 like Profiling and IntelliTrace, which our current IDE (Visual Studio 2008 standard) can not offer. However,
I'm tearing my hair out with this one. If I start a block comment /* in VS.NET 2005+ then carriage return, Visual Studio insists that I have another asterisk *. I know there's an option to turn this o
I have a web app (actually Orchard CMS) that I am customizing and I want to push directl from my build server to my hosting provider, using Web Publishing aka MSDeploy. The problem is, when I publish
I am writing a macro for Visual studio that will generate some code. I would like for the macro to generate for both C# and VB, is there a way to determine what language is being used in the active (c
How to insert comment in iMacros script? What is a the combination of characters to achieve it?
using #pragma comment(lib, ../../xxx.lib) using Visual studio project option What is the advantage and disadvantage between two method? I'm finding way which is better convenient to manage for man
I know that C-k C-c comments a selection, and currently it works as thus in C++: AwesomeCode(); MoreAwesomeCode(); //AwesomeCode(); //MoreAwesomeCode(); However, I would like it to comment it as such
Generally I've no complaints about the speed of Visual Studio, but if I write a macro that writes out about 100 lines of code, it takes 1-2 minutes to complete. That doesn't sound right. Is there anot
I like to indent my comments. Visual Studio 2010 removes the indenting format I make. How can I prevent that from happening? Here is an example of what I am talking about. Before I code, I comment. It