Questions tagged [visual-studio-macros]

A macro is a series of commands and instructions that you group together as a single command to accomplish a task automatically. Macros allow you to automate repetitive actions. Visual Studio includes the Macros integrated development environment (IDE), which is used solely for creating, manipulating, editing, and running macros. The Macros IDE is separate from the Visual Studio IDE.

The Visual Studio Macros integrated development environment (IDE) has the same look and feel as the Visual Studio IDE, but is separate from it. The Macros IDE includes the Code Editor and several tool windows. These windows function the same as their Visual Studio counterparts, except that they apply specifically to the code and projects within the Macros environment.

209 questions
0
votes
0 answers

Cannot locate certain Microsoft Build command Macro definitions

I am working on some legacy Visual C++ projects, trying to bring the code and libraries up to the present day, and am getting a flood of link errors. In my investigation into the problem, I am trying to determine where the values for many of the…
Peter Howe
  • 429
  • 6
  • 19
0
votes
1 answer

Excel VBA macros does not find matches

I have a macro set-up in a Excel workbook; its objective is: 1. In Sheet1, to search a table for a specific value in a column. 2. If that value is found, then it must copy the entire line to Sheet2. Sub procurarnegociacion() Dim LSearchRow As…
0
votes
1 answer

Cannot find VCCLCompilerTool in VS2015 macro (using Visual Commander)

I am using Visual Commander (from https://vlasovstudio.com/visual-commander/) to port some macros for manipulating C++ projects from VS2010 to VS2015. Things seem to work OK (I can access solutions, create VCProjects, loop through Configurations,…
Andy Evans
  • 171
  • 5
0
votes
1 answer

VS Macro/Add-in to convert string concatenations to string.format style

I have project in development where string operations like "Hi " + variable + ", welcome to Project" are used at many places (given example is very minor one). One of the requirement is to convert it to string.format style. It is very long and…
BigBoss
  • 413
  • 8
  • 23
0
votes
1 answer

How I can use regex in VS macro?

I want create macro for replacing. But my problem is how to use regular expression in Visual Basic's macro for Visual Studio? document.Selection.ReplacePattern("test{[^']+}test", "testAAAAtest") Doesn't work.
MicTech
  • 42,457
  • 14
  • 62
  • 79
0
votes
2 answers

Macros with Visual Studio 2015

I downloaded the free version of Visual Studio 2015. It is called Visual Studio Community 2015. It is said that it is the full version. But I don't see macros. So I tried installing an extension from …
eddyq
  • 879
  • 1
  • 13
  • 25
0
votes
0 answers

Random normal distubution

I have a csv File that looks like : subjects, WeightedAverage, WeightedStandardDev, NumberofExams, MathMark, 1.5, 0.2, 5, PhysicMark, 1.6, 0.4, …
0
votes
1 answer

How can I automate updating NuGet packages and building a solution in Visual Studio

Here is my workflow. Open Package Manager Console Update-Package Build Solution Check into Plastic Source Control Build in Teamcity The problem is I keep forgetting to do #3! This is key because it updates my config files prior to check in. How…
0
votes
2 answers

obfuscation macro

I've been looking into obfuscation software, but wondered if one could do it easily with a macro. If you go into the class diagram in visual studio 2010, you can easily click on class names, properties, fields, etc, and rename them from something…
0
votes
2 answers

Format Excel sheets export by JIRA-(JIRA custom reports)

I need to generate custom report in jira with transition time tracking details. this jira plugin can generate the time tracking details. but I need to add these time tracking details to the jira default all field export report.without copy paste the…
Nuwan
  • 1,226
  • 1
  • 14
  • 38
0
votes
1 answer

How to create a new configuration using External tools in WebStorm

I am creating a multi tenant client mobile(Cordova) application. I want to copy the appropriate client files from a folder to the project in deployment time. I am using WebStorm IDE for development. Project has a folder called branding which…
Joseph
  • 1,060
  • 3
  • 22
  • 53
0
votes
0 answers

C# Code searching the assigned values

I am running into a strange problem with existing code in C# Windows application. The architecture of the code is in such a way that a single collection contains multiple properties. This gets populated at various places all across various modules…
Suzane
  • 193
  • 1
  • 3
  • 13
0
votes
1 answer

Excel Macro to fetch random data from column A

I have a list of data in column A and the same has repeated data too. I have to create a macro to get 10% of that data. I tried with Rand() and few other functions but no success. Please any help. Column A Brick John Brick Matt Brick Ted Goal…
Computer Gaga
  • 161
  • 3
  • 14
0
votes
1 answer

How to insert image in a particular cell of a table in word doc using JavaScript

I have one client side application which is rendering maps on browser(IE). In that application I have one HTML form which will capture some text contents and then the application will be generating one Word document, which will have all the fields…
0
votes
1 answer

Visual Studio Macros: Loop through Selection, add .Append(" and ") to each line in selection

Found this: Sub SurroundWithAppendTag() DTE.ActiveDocument.Selection.Text = ".Append(""" + DTE.ActiveDocument.Selection.Text + """)" End Sub But I can't seem to figure out how to loop through each line of text in the selection. Any…
jlrolin
  • 1,604
  • 9
  • 38
  • 67