It is currently April 25th, 2024, 1:54 am

Change Default editor

Tips and Tricks from the Rainmeter Community
sgtevmckay

Change Default editor

Post by sgtevmckay »

It was brought to the Issue board that quite a few of us utilize editor tools other than "Notepad".

It has been requested that other editors be able to open to edit Rainmeter; by default.
Apparently when you click "Edit Skin", notepad come up by default.

I utilize Notepad++ as my alternative, and am very satisfied with it's capabilities.

In order to select your editor, the following solution has been render by Kenz0 Sanada-San, to temporarily correct this issue;
-----------------------------------------------------------------------------------------------
The following solution posted to Issue board 04/28/09
Begin post
Comment 7 by kenz0.sanada,

Add the following line in the [Rainmeter] section of "Rainmeter.ini".

ConfigEditor="application path"

You needs to be cautious of define of a path name.
For instance, if the application is in "C:\Program Files\..."

(use short path name)
ConfigEditor=C:\Progra~1\application\application.exe

or (with the path between two double quotations)
ConfigEditor=""C:\Program Files\application\application.exe""

or (use relative path from Rainmeter.dll)
ConfigEditor=..\application\application.exe

It will not work in the following definitions.
ConfigEditor=C:\Program Files\application\application.exe
ConfigEditor="C:\Program Files\application\application.exe"
End post.
--------------------------------------------------------------------------------------------------

Apparently this has been given a ticket and will be addressed in a later version of Rainmeter.
Thanks goes out to tjmarkham3 for bring this issue to our attention
Thanks goes out to Kenz0 Sanada-San for the current solution
User avatar
redblack
Posts: 24
Joined: June 21st, 2009, 5:08 am
Location: Australia

Re: Change Default editor

Post by redblack »

Fantastic, this was driving me craaazy! Thanks for the tip . .
User avatar
looelooe
Posts: 1
Joined: August 7th, 2009, 11:31 pm
Location: Louisville, Ky

Re: Change Default editor

Post by looelooe »

I just switched to Notepad++ today and was looking for a way to do just this. Great tip!
User avatar
cwfrizzell
Posts: 77
Joined: August 10th, 2009, 9:03 pm

Re: Change Default editor

Post by cwfrizzell »

This didn't work for me. I went the short path route:

ConfigEditor=C:\Progra~1\Notepa~1\notepa~1.exe

After saving and reloading Rainmeter (including shutting it down and opening it again) I tried to edit a config. I got nothing; it wouldn't open any editor at all. I had to manually track the Rainmeter.ini file to edit out the line.
Cheers!

Chuck
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change Default editor

Post by jsmorley »

cwfrizzell wrote:This didn't work for me. I went the short path route:

ConfigEditor=C:\Progra~1\Notepa~1\notepa~1.exe

After saving and reloading Rainmeter (including shutting it down and opening it again) I tried to edit a config. I got nothing; it wouldn't open any editor at all. I had to manually track the Rainmeter.ini file to edit out the line.
http://rainmeter.net/RainWiki/index.php?title=Defining_your_text_editor_for_Rainmeter
User avatar
cwfrizzell
Posts: 77
Joined: August 10th, 2009, 9:03 pm

Re: Change Default editor

Post by cwfrizzell »

Missed the double double quotes on the full path name...

Works now!

Thanks!
Cheers!

Chuck
^(-.-)^
Posts: 15
Joined: February 25th, 2010, 4:11 am

Re: Change Default editor

Post by ^(-.-)^ »

I don't have a such file as Rainmeter.ini ;(. What should I do?
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change Default editor

Post by jsmorley »

^(-.-)^ wrote:I don't have a such file as Rainmeter.ini ;(. What should I do?
Yes, you do.

http://rainmeter.net/cms/Rainmeter101
^(-.-)^
Posts: 15
Joined: February 25th, 2010, 4:11 am

Re: Change Default editor

Post by ^(-.-)^ »

Oh yes. But I could find the file through program files so :roll: .

Thx anyway
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change Default editor

Post by jsmorley »

^(-.-)^ wrote:Oh yes. But I could find the file through program files so :roll: .

Thx anyway
From the Rainmeter context menu, if you say "Edit Settings", that loads Rainmeter.ini in your default text editor, so in most cases you shouldn't really need to go "find" it.

Using RainBrowser and using "Edit Settings" under "Global Actions" does the same thing.