Home Download Buy Blog Forum Support

PackageDev - Package Development

PackageDev - Package Development

Postby guillermooo on Fri Mar 11, 2011 10:37 pm

https://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
Last edited by guillermooo on Sat Apr 16, 2011 8:24 am, edited 2 times in total.
guillermooo
 
Posts: 725
Joined: Thu Jul 23, 2009 9:06 am

Re: PackageDev - Package Development

Postby guillermooo on Tue Mar 15, 2011 10:34 pm

Updated!

* Fine-grained syntax def for .sublime-keymap files.
* Some completions for .sublime-keymap files.

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!
guillermooo
 
Posts: 725
Joined: Thu Jul 23, 2009 9:06 am

Re: PackageDev - Package Development

Postby firefusion on Wed Mar 16, 2011 9:07 am

The link seems to be broken. Is this it https://bitbucket.org/guillermooo/aaapa ... v/overview?
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: PackageDev - Package Development

Postby guillermooo on Wed Mar 16, 2011 9:20 am

Thanks, firefusion, that's correct. I had to rename the package because it appends to sys.path and therefore needs to be loaded first.
guillermooo
 
Posts: 725
Joined: Thu Jul 23, 2009 9:06 am

Re: PackageDev - Package Development

Postby guillermooo on Sat Apr 16, 2011 8:25 am

Updated!

Expanded docs, new tools for snippet dev (develop snippets with syntax highlighting and snippets).
guillermooo
 
Posts: 725
Joined: Thu Jul 23, 2009 9:06 am

Re: PackageDev - Package Development

Postby tux. on Sun Apr 17, 2011 12:02 am

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?
Image
tux.
 
Posts: 108
Joined: Thu Apr 14, 2011 11:04 am

Re: PackageDev - Package Development

Postby guillermooo on Sun Apr 17, 2011 6:31 am

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:

http://sublimetext.info/docs/extensibil ... kages.html

Basically, copy the .sublime-package file to Data/Installed Packages and restart.
guillermooo
 
Posts: 725
Joined: Thu Jul 23, 2009 9:06 am

Re: PackageDev - Package Development

Postby squ1b3r on Sun Apr 17, 2011 8:14 am

I've got this after start:

Code: Select all
  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
squ1b3r
 
Posts: 45
Joined: Fri Feb 11, 2011 6:35 am

Re: PackageDev - Package Development

Postby guillermooo on Sun Apr 17, 2011 8:27 am

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!
guillermooo
 
Posts: 725
Joined: Thu Jul 23, 2009 9:06 am

Re: PackageDev - Package Development

Postby squ1b3r on Sun Apr 17, 2011 8:40 am

Yes, all things works fine. Just traceback in console.
squ1b3r
 
Posts: 45
Joined: Fri Feb 11, 2011 6:35 am

Next

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 8 guests