Can I downgrade Vscode without losing my extensions? - visual-studio-code

Is there a way to downgrade Vscode without losing all my extensions?
I already have the specific install file with the version that I need. Should I uninstall Vscode before installing the downgraded version?

I highly recommend this: https://marketplace.visualstudio.com/itemdetails?itemName=Shan.code-settings-sync it allows you to sync your settings across multiple devices, which means you wont ever lose it. Its settings requires like 2-3minutes, but after that you can safely delete vscode and install anyother version, plus its very handy if you run normal version of vscode and preview-version

Related

"Unable to create project" error given right after install

I previously had Unity Hub around a year ago and uninstalled it. I went and deleted the old directory in the Program Files folder and then installed the newest version of Unity Hub. When I launched it, the old directory that I used to use for my old projects was already in the box. When I tried to create the project, it said "Unable to create project". Is there some other thing I'm supposed to delete also? I don't know where the old version used to save that kind of information, but I think it has to be deleted for the newer one to work. Unfortunately, I don't remember what version I had before. Any help would be great. Thanks
You should never delete software's files without uninstalling them. Try to uninstall Unity Hub with the apposite feature and re-install the latest version.

How to locate modules added from unity hub and delete them

I have downloaded some modules from UnityHUB like the below image:
Now what I want to do is uninstall those packages like the WEBGL and WINDOWS modules as I no longer use this version of unity. How can I locate and uninstall them?
There is no good way of uninstalling modules for a unity version, the easiest solution would be do remove and reinstall that unity version.
You can manually remove the folders in:
\Hub\Editor[VERSION]\Editor\Data\PlaybackEngines
But that does not remove unity intern reverences so you are not able to reinstall these modules afterwards and you would need to reinstall the unity version again. So safest and best way would be to completely delete and reinstall that unity version

Installed Unity without hub version and now unity hub won't allow me to add module

i installed unity 2019.3.10f without unity hub. Now i want to download modules such as android , sdk ,ndk and jdk (recommended ones) but hub does not give option to add module.
Unity version is latest same as hub but radio button is disabled
You can re-enable the option 'Add Modules':
Windows
1- go to C:\Users\{USER_NAME}\AppData\Roaming\UnityHub
MacOS
1- go to ~/Library/Application/Support/UnityHub
2- open editors.json file.
3- change "manual":true to "manual":false
4- kill the UnityHub and restart it. Note: Do not forget is stays in the tray on Windows.
So, i searched and found out that if you don't download unity from unity hub you cannot add modules from unity hub.
I didn't expected that but that's how it works.
So, i had to uninstall the old one and then install via unity hub.
The three dot option show modules only if its downloaded via unity hub.
In short if you want unity hub's help you would have to play by unity hub's rules. That might be inconvenient to some extent.
The manual re-enable only seems to work if you have just one version of the editor installed. If you have more than one, it attempts to install the modules for the version you actually downloaded with the hub. This can break things. At this point, unfortunately, it seems you must uninstall the version that is not allowing modules to be added, and reinstall it directly through the hub.
Here is simple trick, and it worked for me.

New Xcode8 extension development process

Recently I'm running the Xcode plugin migration to Xcode8 built in version.
But I can't find enough documentation since it's new and the resource is very rare.
Does anybody know how to publish / install / update /remove process of the new extensions?
I've try many solution but many of the users say it doesn't work.
Here is my project call Swimat - to format your swift code.
https://github.com/Jintin/Swimat/tree/extension
Thanks for any kind of information.
Are you asking how your users can install/update/remove your extension?
If so, they just need to launch your container app. Once they do, they'll see the extension in System Preferences (where they can also disable it if necessary), and it'll show up when they launch Xcode.
Distribution of your source editor extension works just like other types of App Extensions. See: App Extension Programming Guide
If your users are having trouble running any source editor extensions, it's possible they'll need to follow a workaround from the Xcode 8 release notes:
To use the Editor's Comment/Uncomment Selection and Add Documentation
commands—as well as other installed Xcode Extensions—on OS X version 10.11,
launch Xcode and install additional system components, then restart your
Mac. (26106213)"

Windows 3.1 Installer reinstalls old version right after uninstalling it rather than installing new upgrade

I have a MSI assembly which is an upgrade. The Upgradecode remains the same between the previous release and the new upgrade assembly. I also have the RemovePrevious attribute set so old version is removed before upgrade is installed.
I see the uninstallation of the old version occur as expected. However, the Windows Installer 3.1 immediately turns around are attempts to re-install the old version again before it even proceeds to the new version. I have verified this by changing the first custom installation dialog in the newer version and see it just fine on a first install of the new version. But the dialog seen when upgrading is the old one which shipped with the previous release. I even rebuilt the old release with message box displays to verify that Installer is indeed re-installing the old version right after the uninstall rather than moving on to the new upgrade version.
Using MSIExec does not reveal any errors being logged to explain this odd behaviour and I cannot find any documentation that helps to identify why this is occurring.
Anyone have any ideas on why this behaviour is happening and how to go about fixing it?
Try increasing the version number of your app/dll in the embedded resources. The "new" behavior of the installer will not upgrade any exe/dlls unless the file versions have been bumped up.