Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

CC plugin interface redesign

<< < (27/28) > >>

Jenna:

--- Quote from: Alpha on March 29, 2014, 04:15:33 pm ---I have been trying (unsuccessfully) to reproduce; have you been able to isolate a minimal example yet?

--- End quote ---

--- Quote from: Alpha on March 29, 2014, 04:15:33 pm ---I have been trying (unsuccessfully) to reproduce; have you been able to isolate a minimal example yet?

--- End quote ---

No, unfortunately not, at the moment it seems to work correctly.
But I found another issue.
Simple to reproduce:
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)

Alpha:

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

--- End quote ---
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 .)

Jenna:

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

--- End quote ---
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 .)

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

dmoore:
hmmm... On my windows machine I seem to be missing right click, Find Declaration/Find Implemention options. Just me?

Alpha:
It works for me (and I believe I had left that part of the CC plugin untouched).
Maybe test some breakpoints in CodeCompletion::BuildModuleMenu() ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version