Skip to content

Releases: thatsIch/sublime-rainmeter

Externalize dependencies

27 Nov 13:01
Compare
Choose a tag to compare
Pre-release

Build against: 3126
Requires at least: 3000

Seems you can not have local and global dependencies with the same name at once

Import Fix

27 Nov 12:10
Compare
Choose a tag to compare

Build against: 3126
Requires at least: 3000

  • Fixed importing of yaml library

Local Dependencies

27 Nov 11:54
Compare
Choose a tag to compare

Build against: 3126
Requires at least: 3000

Since Package Control is currently missing, I have to ship my own dependencies :-(

Bugfixes and refactoring

27 Nov 11:11
Compare
Choose a tag to compare

Build against: 3126
Requires at least: 3000

Due to more completions entering the system I am required to refactor the internal structures to fit the logic into one space. Due to that refactoring some bugs creeped in, nonetheless I added some minor features.

  • Fixed logger not correctly loaded
  • Fixed logging statement
  • Fixed case issue were e.g. author was not taken and thus Author was auto suggested
  • Fixed default installation path to C:\Program Files\Rainmeter
  • new .sublime-syntax files and thus we require at least Sublime Text 3092.
  • DynamicWindowSize as option values (1/0 are highlighted)
  • Metadata section auto completion

P.S.: it seems we gonna see a PR on PackageControl sooon :-)

Key context based auto completion

23 Nov 09:48
Compare
Choose a tag to compare

Build against: 3126
Requires at least: 3000

I just added a key context based auto completion to the [Rainmeter]. This enables suggestions of values based on the current key you are writing in. It will display by Rainmeter given default values and other meaningful options.

It looks like this:
key-context-based-completion

Last but not least I have deactivated the distance calculation if you have yet to type something. The initial order of elements is more meaningful then by distance sorted to nothing.

P.S.: I have found out, that you can intercept the completion call and show your own completion list if you want. These small windows can be formatted in HTML, so we can make pretty popups in the future (https://github.com/facelessuser/sublime-markdown-popups). Not sure if I want this as a dependency though.

Quick access to default/user menu entries

20 Nov 10:10
Compare
Choose a tag to compare

Build against: 3126
Requires at least: 3000

I just pushed a minor change to collapse the settings and keybindings into one just as ST3 itself does it. This makes it easier to change them.

image

key completion in [Rainmeter] section

17 Nov 13:53
Compare
Choose a tag to compare
Pre-release

Build against: 3126
Requires at least: 3000

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.

Smart Autocomplete

08 Nov 22:36
Compare
Choose a tag to compare

Build against: 3126
Requires at least: 3000

This release is to elevate a lot of pain while creating meter, measures and plugins. Before ST3 provided you with a list of all potential candidates even though they were syntactically incorrect. This release will look up in which context you currently are in and display only valid options for the

  • Meter
  • Measure
  • Plugin

assignments. For example for measures only Calc, CPU, etc are displayed and not Bar anymore.

  • Replaced trigger based completion with context-sensitiv completion for measure, meter and plugins
  • Added quick info to the formula operations (sin, cos, abs, etc.)

Update to Rainmeter 4.0 Revision 2679

08 Nov 09:56
Compare
Choose a tag to compare

Build against: 3126
Requires at least: 3000

This version is to update the syntax and auto complete definitions to the latest version of Rainmeter (November 6, 2016). In the last few years they added new meters, plugins and measures to enrich the Rainmeter experience.

Changes to the sublime rainmeter plugin thus are:

  • Added support for !SkinCustomMenu bang
  • Added support for MaskImage
  • Added support for calc measure functions Min(x, y), Max(x, y) and Clamp(x, low, high)
  • Added auto-complete for Description
  • Added auto-complete for TimeStampFormat
  • Added auto-complete for InlineSetting and InlinePattern
  • Added initial support for AudioLevel plugin
  • Added auto-complete for AudioLevel plugin options
  • Added support for DefaultUpdateDivider
  • Added support for formula operation atan2
  • Added section variable :TimeStamp
  • Added SecondsValue option
  • Added initial support for FormatLocale
  • Added initial support for TimeStampLocale
  • Added WebParser option support for OnConnectErrorAction, OnRegExpErrorAction and OnDownloadErrorAction
  • Added support for Loop measure
  • Added support for Rainmeter section variables SkinWidth and SkinHeight
  • Added support for RunCommand plugin
  • Added support for ActionTimer plugin
  • Added support for AutoSelectScreen and AutoSelectScreenGroup bangs
  • Added support for webparser option LogSubstringErrors
  • Added support for webparser option UserAgent
  • Added support for webparser option Header to HeaderN
  • Added support for Shape meter

The list is not complete in total because for example a lot of plugins added fine grained control which are currently not matchable in this plugin.

Initial port to ST3

06 Nov 11:57
Compare
Choose a tag to compare

Build against: 3126
Requires at least: 3000

This is initial port to Sublime Text 3

There had to be some work done because of the version shift in python and this modules uses a lot of python. That meant that some libraries were deprecated and some syntax was not valid and thus could not be parsed anymore.

It should work for the most part.

  • Added default installation path retrieval via the windows registry
  • New syntax support:
    • Description
    • TimeStampFormat
    • InlineSetting to InlineSettingN
    • InlinePattern to InlinePatternN