How to make make a change to code in VS in a batchHow do I enumerate an enum in C#?Visual Studio: How to break on handled exceptions?How do I get a consistent byte representation of strings in C# without manually specifying an encoding?Command to collapse all sections of code?How do I remedy the “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?How do I generate a random int number?What is a NullReferenceException, and how do I fix it?How do you auto format code in Visual Studio?Try-catch speeding up my code?Visual Studio debugging/loading very slow
Have any astronauts/cosmonauts died in space?
Are hand made posters acceptable in Academia?
Extract substring according to regexp with sed or grep
Can you take a "free object interaction" while incapacitated?
Travelling in US for more than 90 days
Does capillary rise violate hydrostatic paradox?
How can a new country break out from a developed country without war?
Is this saw blade faulty?
Asserting that Atheism and Theism are both faith based positions
How to split IPA spelling into syllables
Why is "la Gestapo" feminine?
Would this string work as string?
categorizing a variable turns it from insignificant to significant
Friend wants my recommendation but I don't want to give it to him
1 John in Luther’s Bibel
Highest stage count that are used one right after the other?
What properties make a magic weapon befit a Rogue more than a DEX-based Fighter?
Not hide and seek
What is this high flying aircraft over Pennsylvania?
Why is indicated airspeed rather than ground speed used during the takeoff roll?
Why is implicit conversion not ambiguous for non-primitive types?
Walter Rudin's mathematical analysis: theorem 2.43. Why proof can't work under the perfect set is uncountable.
Make a Bowl of Alphabet Soup
I keep switching characters, how do I stop?
How to make make a change to code in VS in a batch
How do I enumerate an enum in C#?Visual Studio: How to break on handled exceptions?How do I get a consistent byte representation of strings in C# without manually specifying an encoding?Command to collapse all sections of code?How do I remedy the “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?How do I generate a random int number?What is a NullReferenceException, and how do I fix it?How do you auto format code in Visual Studio?Try-catch speeding up my code?Visual Studio debugging/loading very slow
Any ideas on how to make a change to some html code in visual studio in a batch replace in many files at once when "find and replace" won't suffice? For example, changing the menu items (nav items) when there are 50+ nav items in 50+ web pages, which won't fit in a normal "find and replace" command in Visual Studio.
Ex: adding a menu item (nav item) in the <ul>
list of menu items in 50+ pages, rather than manually changing each html page to reflect the updated navigation menu.
Also, I know razor is probably a better option in the future, but right now implementing it is not on the list of to-do items.
c# visual-studio razor
add a comment |
Any ideas on how to make a change to some html code in visual studio in a batch replace in many files at once when "find and replace" won't suffice? For example, changing the menu items (nav items) when there are 50+ nav items in 50+ web pages, which won't fit in a normal "find and replace" command in Visual Studio.
Ex: adding a menu item (nav item) in the <ul>
list of menu items in 50+ pages, rather than manually changing each html page to reflect the updated navigation menu.
Also, I know razor is probably a better option in the future, but right now implementing it is not on the list of to-do items.
c# visual-studio razor
you will be spending a lot more time writing this code then actually just opening each file and changing it, then when you are tired of that, you might move to a better technology in the future
– Michael Randall
Mar 7 at 1:41
add a comment |
Any ideas on how to make a change to some html code in visual studio in a batch replace in many files at once when "find and replace" won't suffice? For example, changing the menu items (nav items) when there are 50+ nav items in 50+ web pages, which won't fit in a normal "find and replace" command in Visual Studio.
Ex: adding a menu item (nav item) in the <ul>
list of menu items in 50+ pages, rather than manually changing each html page to reflect the updated navigation menu.
Also, I know razor is probably a better option in the future, but right now implementing it is not on the list of to-do items.
c# visual-studio razor
Any ideas on how to make a change to some html code in visual studio in a batch replace in many files at once when "find and replace" won't suffice? For example, changing the menu items (nav items) when there are 50+ nav items in 50+ web pages, which won't fit in a normal "find and replace" command in Visual Studio.
Ex: adding a menu item (nav item) in the <ul>
list of menu items in 50+ pages, rather than manually changing each html page to reflect the updated navigation menu.
Also, I know razor is probably a better option in the future, but right now implementing it is not on the list of to-do items.
c# visual-studio razor
c# visual-studio razor
edited Mar 12 at 20:30
Mr Lister
35.3k1077121
35.3k1077121
asked Mar 7 at 1:21
BobiBobi
1311314
1311314
you will be spending a lot more time writing this code then actually just opening each file and changing it, then when you are tired of that, you might move to a better technology in the future
– Michael Randall
Mar 7 at 1:41
add a comment |
you will be spending a lot more time writing this code then actually just opening each file and changing it, then when you are tired of that, you might move to a better technology in the future
– Michael Randall
Mar 7 at 1:41
you will be spending a lot more time writing this code then actually just opening each file and changing it, then when you are tired of that, you might move to a better technology in the future
– Michael Randall
Mar 7 at 1:41
you will be spending a lot more time writing this code then actually just opening each file and changing it, then when you are tired of that, you might move to a better technology in the future
– Michael Randall
Mar 7 at 1:41
add a comment |
1 Answer
1
active
oldest
votes
You can try my Sync Block Edit extension to update duplicate blocks of text in multiple files.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55034637%2fhow-to-make-make-a-change-to-code-in-vs-in-a-batch%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can try my Sync Block Edit extension to update duplicate blocks of text in multiple files.
add a comment |
You can try my Sync Block Edit extension to update duplicate blocks of text in multiple files.
add a comment |
You can try my Sync Block Edit extension to update duplicate blocks of text in multiple files.
You can try my Sync Block Edit extension to update duplicate blocks of text in multiple files.
answered Mar 7 at 5:45
Sergey VlasovSergey Vlasov
16.1k13939
16.1k13939
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55034637%2fhow-to-make-make-a-change-to-code-in-vs-in-a-batch%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
you will be spending a lot more time writing this code then actually just opening each file and changing it, then when you are tired of that, you might move to a better technology in the future
– Michael Randall
Mar 7 at 1:41