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.
It is currently April 26th, 2024, 6:07 pm
Sublime Text 2 Rainmeter package
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Sublime Text 2 Rainmeter package
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
-
- Posts: 446
- Joined: August 7th, 2012, 9:18 pm
Re: Sublime Text 2 Rainmeter package
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
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
Powered by Sublime Text 3 with Rainmeter-Package
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Sublime Text 2 Rainmeter package
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
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!
-
- Posts: 446
- Joined: August 7th, 2012, 9:18 pm
Re: Sublime Text 2 Rainmeter package
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
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
Powered by Sublime Text 3 with Rainmeter-Package
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Sublime Text 2 Rainmeter package
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.
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!
-
- Posts: 446
- Joined: August 7th, 2012, 9:18 pm
Re: Sublime Text 2 Rainmeter package
€: NVM I Solved it, I kinda got a new RM Entry oO
mh since I updated the package
I get
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?
mh since I updated the package
I get
Translation:Der Befehl "Rainmeter.exe" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
[Finished in 0.1s with exit code 1]
My Userbuild:The Command "Rainmeter.exe" is spelled wrong or could not be found.
[Finished in 0.1s with exit code 1]
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"
}
]
}
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?
Powered by Sublime Text 3 with Rainmeter-Package
-
- Posts: 446
- Joined: August 7th, 2012, 9:18 pm
Re: Sublime Text 2 Rainmeter package
ok that might be the problem. I had github installed as for the .exeMerlinTheRed 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.
I try downloading git
Powered by Sublime Text 3 with Rainmeter-Package
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Sublime Text 2 Rainmeter package
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!
-
- Posts: 446
- Joined: August 7th, 2012, 9:18 pm
Re: Sublime Text 2 Rainmeter package
yes it does indeed select the user "Rainmeter" over the default "Rainmeter". Good to know "automatic" is so smart. Thanks for pointing that outMerlinTheRed 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.
Powered by Sublime Text 3 with Rainmeter-Package
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Sublime Text 2 Rainmeter package
New version available.
Download: https://github.com/merlinthered/sublime-rainmeter/downloads
Change Log: https://github.com/merlinthered/sublime-rainmeter/commits/master
Download: https://github.com/merlinthered/sublime-rainmeter/downloads
Change Log: https://github.com/merlinthered/sublime-rainmeter/commits/master
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!