Browse
![Text Text](https://miro.medium.com/max/2732/1*a7wH4QE8ka8NW6jVmoicjA.png)
![Sublime definition in literature Sublime definition in literature](https://news.codecademy.com/content/images/2018/09/image2.png)
- Sublime Definition In Art
- Sublime Definition In Literature
- Sublime Text Definition
- Sublime Text 5 Download
- Sublime Text Definition Peek
VisualAssist-like Go To Definition of word under cursor or current selection
Installs
- Total21K
- Win10K
- Mac6K
- Linux5K
- Sublime Text is a serious text editor and does come with a learning curve. While it's still great for basic text editing needs, it's more geared towards developers. Because Sublime Text is so customizable, some user-friendliness is lost in the process.
- Sublime Text is a good Text Editor. It has no problems with safety. Overall, it is known for its speed and smoothness. When compared to Atom or Visual Studio, it stands far above in speed and capabilities.
Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
In common use, sublime is an adjective meaning 'awe-inspiringly grand, excellent, or impressive,' like the best chocolate fudge sundae you've ever had.
Readme
- Source
- bitbucket.org
Go To Definition like in Visual Assist. This uses the symbol index created by sublime text.
Use alt+g to go to definition of symbol undercursor or of (first) selection. Or use 'Go To Definition' from Command Palette.
If there is more than one definition, you can select it in a quickpanel with file preview.
Author
Kay-Uwe (Kiwi) Lorenz <[email protected]> (http://quelltexter.org)
Support my work on Sublime Text Plugins: Donate via Paypal
This package for Sublime Text 2 makes creating and editing Rainmeterskins even more fun!
Syntax Highlighting
Syntax highlighting is turned on by default for files with the .ini and .incextensions. It works best with the included color schemes, although othercolor schemes might work, too. See Selecting Your ColorScheme for instructions on how to change the colorscheme.
If a certain file type doesn't open with Rainmeter highlighting even thoughyou want it to, select View > Syntax > Open all with current extension as.. >Rainmeter.
Code Completion
Code completion is activated by default. While typing, it will suggestcompletions from a list of options, values, built-in variables and more. Whenauto-completing a bang, the required and optional (in braces) parameters arealso added, and you can cycle through them by pressing
tab
or shift+tab
.Additionally, code snippets for common usages of each meter and measure type,and all native plugins are included. The names of those snippets start with a't' for 'template', so if you want to insert a basic template for a stringmeter, type
tstring
and hit enter, if you want to insert a metadata block,type tmetadata
. There is also a snippet with a basic structure of a skinfile called tskin
.You can see all available snippets by looking in the Snippets folder in theRainmeter package directory. If you feel that one of those snippets needs tobe changed in order to be more useful, don't hesitate to contact me.
Code Folding
Sublime Text 2 supports folding indented code sections. The command
rainmeter_indent
that is included in this package automatically indents allselected lines (or the whole file, if nothing is selected) so code folding ispossible in a sensible way. Hit ctrl+alt+i
to activate it. All options in asection are indented and can be folded away. Additionally, inserting a commentline starting with a double semicolon: ;;
will indent everything after it soit can be folded until the next ;;
that you indented by the same amount.This is useful if you want to fold a specific section of code, like allmeasures or meters. If you want to add a nice looking header for your foldablesections, try typing divider
and hitting enter.Color Picker
Ever wanted to quickly adjust the color of a meter but found yourself unableto imagine what a rgb color will look like in your head? No more! I haveadapted the awesome Color Picker Plugin created by weslly to work withrainmeter-style hex-color definitions. Place your mouse cursor in ahexadecimal color definition, or select it and hit
ctrl+shift+c
. This willopen a color picker dialog and let you choose a color. If your cursor iscurrently not in a color definition, the hex code will be inserted at thecursor position. You can't adjust the alpha value, but it will be preservedafter you chose the new color.New Skin
The Rainmeter section of the 'Tools' menu contains a handy command forcreating a new skin. It will prompt you for a name for the new skin, and thenperform the following operations:
- Create a new folder with the name you just entered in your Skins folder
- Create the @Resources folder, and the folders Fonts, Images and Scripts inside it
- Create a new ini file with the same name as the folder, open it and insert a basic skin skeleton
- Refresh Rainmeter so it recognizes the new skin
Tip: If you want to create a new skin that isn't located directly in theskins folder, you can enter the path to the new folder you want to create(relative to the skins folder). In this case, the path and all subfolders willbe created and the ini file will get the name of the last folder. For example,if you want to create a new skin called 'Twitter' in Enigma/Sidebar/Reader,enter
Enigma/Sidebar/Reader/Twitter
as the skin's name. The @Resourcesfolder and its subdirectories will only be created if there is no @Resourcesfolder yet.If you just want to create a new ini file, try the 'New Skin File' command. Itwill just open a new buffer and insert the skin skeleton. The same skeleton isalso available as a snippet called
tskin
. Private secure home page.Refresh Skin/Rainmeter
You can refresh the current skin by hitting
f7
or ctrl+b
. The same commandis also available via the 'Tools' menu or the command palette. If the skin isnot currently loaded, it will be activated. If you don't want this, you canset the 'rainmeter_refresh_and_activate' setting to false
in your Usersettings (see Configuration for more info).If you want to refresh Rainmeter itself, hit
ctrl+shift+b
or select 'Tools >Rainmeter > Refresh Rainmeter'.Open Skins Folder
You can open your skins folder by selecting 'Tools > Rainmeter > Open SkinsFolder..' or running the 'Rainmeter: Open Skins Folder' command from thecommand palette.
Open Paths in Rainmeter Files
Ever wanted to open that include file and cursed because you had to navigateto it in the Widows Explorer before you can open it? Try placing your caret onthe line and select 'Open Selected Paths..' from the context menu, or hit
ctrl+alt+o
. Fast clicker sourceforge.This command lets you open paths to text files in Sublime, folder paths in theWindows Explorer, other files in their default application and URLs in yourbrowser. It will expand some Rainmeter built-in variables and Windowsenvironment variables and try a number of cases, one after the other, to openwhat you have selected:
- If you have selected a portion of text, it will try to open exactly that portion
- If your selection is inside a quoted string, it will try to expand the selection to the enclosing quotes and open that portion
- If your selection is enclosed by spaces, it will try to open the text between those spaces
- If the line is a 'key=value' line it will try to open everything after the '='
- If all else fails, it will try to open the whole line (after removing any leading semicolons)
You can select nothing and only place the caret somewhere into the line, inwhich case only 2.-5. are relevant. If you have selected multiple lines, theyare all treated separately (letting you open multiple include files at once).
The following variables are expanded before trying to open anything:
- #CURRENTPATH#
- #CURRENTFILE#
- #CURRENTCONFIG#
- #ROOTCONFIGPATH#
- #@#
- #SKINSPATH#
- #PROGRAMPATH#
- #PROGRAMDRIVE#
- #SETTINGSPATH#
- #PLUGINSPATH#
- #ADDONSPATH#
- Windows environment variables (enclosed in '%')
If you want to include or exclude certain file extensions from being openedwith Sublime instead of the system default, see the default settings file forinstructions.
With Package Control (recommended)
The easiest way to install is via Package Control. If you don't have itinstalled yet, I highly recommend it. Package Control will manage yourpackages and update them automatically.
If you have Package Control installed, open the command palette(
ctrl+shift+p
) and run the 'Package Control: Install Package' command. Typein 'Rainmeter' and hit enter. The package will now be installed and kept up-to-date automatically.Using Git
Browse to your Sublime Text 2 Package folder (C:Users[YourUsername]AppDataRoamingSublime Text 2Packages on Windows). Thenclone the package there using git:
Don't forget to update regularly by running
in the Rainmeter package directory.
Manual Installation
- Download the latest version from the release page and unzip it.
- Drop the .sublime-package file into your Installed Packages folder(C:Users[Your Username]AppDataRoamingSublime Text 2Installed Packages on Windows)
You can configure the behavior of the package by editing the user settingsfile (Preferences > Package Settings > Rainmeter > Settings - User). See'Settings - Default' for all available settings and their description as wellas how a settings file should look. If you want to change one of thosesettings, copy it to your user settings file and change the value. It is bestto only copy those settings into your user settings file that you actuallywant to change, since they will override the default ones. The settings filemust have an opening curly brace at the top, and a closing one at the bottom.Also, all settings except the last one must be terminated with a comma orSublime will throw error dialogs at you.
Setting Your Rainmeter Path
Sublime Definition In Art
If your Rainmeter is not installed in C:Program FilesRainmeter youshould change the 'rainmeter_path' setting to the path where you installedRainmeter. You can check if you set it correctly by selecting 'RefreshRainmeter' from the 'Rainmeter' section in the 'Tools' menu and seeing ifRainmeter is actually refreshed.
Setting Your Skins Path
Only set the 'rainmeter_skins_path' setting if 'Tools > Rainmeter > OpenSkins Folder..' does not correctly open your skins folder. The package willtry to detect your skins folder automatically (including changes to 'SkinPath'in Rainmeter.ini) so it's recommended not to set this setting if everythingis working fine.
Selecting Your Color Scheme
There are several built-in color schemes you can choose from. If you don'twant to use the default color scheme 'Monokai (Rainmeter)', you can select acustom one by setting the 'color_scheme' setting in your user settings file.
The following color schemes are currently included in the package:
Sublime Definition In Literature
- Lachgummi Joghurt.tmTheme
- Monokai (Rainmeter).tmTheme
- Nexus (Rainmeter).tmTheme
- RainLexer.tmTheme
- Rainmeter (Light).tmTheme
Ultimate doom maps. Using other color schemes that are not optimized for Rainmeter is possible,but will probably yield sub-optimal results.
Customizing Your Key Bindings
If you don't like the key bindings the package provides by default you candefine your own. Look at 'Preferences > Package Settings > Rainmeter > KeyBindings - Default' to see how the key bindings are defined. You can add yourown by editing 'Preferences > Key Bindings - User'.
Issues
The syntax definition tries to capture all common language constructsproperly. It might fail in some cases, where something is highlighted eventhough it's not supposed to be. One prominent example is that every numberthat has exactly 6 or 8 digits is being highlighted like a hexadecimal colordefinition. I chose this explicitly because I think identifying the differentparts in a color definition is more important than some incorrectly colorednumbers. In most other cases, wrong highlighting is due to the inherentambiguity in Rainmeter syntax. If you encounter one of those cases, don'thesitate to contact me, especially if you think you know how to fix it.
Hints for Color Scheme Designers
You can see all the different classes the syntax defines by looking intoRainmeter.JSON-tmLanguage. Perhaps even easier is copying the rainmeter-specific part from one of the included color schemes (it's pretty much at thetop, and it's commented). All the classes with a short description what theymean are included there.
Reference
Used Commands
- rainmeter_color_pick
- rainmeter_indent
- rainmeter_new_skin
- rainmeter_new_skin_file
- rainmeter_open_paths
- rainmeter_open_skins_folder
- rainmeter_refresh_config
- rainmeter_refresh_current_skin
Used Command Palette Commands
![Text Text](https://miro.medium.com/max/2732/1*a7wH4QE8ka8NW6jVmoicjA.png)
- Rainmeter: Indent for Code Folding
- Rainmeter: New Skin
- Rainmeter: New Skin File
- Rainmeter: Open Selected Paths
- Rainmeter: Open Skins Folder
- Rainmeter: Pick Color
- Rainmeter: Refresh Current Skin
- Rainmeter: Refresh Rainmeter
Used Key Bindings
Global
ctrl+shift+c
(pick color)
In Rainmeter Source Files
Sublime Text Definition
ctrl+alt+i
(indent for code folding)ctrl+alt+o
(open selected paths)enter
(only in comments: continue comment on next line)
Used Menu Entries
![Sublime definition in literature Sublime definition in literature](https://news.codecademy.com/content/images/2018/09/image2.png)
Main Menu
- Preferences > Package Settings > Rainmeter > Settings - Default
- Preferences > Package Settings > Rainmeter > Settings - User
- Preferences > Package Settings > Rainmeter > Key Bindings - Default
- Tools > Rainmeter > Indent for Code Folding
- Tools > Rainmeter > New Skin File..
- Tools > Rainmeter > New Skin..
- Tools > Rainmeter > Open Skins Folder..
- Tools > Rainmeter > Refresh Current Skin
- Tools > Rainmeter > Refresh Rainmeter
Sublime Text 5 Download
Context Menu
- Open Selected Paths.. (In Rainmeter Files)
Sublime Text Definition Peek
- Color Picker plugin by weslly, which I tweaked to work with Rainmeter
- RainLexer by poiru, which is another awesome tool for developing Rainmeter skins, for the inspiration and one of the color schemes.
- Monokai Color Scheme by Wimer Hazenberg, for providing such an amazing composition of colors.
- Kaelri for contributing the 'Nexus' color scheme.
- The Rainmeter Community, for being awesome and testing this package.