Author Topic: Transferring SE Configurations Between PCs  (Read 10018 times)

3JB

  • Guest
Transferring SE Configurations Between PCs
« on: September 02, 2010, 03:04:50 AM »
Tried searching, but didn't come up with much.

I use Slick Edit at work and at home.  What is the best way to transfer settings between PCs?

I am interesting in transferring things such custom menus, macros, key bindings, colors, formatting, etc.  I really don't want to have to manually set all this up (new install at home), and then worry about keeping the two installs setup the same.

Thanks.

EDIT: I have SE 2010:
SlickEdit Version 15.0.1.3
Build Date: August 04, 2010
« Last Edit: September 02, 2010, 03:07:26 AM by 3JB »

LBCEi

  • Senior Community Member
  • Posts: 269
  • Hero Points: 21
Re: Transferring SE Configurations Between PCs
« Reply #1 on: September 02, 2010, 04:29:14 AM »
If you are trying to transfer settings such as keybindings, indenting, formatting, coloring, etc. (basically anything set through the Tools, Options dialog), you can export all of those by going to the Export/Import Options under the options dialog.  There you can select a specific group of options/settings to export, or export all of your settings.  You can then copy the exported file to the other PC and import those options.  This functionality is available in your 2010 version of SE and, I believe, SE 2009 as well.

This won't take care of synchronizing custom menus or macros -- probably a version control system accessible from both machines is best for that.

Good luck

rdroaten

  • Community Member
  • Posts: 13
  • Hero Points: 0
Re: Transferring SE Configurations Between PCs
« Reply #2 on: September 02, 2010, 12:15:48 PM »
Set the SLICKEDITCONFIG environment variable on both systems to point to a directory on a removable drive.  I did this for several years before we got broadband in our area.  Works really well.  Plug in the drive at home, run SE, and you should be right where you left off at the office - including open files.

ScottW, VP of Dev

  • Senior Community Member
  • Posts: 1471
  • Hero Points: 64
Re: Transferring SE Configurations Between PCs
« Reply #3 on: September 02, 2010, 03:06:19 PM »
Options Import/Export should handle your custom menus, but it will not handle custom macros. If you're trying to keep your work and home configs the same all the time, using a flash drive or other removable storage is the best way. You can store your config there and use it in both locations.

Your file history and the list of open files is stored in your workspace. Since you are working on two different coding projects, you should have different workspaces for them. If you were working on the same codebase, you would want to bring your workspace back and forth as well.

As previously noted, you can set the SLICKEDITCONFIG environment variable to specify the location of your config directory. You can also do that from the command line using the -sc option: "vs -sc e:\MyConfig". I use the second approach, editing the shortcut icon properties, but I have lots of different configurations.

If you're not trying to keep the two machines synchronized but just want to get your home machine setup to match your work machine initially, you can just copy your config directory from work and paste it into the default location on your home machine. Then you don't have to mess with the environment variable, -sc option, or an external drive. You can use options import/export to synchronize the two machines after you've made changes to your configuration.

As for managing your custom macros, we recommend that you create a directory in your config directory for this. On Windows, the default location for your config is "My Documents\My SlickEdit Config". Below that will be a subdirectory for each major version of SlickEdit that you've run: "15.0", "15.0.1", etc. Create a subdirectory called "MyMacros" or whatever you like and make it a peer of those version subdirectories. Then, everything that makes your instance of SlickEdit different from any other instance of SlickEdit is in a single directory tree. Be sure to back this up regularly and keep multiple previous versions. Some problems with SlickEdit are fixed by returning to a default config. Then you have to re-import your settings (which might reintroduce the problem). It's better to be able to fall back to an earlier config that didn't have the problem.

Do NOT store your own macros in the "macros" subdirectory of the SlickEdit installation. That just leads to complications.

There's some really good reading in the Appendix of the User Guide in "Configuration Directories and Files", if you want to learn more about where/how SlickEdit stores various information.