Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / autocompletion of functions

Author
Message
arrow28
10
Years of Service
User Offline
Joined: 11th Oct 2013
Location:
Posted: 11th Oct 2013 06:24
hi, guys! I do for myself autoend of helps for agk in notepad ++. it looks so
<a href='http://rghost.ru/49301844.view'><img src='http://rghost.ru/49301844/thumb.png' /></a>
<a href='http://rghost.ru/49301858.view'><img src='http://rghost.ru/49301858/image.png' /></a>
Someone needs from you it? or I in vain try only for myself?
forgive for my English, it is Google))

Attachments

Login to view attachments
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 11th Oct 2013 14:32
I won't pretend to understand what Google thinks your saying, but the lack of function completion is a real drain I find. Having to use F1, and pop back and forth is a pain - having a function complete like that would be great.

Heck, even having a single line of text listing the parameters would help, that's what we have in the old DBPro IDE and it saves me a lot of time.

I am the one who knocks...
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 11th Oct 2013 16:26 Edited at: 11th Oct 2013 16:50
Hi, arrow. This is very cool and would be super useful. A few of us are working on modding Sublime Text 2 for similar purposes. I do not think that anyone has yet worked up autocomplete for AppGameKit functions, but it would be fairly easy to do in Sublime Text.
Sublime Text has the ability to look at "snippet" files which allows you to link any typed text to the autocomplete feature and fill in whatever you want.
For example:

As soon as I begin to type "WriteDebug" the autocomplete comes up and shows me the description "WriteDebug(iOnOff , $sText , iToggleTimeStamp , iAppend)" and if I select that autocomplete then it fills in what I've put in the <content> tags.
I love this feature a LOT. I only wish that there were a way to separate snippets and regular autocompletion better. I suppose I could do something like add an "@" in front of any snippet trigger.

Anyway, the point is that I really think that Sublime text is better as an IDE than notepad++. I think that writing a program that parses the function list that Hodgey has made into snippet files like the above would be AWESOME. Of course if it is an AppGameKit function then it would likely be better to have the data that is filled in be the actual parameter names instead of something like I've used above.
If you're interested in doing this, I think a few of use would be very grateful. Also I think Sublime text is much more suited for this than N++ is (though I love N++ too).

Here's the thread link to the WIP for Sublime Text to AGK:
http://forum.thegamecreators.com/?m=forum_view&t=206696&b=48

EDIT: I forgot to mention. One excellent feature that Sublime Text has and N++ doesn't is multiple selection. So if I have 10 lines I want to simultaneously edit I can quickly and easily do so.

Login to post a reply

Server time is: 2024-05-07 13:47:38
Your offset time is: 2024-05-07 13:47:38