News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

CC plugin interface redesign

Started by Alpha, July 03, 2013, 03:23:16 PM

Previous topic - Next topic

ollydbg

Quote from: dmoore on April 01, 2014, 10:24:37 PM
hmmm... On my windows machine I seem to be missing right click, Find Declaration/Find Implemention options. Just me?
You mean you don't have those entries in the context menu?
I don't have such problem with nightly build rev9744.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

Quote from: jens on March 31, 2014, 06:22:29 AM
Quote from: Alpha on March 31, 2014, 12:25:43 AM
Quote from: jens on March 29, 2014, 04:44:59 PM
[...]
create a console-project with the wizard (c++),
in main type std:: and chose any of the suggestions and I get the function with all parameter definitions as completion.
std::abs expands to (e.g.) std::abs(float __x)
That is odd.  For me, it just completes to std::abs(|) (where "|" is the caret) when I am within the body of main().  I only get that behaviour if I am in the global scope and have "Add function arguments' types and names when autocompleted outside function" checked.
What does it look like in your autocomplete listing?  (For me it is: [icon]abs(): _GLIBCXX_CONSTEXPR float .)
It's the same here.
But I'm again not able to reproduce it.
Unfortunately I had created my test project in my temp-folder (like most of the time) and it does not longer exist.
I do not recall which header I included yesterday, but it was definitey not cmath directly.
I try to investigate and post here again.

Maybe I had some incomplete lines, so CC thought I was outside a function.

I don't have such issue.
I'm using rev 9744 on WinXP. I have the options checked on as Alpha said.
Both auto completion inside a function body or in global namespace works fine.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.