Skip to content

Releases: SublimeText/PackageDev

v1.0.1 (2014-01-15)

13 Jul 16:38
Compare
Choose a tag to compare

Fix display of changelog

v1.0.0 (2014-01-14)

13 Jul 16:49
Compare
Choose a tag to compare
  • 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)

13 Jul 16:37
Compare
Choose a tag to compare
  • 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 and view.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 to view.coorded_region() and view.substr()
    • Added scroll parameter to view.append()
    • Added path.file_path_tuple() context handler
    • Added get_module_path(), get_package_path() and get_package_name()
      to path
    • Fixed view.relative_point() returning wrong values in certain
      scenarios