NO

Author Topic: Function prototype add-in  (Read 9747 times)

CLR

  • Guest
Function prototype add-in
« on: May 14, 2005, 09:57:37 PM »
Hello. I've updated the function prototypes add-in listaf.dll.

bugfix:
the previous version did not handle strings like this:  "\"\0"
 :mrgreen:

CLR

  • Guest
Function prototype add-in
« Reply #1 on: May 26, 2005, 08:37:47 PM »
Hello. The add-in will now display the functions name of current caret position.  It isn't 100% accurate, as usual. How to use it: right click and click "Current function".

EDIT:
Another update.
- Keyboard shortcut "F12"
- Button "go to start", "go to end" of function

Anonymous

  • Guest
Function prototype add-in
« Reply #2 on: May 26, 2005, 08:48:51 PM »
Quote from: "CLR"
Hello. The add-in will now display the functions name of current caret position.  It isn't 100% accurate, as usual. How to use it: right click and click "Current function".


Now THAT is handy.  

Thanks.

Holger Buick

  • Guest
Function prototype add-in
« Reply #3 on: May 27, 2005, 12:51:49 AM »
Hello CLR, :lol:

Thanks a lot, very usefull.=D>

Sometimes I searche a snippet of code in a large source file by keywords, when I dont #-o remember, in which function I have implemented something.
So I jump in the code in big steps, and dont know, where I am.
 
Holger.

CLR

  • Guest
Function prototype add-in
« Reply #4 on: May 27, 2005, 01:19:01 PM »
Hello ldblake.
Hello Holger Buick.

Thanks!

migf1

  • Guest
Function prototype add-in
« Reply #5 on: May 27, 2005, 11:27:37 PM »
2 thumbs up!

CLR

  • Guest
Function prototype add-in
« Reply #6 on: May 28, 2005, 12:44:35 AM »
Hello. I'm getting strange errors with poide.exe (doesn't exit), I guess it is related to the key shortcut "F12" I have put in the add-in. If you're having the same problem you can remove the WANT_SHORTCUT symbol from the pre-processor and then recompile the project.

Finally, the parser may get confused if the code is like this..

Code: [Select]

int foo(int bar){
...code...
}


or

Code: [Select]

int foo(int
   bar){
...code...
}


It works fine in most cases if the code is like this
Code: [Select]

int foo(int bar)
{
...code...
}



migf1:
Thanks :)

ps.. sorry for my English.

Anonymous

  • Guest
Function prototype add-in
« Reply #7 on: May 28, 2005, 05:06:28 AM »
Quote from: "CLR"
Hello. I'm getting strange errors with poide.exe (doesn't exit), I guess it is related to the key shortcut "F12" I have put in the add-in.


That's probably because POIDE already uses F12 to find matching braces.

CLR

  • Guest
Function prototype add-in
« Reply #8 on: May 28, 2005, 07:53:31 PM »
Quote from: "ldblake"
Quote from: "CLR"
Hello. I'm getting strange errors with poide.exe (doesn't exit), I guess it is related to the key shortcut "F12" I have put in the add-in.


That's probably because POIDE already uses F12 to find matching braces.


Hello ldblake. Thanks!

There is another update.

2005-05-28  - new key VK_F6
            - bugfix in parser
            ******************************************
                #directive blabla // comment
                void foo(void)                
                {
                }
            ******************************************
            function foo missing

EDIT:
Get the latest version in
http://www.johnfindlay.plus.com/pellesc/index.html
Thanks.

RJP Computing

  • Guest
Function prototype add-in
« Reply #9 on: May 28, 2005, 10:50:16 PM »
Nice work!
 =D>  =D>  =D>  =D>
I use this everyday. It is so helpful to just program the functions and then use your Addin to make my .h file.

Thanks!

CLR

  • Guest
Function prototype add-in
« Reply #10 on: May 29, 2005, 12:53:48 AM »
Hello RJP Computing. Thanks! :D