It is currently March 28th, 2024, 5:02 pm

Sublime Text 2 Rainmeter package

Plugins and Addons popular with the Community
User avatar
Droyk
Posts: 56
Joined: July 9th, 2015, 7:40 am

Re: Sublime Text 2 Rainmeter package

Post by Droyk »

Hey guys i have 2 things to say Good and bad things

So first here is the good thing sublime rainmeter package have been updated to sublime 3.0 (Build 3083,Build 3095)and here is the download link
https://github.com/thatsIch/sublime-rainmeter

Bad thing is you have to install it manually so

Here are the instruction
1. Download the zip and extract it
2. Now rename the folder from "sublime-rainmeter-master" to "Rainmeter"
3. Now go to C:\Users\Username\AppData\Roaming\Sublime Text 3\Packages
4. And now move your rainmeter package to the above written destination
5. Now open sublime and go to Preferences > Package Settings > Rainmeter > Settings -Default
6. Change your Rainmeter path to "rainmeter_path": "C:\\Program Files\\Rainmeter"
7. That's it guys you have done it sooo if you have any questions then you can ask me

Sorry for my English i am not native English speaker thanxxx

And Credit should only go to thatsIch Because he made it possible
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

For package control I need access to the package but this is owned by merlin. I could submit a new package but they do not want that if they are named the same. And to update their update cycle I need to PR them, but they hardly accept new PRs or only very slowly.

I do not script very much in Rainmeter anymore so maintaining this ST3 plugin is kinda discouraged. Additional even if I would, I do not use every feature, so I am not even aware how something was expected to work.
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

I submitted a PR

now lets see, when they will accept it

https://github.com/wbond/package_control_channel/pull/5941
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

I released a new version.
Still waiting for the guys to accept the PR

https://github.com/thatsIch/sublime-rainmeter/releases/tag/2.1.0

with that you have access to all the latest Rainmeter 4.0 features as far as currently possible.

cheers
Ich.
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

Released another new version

https://github.com/thatsIch/sublime-rainmeter/releases/tag/2.2.0

fancy feature is smart auto complete when you type

Meter=

then it auto-completes only possible meters. Works for meters, measures and plugins

I am still waiting for them to pull the PR.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Sublime Text 2 Rainmeter package

Post by eclectic-tech »

You peaked my interest in using this editor again with these updates! Thanks thatsIch! :rosegift:
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

eclectic-tech wrote:You peaked my interest in using this editor again with these updates! Thanks thatsIch! :rosegift:
Thank you very much for your support <3

I am currently working on a better smart completions where it detects the region it is in and auto-completes only keys which are fit in that region e.g.

display SkinWidth only in the [Rainmeter] section as a possible option.
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

The latest feature is the key completion in the [Rainmeter] skin section.

It can identify the context that you are currently in the section and only auto-suggests you keys, which can only exist in that section. If you already have used Blur it will remember that and not suggest you Blur again. And the last feature is, that the entries are sorted by distance. If you write Update then the suggestion will put Update, OnUpdateAction, etc in that order, because the likelyhood is much higher to match what you actually meant to write (default behaviour was either sorted alphabetical or by hit count used in your file).

This release is a pre-release because I had to rewrite and refactor a ton of code and thus something might be broken.

TL;DR
  • auto-completion of [Rainmeter] keys
  • hide existing keys from auto-completion
  • sort suggestions by distance
Release-description: https://github.com/thatsIch/sublime-rainmeter/releases/tag/2.3.0-beta.1

P.S. the PR is still not pulled :thumbdown:
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

I just pushed a quick quality of life change where you open up the settings and keybindings in a new double pane window like ST3 does.

Example:


Details: https://github.com/thatsIch/sublime-rainmeter/releases/tag/2.3.1
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

Added new feature: key context based auto completion for [Rainmeter]

Looks like this:
Image

full release notes: https://github.com/thatsIch/sublime-rainmeter/releases/tag/2.4.0
Post Reply