I suggest you ...

Bring back Macros

I am amazed you've decided to remove Macros from Visual Studio. Not only are they useful for general programming, but they're a great way to be introduced to the Visual Studio APIs.

If you are unwilling to put in the development time towards them, please release the source code and let the community maintain it as an extension.

5,340 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    cpmcgrathcpmcgrath shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    Anonymous shared a merged idea: Macros on debugging  ·   · 
    Todd CarterTodd Carter shared a merged idea: Bring Back Macro Support in VS 2012  ·   · 
    WaldyrWaldyr shared a merged idea: Bring back the Macros support on Visual Studio  ·   · 
    under review  ·  Visual Studio TeamAdminVisual Studio Team (Product Team, Microsoft) responded  · 

    We are currently reviewing the feasibility of delivering a scripting capability in a future version of Visual Studio. Please continue to offer your comments on what scripting capability we should offer while we research this suggestion.

    Tony Goodhew, Program Manager, VS Pro.

    591 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • PJTraillPJTraill commented  ·   ·  Flag as inappropriate

        RE: MarkieMacro commented · April 21, 2015 5:33 AM

        ¿Surely you can use Tools–Customise–Keyboard for a shortcut to show/hide line numbers?
        Macros are needed when your commands include (specific cases of) variable arguments.

      • James CurranJames Curran commented  ·   ·  Flag as inappropriate

        What 'd really like (instead of or in addition to a proper macro language), is a simple FAST keystroke recorder.

        I'm assume that you dropped the macro feature because your telemetrics found that no one was using it, which I'll assume is because everyone realized what I did ---- when I needed a keystroke recording/playback, it was much, much faster to copy'n'paste the whole file in NotePad++, do the task there, and then copy the file back into VS

      • armen keshishianarmen keshishian commented  ·   ·  Flag as inappropriate

        Please bring it back, I don't know how what was the reason behind that, I red in some blog that only 1% of developers are using it, who did that investigation? no one asked me! ;) In almost every job that I had more than 75% of devs were using it and even more, enjoying it. So please bring it back.

      • Anonymous commented  ·   ·  Flag as inappropriate

        Please, bring it back, we're losing too much time without macros... Microsoft have a macro system on near every product, visual studio is a programming software, put macro on it...

      • Anonymous commented  ·   ·  Flag as inappropriate

        Please bring it back, it is a pain to work without them and a consistent loss of time

      • Arnaud PAULArnaud PAUL commented  ·   ·  Flag as inappropriate

        The 1% of users that use this features is false.
        Many dev uncheck the mark ""send anonymous usage statistics to help better MS products.".
        It not because you don't see usage that mean that we don't use them..
        Bring back the Macros please.
        My producivity is 10% less that with an older version of Visual.

      • Anonymous commented  ·   ·  Flag as inappropriate

        Record + Playback makes me 10x more productive. I've kept VS2012 only to be able to run macros, I'm usually in favor for removing cruft and seldom used features, but removing macros is CRAZY when other much simpler editors have it as a well supported feature. The scripting language should of course be Powershell, not VBA, not Python, maybe C#. You should have kept VBA until Powershell was integreated.

      • Michael EngshunMichael Engshun commented  ·   ·  Flag as inappropriate

        Not sure if the users were weighted (i.e., are the 1% writing a much larger percentage of code than the 99%)..
        Regardless, almost ANY text-based editor needs a good macro feature set.

      • MaxMax commented  ·   ·  Flag as inappropriate

        I used to copy other non .net files into studio when I needed to do complex text transformations. Please bring macros back

      • Ákos TomposÁkos Tompos commented  ·   ·  Flag as inappropriate

        I have created a couple of useful actions consisting of multiple moves (like copying the word under the cursor to clipboard) and assigned them to a single keypress. I want my speedy shortcuts back! Anyway %1 of Visual Studio user base is still a huge number! Just count how many licenses did you sell!

      • Jeff RelfJeff Relf commented  ·   ·  Flag as inappropriate

        Microsoft should stop being so democratic.
        The 1% who use macros write most of the best code.

        Thanks to "Visual Commander", I've written extensions
        for Visual Studio 2013 and I've assigned about 80 macros
        to toolbar buttons and key strokes.

        For the details, see: http://Jeff-Relf.Me/Macros.HTM

      • SamSam commented  ·   ·  Flag as inappropriate

        The scripting engine should have a preview option to make sure the script will do what you expect.

      • SamSam commented  ·   ·  Flag as inappropriate

        I would prefer the scripting language to be based on python. It should have complete control of the cursor as far as placement and text selection, and make it easy to replace/insert text as desired.
        I mostly used macros for simple formatting changes.

        Example macro keystrokes
        [Home] -> [Ctrl-Shift-RightArrow x 2] -> [Delete] -> [End] -> [Ctrl-Shift-LeftArrow x 2] -> [Type Some New Code] -> [DownArrow]

        If you could make that easy to write in your scripting engine consider me on board.

      • Alexey ShcherbachevAlexey Shcherbachev commented  ·   ·  Flag as inappropriate

        Please bring Macros back. I've been using macros for many text transformation tasks as well as some IDE related repetitive task, such as attach to a specific w3wp process running locally for debugging.

      ← Previous 1 3 4 5 29 30

      Feedback and Knowledge Base