mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-19 22:25:52 +02:00
Bug 495095 - Disable parameter guessing for CDT 9.0
Change-Id: Iee60d904a725a0ed50b21de2f85cbcf01df09aed
This commit is contained in:
parent
45a6d17001
commit
e6e5c4483d
3 changed files with 5 additions and 5 deletions
|
@ -72,8 +72,8 @@ public class ContentAssist2TestSuite extends TestSuite {
|
|||
addTest(CompletionTests.suite());
|
||||
addTest(CompletionTests_PlainC.suite());
|
||||
addTest(ParameterHintTests.suite());
|
||||
addTest(CPPParameterGuessingTests.suite());
|
||||
addTest(CParameterGuessingTests.suite());
|
||||
//addTest(CPPParameterGuessingTests.suite());
|
||||
//addTest(CParameterGuessingTests.suite());
|
||||
|
||||
addTest(ShowCamelCasePreferenceTest.suite());
|
||||
|
||||
|
|
|
@ -108,8 +108,8 @@ public class CodeAssistPreferencePage extends AbstractPreferencePage {
|
|||
label = PreferencesMessages.CEditorPreferencePage_ContentAssistPage_insertCommonProposalAutomatically;
|
||||
addCheckBox(insertionGroup, label, ContentAssistPreference.PREFIX_COMPLETION, 0);
|
||||
|
||||
label = PreferencesMessages.CEditorPreferencePage_ContentAssistPage_guessArguments;
|
||||
addCheckBox(insertionGroup, label, ContentAssistPreference.GUESS_ARGUMENTS, 0);
|
||||
//label = PreferencesMessages.CEditorPreferencePage_ContentAssistPage_guessArguments;
|
||||
//addCheckBox(insertionGroup, label, ContentAssistPreference.GUESS_ARGUMENTS, 0);
|
||||
|
||||
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
|
||||
// sorting and filtering
|
||||
|
|
|
@ -138,7 +138,7 @@ public class DOMCompletionProposalComputer extends ParsingBasedProposalComputer
|
|||
protected List<ICompletionProposal> computeCompletionProposals(CContentAssistInvocationContext context,
|
||||
IASTCompletionNode completionNode, String prefix) {
|
||||
fPrefix = prefix;
|
||||
fGuessArguments = getPreferenceStore().getBoolean(ContentAssistPreference.GUESS_ARGUMENTS);
|
||||
fGuessArguments = false; // parameter guessing disabled for now (see bug 495095)
|
||||
fAvailableElements = fGuessArguments ? getDefinedElements(context) : Collections.<IBinding>emptyList();
|
||||
List<ICompletionProposal> proposals = new ArrayList<>();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue