NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
New Computer, way to keep all settings?


Joined: 09 Aug 2007
Posts: 24
Reply with quote
I am receiving a new laptop from my work (the old one will get formatted and given to someone in accounting). I will be installing PhpED on it, but want to know if there is a way to export/import all my settings from the copy I am currently using. I have custom templates, hotkeys, syntax highlighting, keywords, etc, and setting it all up again would be tedious (albeit doable). Just wondering if theres a quick and dirty way to get all my old settings onto my new computer. Thanks.
View user's profileFind all posts by tj111Send private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
For both XP and Vista you need to export the PhpEd registry key [HKEY_CURRENT_USER\Software\NuSphere\PhpED5.2]. There is an entry under LOCAL_MACHINE as well, but I don't think that is vital, it only seems to contain things that are auto-set on install and won't change often.
If you're on XP, you also have to copy the config/ directory from your installation directory. On Vista I *think* that directory can be found in your Documents & Settings.
The registry piece contains most of the editor settings. The config/ directory contains your templates, colors etc...
If you have custom templates, don't forget the templates/ folder.
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 09 Aug 2007
Posts: 24
Reply with quote
thanks for that. i'll give it a go when my computer comes in.
View user's profileFind all posts by tj111Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
On Vista I *think* that directory can be found in your Documents & Settings

PhpED stores its configuration files in the nusphere\phped\config subdirectory of the user profile directory. Vista distinguishes roaming vs non-roaming profile and we're using former one.
All comments regarding registry are correct. Thanks Blizz.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
the old one.....


Joined: 18 Dec 2007
Posts: 5
Reply with quote
Quote:
(the old one will get formatted and given to someone in accounting)

hahahahahaha. Thanks for that. Very Happy

Are there any plans in the works to make it so we don't have to mess with the registry in order to move settings to another computer?

Thanks in advance.
View user's profileFind all posts by swiftouchSend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
If you don't want to open the registry editor you can always use the following command:
Code:
regedit /e phped.reg HKEY_CURRENT_USER\Software\NuSphere\PhpED5.2

That will export the relevant section to a file called phped.reg
Importing can be done by double clicking the file or just "regedit <filename>"
Not what you asked but at least you don't have to open the editor that way Smile
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 09 Aug 2007
Posts: 24
Reply with quote
Thanks for that Blizz. Although I've had this computer for a few months now, I went ahead and did that just so I have a backup copy of the settings.
View user's profileFind all posts by tj111Send private message


Joined: 09 Dec 2008
Posts: 11
Reply with quote
is this including all y ou code templates and stuff you change in settings?

If not, we really can use some wizard to let us migrate whole account.
View user's profileFind all posts by crirus74Send private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
If you include the mentioned config/ directory from disk it is.
Don't forget that the registry key is now [HKEY_CURRENT_USER\Software\NuSphere\PhpED5.6] instead of 5.2 Smile
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 09 Dec 2008
Posts: 11
Reply with quote
I know that it's just the fact a simple tool within PhpEd dealing with all would be elegant.

Some people use to work on 2-3 places coding php and migration of all environment is nice.
View user's profileFind all posts by crirus74Send private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
You wouldn't want to share everything since the IDE layout depends on your computer configuration. Also, my work settings are different than my home settings. Regarding templates/highlighting and so on it's pretty easy to just copy over the 2 relevant files, it's not like you change all those every day Smile
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 09 Dec 2008
Posts: 11
Reply with quote
Not every day, but one can spend 1 hour searching, finding this thread, reading, posting questions etc Smile

What files to copy exactly to get everything moved?
View user's profileFind all posts by crirus74Send private message
New Computer, way to keep all settings?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 2  

  
  
 Reply to topic