clean install sublime text - windows-7

I'm trying to re-install Sublime Text (3), but I keep getting back the old settings. To my (limited) knowledge, I only hae to delete the user settings in C:\Users\pc\AppData\Local\Sublime Text 3. (I'm on Win7) I tried that, also uninstalling Sublime, removing the AppData folder too. But I keep getting the old settings back, again and again.
How do I do it correctly?

Try removing the folder under %APPDATA% per http://www.sublimetext.com/docs/2/revert.html

Related

Can you download a completely new clean copy of VSCode?

I have tried everything that has been written about uninstalling extensions but I really prefer to download a complete clean copy of VScode and start again. Is that possible or do I have to sign in under another email? Totally new to all this and have mucked up my copy!
I asume you would like to have your VScode in default clean state same as it was first installed?
Then after uninstall remove remaining folders or use some app which will look for all folder settings for you and remove them...
or just delete
%userprofile%\AppData\Local\Programs\Microsoft VS Code
%userprofile%\AppData\Roaming\Code
%userprofile%\.vscode
A lot about reseting VScode to default is here: How to reset settings in Visual Studio Code?

SystemConfigurationException Read Only properties.settings.default.save()

The above error recently started being thrown when I was making updates to an existing C# windows app that saves a folder location for files it uses.
Upon receiving this error, I found that my whole hard drive seems to be set to read only. (recently had to build a new dev system) I have tried changing the folders back to being readable via folder properties. Dialog pops up and goes through all the files as if it were changing the properties. When I open the properties immediately after, the folder is back to read only.
I have also noticed that VS IDE does't save changes to the recent files/projects.
Anyone experience this and have the solution?
Things I have tried:
created a new admin user. Logged in and found the same situation. Not tied to my profile.
Tried command prompt changing folder attributes with attrib command.
Tried changing my users permissions to full control.
uninstalled OneDrive (to eliminate possible syncing issues)
Turns out my AppData folder hidden property was set to true. Setting this folder and all sub folders to not be hidden fixes everything.

Atom UI issues after installation and reinstallation

I am having issues with using Atom text-editor. I have used it before on my system and all was fine. However, opening it today, I had the UI looking like this:
I have uninstalled it and reinstalled it, but to no avail. I have also deleted the local data file after installation and I keep getting the same UI.
Any help would be awesome!
If you are wanting to get rid of the panel(s) at the right side of the window, that is your debug console. Just click the "x" at the upper right corner (in the light-gray section, not in the application title bar) and it will go away.
If that is not what you meant, you need to clarify the question.
I managed to fix it. I was not expecting the above layout after a fresh reinstall. This was what I expected (and am used to).
Somehow the .atom folder in C:\Users\%USER%.atom was completely hidden and read only, so I had trouble locating it. After using the terminal to access the folder, I inspected discovered its properties. After removing the hidden and read-only attributes, I deleted the folder and reinstalled Atom and it managed to fix the issue.

How can I export/import settings of Sublime Text 3 from one PC to another using Windows?

I use Sublime Text 3 in my company and I want to export all the settings, including packages and whatever, to use the same configurations in Sublime Text 3 I have at home. How can I do this?
PS.: I use Windows 8
The best way is to sync the User directory, there are multiple available ways to do this - dropbox, git and manual ways.
Installed packages are registered in Package Control.sublime-settings, which is located in the user folder as well, thus, it does not require you to sync anything besides that. A pretty good guide to syncing can be found here.
You also may wish to check out this package.
For me (Windows installation) transferring all the content from old installation - AppData\Roaming\Subime Text 3, to new installation - AppData\Roaming\Subime Text 3, does the job. All the packages and UI settings are transferred and are working correctly.
None of the manual efforts are needed now (I think). Both sublime text (ver 3) and visual studio code (if anyone cares) have extensions that do this for us.
For VS Code -
https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
For ST3 -
https://packagecontrol.io/packages/Sync%20Settings
With a few clicks like generating token and configuration, one should be able to easily port the settings from any machine (Win, OSX, Linux) to any machine.
You can try this plugin PackageSync. It can package your settings and packages into a zip or 7z file, then, you can import them on another machine.
As an aside an easy way to locate the 'User' or 'Sublime text {2/3/etc}' folder regardless of OS is to:
Open go-to-anything and just type: 'us'
From the available options select 'Preferences: Package Control Settings - User’ to open that file.
Right click on the file and make the selection to open the containing folder (Mac: reveal in finder)
Navigate back up to the parent folder Sublime Text 3 (or whatever version number you are on)
Copying this folder and replacing the Sublime Text 3 folder in a fresh Sublime install with this one should install all packages and replicate any other settings you have.
source
"If you want to sync settings across machines, the best way to do so is to just sync the Packages\User\ folder. This contains all customized settings, and if you are using Package Control, it includes a list of all installed packages. If Package Control sees that an installed package is not present on the machine, it will automatically install it the next time Sublime Text starts."
PS: if I am not mistaken the author of this post is the key developer of sublime.

Sublime Text requires restart on settings changes to take effect

My Sublime Text 3 ( but also applies to ST2 as I experienced the same issue before I switched to ST3 ) requires restart for any settings changes to take effect. This happens on a Mac Mini in the office but not on my Macbook Pro ( which is pretty much the same setup ).
I do sync settings over Dropbox by symlinking Application Support/Sublime Text 3 folder to Dropbox. However, I can recall it happening even before I did that.
Any ideas how to make it apply settings changes immediately?
First, make sure you're running the latest build of ST3. Remember, this is beta software, and things break/change/get fixed again from version to version, so it may just be an issue with your particular build.
I suspect that this has something to do with Dropbox, as settings changes should be applied as soon as you save the settings file in almost all cases. For example, changing the theme should happen immediately. To test if it's Dropbox-related, unlink your current symlink to ~/Library/Application Support/Sublime Text 3 and make it a regular directory, then copy all your settings over and try to change something. If it applies right away, then it's an issue with Dropbox.
You can install the package called 'Restart' and then just restart from the admin tab.
Check the package to restart sublime text. It is just perfect https://github.com/yedderson/SublimeRestart
In Mac:
"Cmd + Shift + P"
Enter: "Install Packages"
Enter: "Restart"
Now, you should see the "Restart" option under "File" in me main menu.

Resources