News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Function prototype add-in

Started by CLR, May 14, 2005, 09:57:37 PM

Previous topic - Next topic

CLR

Hello. I've updated the function prototypes add-in listaf.dll.

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

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".

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

Anonymous

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

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

Hello ldblake.
Hello Holger Buick.

Thanks!

migf1


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. 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..


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


or


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


It works fine in most cases if the code is like this

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



migf1:
Thanks :)

ps.. sorry for my English.

Anonymous

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

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

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

Hello RJP Computing. Thanks! :D