Home Download Buy Blog Forum Support

AndyJS2 - with default file completions

AndyJS2 - with default file completions

Postby agibsonsw on Sat Dec 08, 2012 6:45 pm

Hello. My new repo AndyJS2 (in preference to AndyJS) will display the default file completions along with my JavaScript and/or jQuery completions.

I preferred to create this as a second independent repo so you should just uninstall AndyJS if currently in use. I haven't had a chance to test it thoroughly but I'm sure it's perfect :D. Well, maybe if you use both completions simultaneously then the default (file) completions may appear twice in the list. let me know if this happens consistently, but it shouldn't be too off-putting at this stage.

Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: AndyJS2 - with default file completions

Postby agibsonsw on Thu Dec 13, 2012 3:21 pm

No one has come back to me so I just leapt in and requested this on PackageControl ;)
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: AndyJS2 - with default file completions

Postby agibsonsw on Mon Dec 17, 2012 10:58 pm

I have requested that AndyJS be removed from PackageControl in favour of AndyJS2 - it will still remain on my GitHub though.

If this causes any issue, or you have discovered any niggles with AndyJS2, please advise me.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: AndyJS2 - with default file completions

Postby Sinled on Sat Dec 22, 2012 10:18 am

Thanks, it is far better than first version
Sinled
 
Posts: 30
Joined: Thu Jan 12, 2012 6:14 pm
Location: Ukraine

Re: AndyJS2 - with default file completions

Postby agibsonsw on Sat Dec 22, 2012 7:02 pm

Sinled wrote:Thanks, it is far better than first version

Thank you, Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: AndyJS2 - with default file completions

Postby amphetamine on Wed Dec 26, 2012 10:07 pm

Looks good! :)

I see this one's implemented as a plugin rather than a completions list. Is there any functional difference apart from the default file completions?

Also, if you don't mind me asking, how did you generate (I'm assuming it wasn't done by hand) your PHP completions list? Did you write a parser for the PHP docs or something?
amphetamine
 
Posts: 23
Joined: Fri Dec 14, 2012 8:59 pm

Re: AndyJS2 - with default file completions

Postby agibsonsw on Thu Dec 27, 2012 2:21 am

I see this one's implemented as a plugin rather than a completions list. Is there any functional difference apart from the default file completions?

Hello. No difference; I copied the first to the second and used STs editing capabilities to modify the completions to Python list(s).

I could have modified the completion-triggers to remove all the brackets () etc., to enable the default (file) completions, but I wanted to keep these brackets displayed in the completions-list. Changing to a plug-in also allowed me to inject the word Default (for the default file-completions), which is cool 8-). I could also have taken the opportunity to provide different completions for the words window and document. But, given that I would also need to include global properties plus the default completions, I decided not to.

Also, if you don't mind me asking, how did you generate (I'm assuming it wasn't done by hand) your PHP completions list? Did you write a parser for the PHP docs or something?

I started with the standard ST-PHP completions and (sadly!) went through the entire list in combination with the PHP-docs. [Shame how sad this sounds!] I took it as an opportunity to revise PHP, and did a lot of copying and pasting (there are lots of very similar method-arguments).

I'm sure there is an easier way :D but, by the time I had discovered it I would have completed the job anyway (I'm a fast typist...). Although, of course, I didn't realise how big a job it would be when I started!!

Enjoy! Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: AndyJS2 - with default file completions

Postby amphetamine on Fri Dec 28, 2012 12:02 am

I would say dedicated :P

Anyway, I'm glad someone took the time. Thanks a lot mate!
amphetamine
 
Posts: 23
Joined: Fri Dec 14, 2012 8:59 pm

Re: AndyJS2 - with default file completions

Postby agibsonsw on Fri Dec 28, 2012 12:26 am

Just to bore a little further :oops: I recall that I decided not to bother obtaining a list that I could copy because I wanted to know:

what methods no longer exist or are deprecated;
what libraries have been moved to extension-libraries and from what version;
what parameters are optional and, if so, are they rarely needed?
etc.

So I would still have needed to reference the docs anyway. (Some useful notes about the various libraries are mentioned in comments in the completions file.)
Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: AndyJS2 - with default file completions

Postby agibsonsw on Sat Dec 29, 2012 4:41 pm

If someone can advise if I have followed the correct sequence that would be great :)
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests

cron