bitbucket.org/guillermooo/aaapackagedev/src
Tools for authors of syntax definitions, plugins, completions… and packages in general.
Notes:
- Read README.rst
- Quickstart: Tools | Packages | Package Development
Cheers,
Guillermo
bitbucket.org/guillermooo/aaapackagedev/src
Tools for authors of syntax definitions, plugins, completions… and packages in general.
Notes:
Cheers,
Guillermo
Updated!
New syntax def for .sublime-keymap files should be applied automatically upon opening of said files.
Still a work in progress, but you might want to give it a try!
The link seems to be broken. Is this it bitbucket.org/guillermooo/aaapa … v/overview?
Thanks, firefusion, that’s correct. I had to rename the package because it appends to sys.path and therefore needs to be loaded first.
Updated!
Expanded docs, new tools for snippet dev (develop snippets with syntax highlighting and snippets).
Ehm, probably I am too stupid, but double-clicking the file opens the “Open With” dialog thingy.
I saw it is a .zip file actually. Where to extract it in order to make it work?
In the README I’m assuming you’re running a full installation as opposed to a portable one. I’ll update the docs. You can learn about alternate installation methods here:
sublimetext.info/docs/extensibil … kages.html
Basically, copy the .sublime-package file to Data/Installed Packages and restart.
I’ve got this after start:
File "./sublime_plugin.py", line 187, in is_enabled_
File "./snippet_dev.py", line 35, in is_enabled
File "/Users/squ1b3r/Library/Application Support/Sublime Text 2/Packages/AAAPackageDev/Lib/sublime_lib/view/_view.py", line 17, in has_file_ext
return view.file_name().endswith(ext)
AttributeError: 'NoneType' object has no attribute 'endswith'
MacOSX, btw
That’s probably because you’re seeing a transient view. Do the menu shortcuts under Tools | Packages work for you? I’ll try to fix that. Thanks!
Updated!
Improved syntax defs
Escaped Regexes
A new syntax def to provide better scopes for escaped regexes in JSON files. Should distinguish between JSON escapes and actual regexp escapes.