It is currently December 12th, 2018, 4:08 am

Sublime Text 2 Rainmeter package

Share your custom plugins and applications to enhance Rainmeter.
User avatar
thatsIch
Posts: 464
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

thatsIch » January 5th, 2017, 10:47 am

First thank you for installing sublime-rainmeter :welcome:

It requires Rainmeter installed. If you did not install it in the default directory (which is C:/Program Files/Rainmeter) it tries to search for it in your registry. There is a chance, that you installed it in portable mode, that way it has no way to identify where it is installed.

Use rainmeter_path to specify where your Rainmeter is installed like in my installation:

Code: Select all

{
	"rainmeter_path": "E:\\Visuals\\Rainmeter",
	"rainmeter_skins_path": "D:\\Documents\\Rainmeter\\Skins",
}
If it did not find it, it should have thrown you an error dialog.


Also just stating the obvious: most of the tools are only available if you are in a Rainmeter skin
User avatar
Mor3bane
Posts: 558
Joined: May 7th, 2016, 7:32 am

Re: Sublime Text 2 Rainmeter package

Mor3bane » January 5th, 2017, 9:51 pm

Thanks thatsIch

Now I am getting a red/pink highlight (error?) on the semicolon after "rainmeter_skins_path":

It can't save the addition of the rainmeter_pathline now.

The whole thing looks like this:

Code: Select all

{
	"rainmeter_path": "C:\\Program Files\\Rainmeter"
	"rainmeter_skins_path": "C:\\Users\\Morbane\\Documents\\Rainmeter\\Skins"
}
Opps - attention to detail = -1 haha

I added the commas - now it saves - but I still am not getting the menu options I mentioned in my OP.

Rainmeter is installed and I have an active skin .ini in the window.

I have the default Rainmeter highlighting working nicely.

I just feel that there is so much more, if I can just get the basic functionality going at 100%.
My DevArt Gallery

There are many ways to be different - there is only one way to be yourself
User avatar
Mor3bane
Posts: 558
Joined: May 7th, 2016, 7:32 am

Re: Sublime Text 2 Rainmeter package

Mor3bane » January 5th, 2017, 10:11 pm

Well perhaps it is due to my not being registered? :oops:
My DevArt Gallery

There are many ways to be different - there is only one way to be yourself
User avatar
thatsIch
Posts: 464
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

thatsIch » January 6th, 2017, 1:06 pm

Mor3bane wrote:Well perhaps it is due to my not being registered? :oops:
No, the unregistered version has the full functionality of the registered version, just the "annoying" message.

Do you use Sublime Text 2? I am currently developing for Sublime Text 3. On my side ST2 is not maintained/supported anymore.

https://www.sublimetext.com/3

if you are using Sublime Text 3, could you please post me your console log?

View > Show Console

post it on something like http://pastebin.com/
User avatar
Mor3bane
Posts: 558
Joined: May 7th, 2016, 7:32 am

Re: Sublime Text 2 Rainmeter package

Mor3bane » January 7th, 2017, 5:59 am

Hi thatsIch

http://pastebin.com/0Fmf3Wcm

also I am using ST3 build 3126
My DevArt Gallery

There are many ways to be different - there is only one way to be yourself
User avatar
thatsIch
Posts: 464
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

thatsIch » January 7th, 2017, 10:21 am

Mor3bane wrote:Hi thatsIch

http://pastebin.com/0Fmf3Wcm

also I am using ST3 build 3126
Thank you for your report. I am quite baffled. In the image you send, it suggests that you are using a version at most 2.7.1 but the latest is 2.9.0. I also see that you have Package Control installed. I assume you used that to install Rainmeter?
If not please follow the steps provided at https://github.com/thatsIch/sublime-rainmeter#with-package-control

You should get an entry in Tool > Rainmeter > Color Picker

Also just more steps to verify:
In your AppData\Roaming\Sublime Text 3\Installed Packages folder should be a Rainmeter.sublime-package file around 644 KB in size. If it is smaller, please try to run CTRL + SHIFT + P, Upgrade Package on Rainmeter
User avatar
Mor3bane
Posts: 558
Joined: May 7th, 2016, 7:32 am

Re: Sublime Text 2 Rainmeter package

Mor3bane » January 7th, 2017, 9:11 pm

Hey thatsIch

The Upgrade Package seems to have done the trick! :thumbup:
My DevArt Gallery

There are many ways to be different - there is only one way to be yourself
User avatar
Mor3bane
Posts: 558
Joined: May 7th, 2016, 7:32 am

Re: Sublime Text 2 Rainmeter package

Mor3bane » January 7th, 2017, 9:14 pm

@thatsIch

Thanks for your attention and advice - many thanks

I hope to utilise the features your plugin provides for my ongoing Rainmeter editing and creating :great:

CHEERS! :rosegift:
My DevArt Gallery

There are many ways to be different - there is only one way to be yourself
User avatar
Mor3bane
Posts: 558
Joined: May 7th, 2016, 7:32 am

Re: Sublime Text 2 Rainmeter package

Mor3bane » January 7th, 2017, 9:21 pm

@thatsIch

Any chance for snippets?

The shortcut meter/measure formats in Notepad++ from whoever are awesome.
My DevArt Gallery

There are many ways to be different - there is only one way to be yourself
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3050
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Sublime Text 2 Rainmeter package

eclectic-tech » January 8th, 2017, 4:25 am

Mor3bane wrote:@thatsIch

Any chance for snippets?

The shortcut meter/measure formats in Notepad++ from whoever are awesome.
You can access the snippets in 2 ways:
1. Type 't' in the document, to show a popup list of template snippets for meters and measures.
2. Select 'Tools' menu and 'Snippets...' for a window list.