T O P I C R E V I E W |
JustinG |
Posted - May 07 2021 : 12:43:00 PM Hello, I just noticed Code snippets and excited to create my own, I started deleting the existing ones.
However, I just realized there's some useful things in there that I may have already deleted.
So is it possible to reset and get the original snippets back without installing? I'd hate to miss out of all the wonderful shortcuts built into VA because I deleted them without noticing. :)
Or maybe if the snippets are all in a folder somewhere, would someone mind sending over a zip with the originals? Thankyou! |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - May 10 2021 : 07:15:01 AM VA keeps a copy of the default set of snippets that ship with the installer. We just need to copy these over to your current VA Snippets directory to restore the default set.
First locate VA's install directory, this page explains how to do so:
https://docs.wholetomato.com/default.asp?W105
once you have the directory, you are looking for the files:
Autotext\Latest\*.TPL
there is one file per language, so it depends which language you want, the most likely ones are "Cpp.TPL" for C++ and "CS.TPL" for C#
Simply copy the files you want, and you need to copy them to:
%APPDATA%\VisualAssist\Autotext you may want to restart the IDE after doing this. If you just edit the files VA will notice and reload them, but since you will be going to an older version I am not sure if this will trigger the reload automatically or not. |
|
|