0

Say I have a large number of HTML and CSS files, and I need to re-organize their folder structure. Are there any shortcuts (in VS Code preferably) to changing the links to stylesheets and hypertext links that the HTML files contain?

Or would I have to do it all manually (restructure the folders and then manually copy each individual file path into it's respective point in each HTML file?)

1 Answer 1

1

If the links to the files are within HTML or any other file, VS Code offers feature called "find and replace" First one is what you want to change, second one is to what you want to change it to.

Search menu > Replace. And then you can either select "replace" or "replace all".

https://code.visualstudio.com/docs/editor/codebasics

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.