Releases: SublimeText/PackageDev
v1.0.3 (2015-01-28)
- Fixed OutputPanel for ST2 (broke convert to command)
v1.0.2 (2015-01-23)
- Fixed escaped backslashes in sublime settings syntax
~ File conversion now saves the file before building (and fails when saving
does) - Stop the build if the user closed the "select target format" panel
- Some minor bugfixes
Changes to sublime_lib (interesting for developers)
- Added
auto_show
parameter toOutputPanel
's__init__
- Added
view.OutputPanel.append()
view.OutputPanel()
can now be used as a context manager and runs
.finish()
on exit- Added
edit.Edit.append()
and made parameters for callback signatures
optional
v1.0.1 (2014-01-15)
Fix display of changelog
v1.0.0 (2014-01-14)
- ST3 compatibility
changes to sublime_lib
- Added
edit
module - Added following functions to
path
module:- get_module_path(file=None)
- get_package_path(file=None)
- get_package_name(file=None)
v0.5.0 (2013-09-04)
-
Reworked file conversion (plist <-> json) completely and added YAML to form
a "triangle". The Build system has been renamed to "Convert to ...".It is recommended you check out the updated guide on
http://docs.sublimetext.info/en/sublime-text-2/extensibility/syntaxdefs.html
or just take a look at a sample file:
https://github.com/SublimeText/AAAPackageDev/blob/6dcb22151c99ede162460c3a54ea0ae69a07fb09/Syntax%20Definitions/Sublime%20Text%20Syntax%20Def%20%28YAML%29.YAML-tmLanguage -
Added syntax definition and dynamic completions for YAML syntax definitions
The syntax highlight for YAML-tmLanguage files might still have some
problems because YAML is not easy to parse with regular expressions. Please
open an issue with an example for when the highlighting breaks or does not
work as intended. -
Added
rearrange_yaml_syntax_def
command that rearranges and sorts YAML
syntax definitions sanely ("z:AAAPackageDev: Convert to YAML and Rearrange
Syntax Definition") -
JavaScript-like comments are recognized and ignored when converting.
-
Revamp Raw Snippets highlighting
-
JSON syntax definitions now support the "@" symbol in goto anything (as well
as YAML) and highlights JavaScript-like comments, which can also be toggled -
Added comment toggling for keymaps
-
Fixed #19 and made parsing plists work on certain Linux distributions by
using another plist parsing lib -
Fixed highlighting of comments within sublime settings arrays
-
Fixed #15: Weird highlighting of build variants
-
Highlight
null
in sublime settings
and more ...
Changes to sublime_lib (interesting for developers)
Check the respective docstrings for a detailed description on usage:
https://github.com/SublimeText/AAAPackageDev/tree/master/Lib/sublime_lib
- Added PyYaml, ordereddict and plist_parser to Lib (ordereddict only for ST2)
- Changes to sublime_lib:
- Added
WindowAndTextCommand
class - Added
Settings
,FileSettings
andview.ViewSettings
abstraction
classes - Added
view.OutputPanel
- Added
view.base_scope()
- Added
view.unset_read_only()
context handler - Added
view.extract_selector()
context handler - Added
rel
parameter toview.coorded_region()
andview.substr()
- Added scroll parameter to
view.append()
- Added
path.file_path_tuple()
context handler - Added
get_module_path()
,get_package_path()
andget_package_name()
topath
- Fixed
view.relative_point()
returning wrong values in certain
scenarios
- Added