User forums > Help

C::B 13.12 Can't work with big project which have more than 100 files.

<< < (7/10) > >>

oBFusCATed:

--- Quote from: MortenMacFly on March 01, 2014, 01:45:32 pm ---There should only be 2 cases:
1.) A short list of methods and always the docs on the right
2.) A long list of methods including args if the docs are disabled.

Every other state is invalid and we need to dig into it.

--- End quote ---
Totally agree about this :)

ollydbg:
@Morten:

--- Code: ---Index: trunk/src/plugins/codecompletion/codecompletion.cpp
===================================================================
--- trunk/src/plugins/codecompletion/codecompletion.cpp (revision 9667)
+++ trunk/src/plugins/codecompletion/codecompletion.cpp (revision 9668)
@@ -1004,8 +1004,10 @@
 
                 if (token->m_TokenKind & tkAnyFunction)
                 {
-                    //tmp << token->GetFormattedArgs();
-                    tmp << _T("(): ") << token->m_FullType;
+                    if (m_DocHelper.GetOptions().m_Enabled)
+                        tmp << _T("(): ") << token->m_FullType;
+                    else
+                        tmp << token->GetFormattedArgs() << _T(": ") << token->m_FullType;
                 }
                 else if (token->m_TokenKind == tkVariable)
                     tmp << _T(": ") << token->m_FullType;
--- End code ---

Is it m_DocHelper.GetOptions().m_ShowAlways instead of m_DocHelper.GetOptions().m_Enabled? or both of them?
I mean in my post: Re: C::B 13.12 Can't work with big project which have more than 100 files.
I need to check on Show token's details even it hasn't documentation. to let the documentation tip window shown in the case there is no Doxygen styled document associated with the token.

oBFusCATed:
As far as I'm concerned this m_DocHelper.GetOptions().m_ShowAlways should be removed from the interface and should be set to always be true.

MortenMacFly:

--- Quote from: ollydbg on March 01, 2014, 03:40:02 pm ---Is it m_DocHelper.GetOptions().m_ShowAlways instead of m_DocHelper.GetOptions().m_Enabled? or both of them?

--- End quote ---
Yeah - that's tricky. If you disable "Always show" than you've a "mixed mode". It means if the method is not documented you'll stick with the mini view w/o arguments and unclear duplicates. If the method is documented its OK.

There is no good solution to this case because you cannot fill the CC list in a "mixed mode" - it would become too large again.

The only feasible solution I see is to remove this option and always show what the docs have to offer by default.

MortenMacFly:

--- Quote from: oBFusCATed on March 01, 2014, 03:44:50 pm ---As far as I'm concerned this m_DocHelper.GetOptions().m_ShowAlways should be removed from the interface and should be set to always be true.

--- End quote ---
Our posts crossed - I've just posted the same. :-)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version