Comment Code

User 2049524 Photo


Registered User
9 posts

I have a VSD website that I want to comment out some of the code. I will reuse the code later and do not want to have to recode it. How do you comment out stuff in VSD?

Thanks
Terry
User 2088758 Photo


Senior Advisor
3,087 posts

Hi Terry,

Are you trying to comment code out that vsd generated or is it your own code you want to comment out.

You can only comment code out of vsd generated after the export but please remember that it will be overwriten the next time you publish your website.

Either way here is how:

<!-- Your Code Here -->
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 2049524 Photo


Registered User
9 posts

Thanks Steve, I guess I could also keep a copy of the current code. Make the adjustments to display now then resurrect the copied VSD to reestablish the original view when I need it.

Thanks
Terry
User 2147626 Photo


Ambassador
2,958 posts

What I do if I want to change something, but not lose the original, is simply do a 'Save As' and save your VSD project with a new name. Then remove, change or delete whatever you don't want right now. Ready to go back, just re-load the previous version. Want to merge the two, simply copy/paste the changes from one version to the other. That actually takes a bit depending on how many changes, but it gets it done. :cool:
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.