It is currently April 26th, 2024, 6:07 pm

Sublime Text 2 Rainmeter package

Plugins and Addons popular with the Community
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Sublime Text 2 Rainmeter package

Post by MerlinTheRed »

The problem is, even if we use standard classes that are closest to the custom ones I've defined, the coloring still might look bad. We'd have to select the classes according to what colors are assigned to them in most themes. This would most likely result in most objects having a class name that has absolutely nothing to do with what that object actually is. The "Unofficial Sublime Documentation" explicitly suggests doing this though. Probably from the point of view of an end-user it's better anyway because they'll almost never look at the syntax definition.

We will have to have custom classes for the color definition highlighting though.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

Oh thanks for explanation with the snippets. I'll give it a try later.

with the italic: it disturbs the reading, so it should be used not very often, but my instincts would tell me "why is this italic?? have I written something wrong or so"

And this might be a little offtopic:
Have someone has succeded setting up github for ST2? It worked for me one day but after PC restart never again oO
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Sublime Text 2 Rainmeter package

Post by MerlinTheRed »

What do you mean "setting up github"?

EDIT: New version uploaded to github. I hope the package gets accepted to package control soon, so you don't have to update manually all the time.

changes:

- New class for the "=" in "Key=Value"
- Added that class to the color schemes and set its color to the same as the section headings
- Fixed some highlighting errors
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

Well there is a github plugin for ST2
so I downloaded GH, installed the plugin as
https://github.com/kemayo/sublime-text-2-git/wiki
suggested, but after PC restart I dont have my Git: Commit etc in my
CTRL + SHIFT + P even though I had before (it worked, could add files, commit and sync, but now not again *sigh*)

--
ill check new version

erm .. nice pink lol :D
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Sublime Text 2 Rainmeter package

Post by MerlinTheRed »

I installed the Git (not GitHub) plugin via PackageManager. Install PackageManager as instructed here: http://wbond.net/sublime_packages/package_control/installation

Then I used the "Install" command to install the "Git" Package. Worked fine for me.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

€: NVM I Solved it, I kinda got a new RM Entry oO



mh since I updated the package

I get
Der Befehl "Rainmeter.exe" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
[Finished in 0.1s with exit code 1]
Translation:
The Command "Rainmeter.exe" is spelled wrong or could not be found.
[Finished in 0.1s with exit code 1]
My Userbuild:

Code: Select all

{
	"selector": "source.rainmeter",
	"cmd": ["Rainmeter.exe", "!ActivateConfig", "${file/((.*)Rainmeter\\\\Skins\\\\)(.*)\\\\([^\\\\]*)\\..*/$3/i}", "$file_name", "&&", "Rainmeter.exe", "!Refresh", "${file/((.*)Rainmeter\\\\Skins\\\\)(.*)\\\\([^\\\\]*)\\..*/$3/i}"],
	"path": "D:\\Rainmeter",
	"shell": true,
	
	"variants": [		
		{
			"cmd": ["Rainmeter.exe", "!RefreshApp"],
			"name": "Run"
		}
	]
}
Just to show you I did the correct pathing


Console:
Running Rainmeter.exe !ActivateConfig Nova\Paper Paper.ini && Rainmeter.exe !Refresh Nova\Paper

I de-installed ST2, cause I thought it would be because of some old packages, so I deleted all folders in the %appdata% for ST2
and re-installed everything

Rainmeter-Folder


User-Folder



Any Idea, what could cause that?
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

MerlinTheRed wrote:I installed the Git (not GitHub) plugin via PackageManager. Install PackageManager as instructed here: http://wbond.net/sublime_packages/package_control/installation

Then I used the "Install" command to install the "Git" Package. Worked fine for me.
ok that might be the problem. I had github installed as for the .exe
I try downloading git
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Sublime Text 2 Rainmeter package

Post by MerlinTheRed »

Apparently, build-systems aren't overridden when copying them to the User folder. They are rather added. I think, however that the User one will be selected if you set your build system to "Automatic" (that's what happens for me). I shall add this to the README file.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Sublime Text 2 Rainmeter package

Post by thatsIch »

MerlinTheRed wrote:Apparently, build-systems aren't overridden when copying them to the User folder. They are rather added. I think, however that the User one will be selected if you set your build system to "Automatic" (that's what happens for me). I shall add this to the README file.
yes it does indeed select the user "Rainmeter" over the default "Rainmeter". Good to know "automatic" is so smart. Thanks for pointing that out
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Sublime Text 2 Rainmeter package

Post by MerlinTheRed »

Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!