From d07efd3bea7b71b813246e9b62b9a2f2b2a73a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Tue, 5 Sep 2023 18:10:15 +0200 Subject: [PATCH] Fix typo: Propostal -> Proposal --- .../pydev/ast/codecompletion/AbstractPyCodeCompletion.java | 2 +- .../org/python/pydev/ast/codecompletion/PyCodeCompletion.java | 2 +- .../pydev/ast/codecompletion/PyCodeCompletionsForTypedDict.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/AbstractPyCodeCompletion.java b/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/AbstractPyCodeCompletion.java index ebc29ef0f6..896a66c37a 100644 --- a/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/AbstractPyCodeCompletion.java +++ b/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/AbstractPyCodeCompletion.java @@ -45,7 +45,7 @@ public ImportInfo getImportsTipperStr(CompletionRequest request) { * tokens to actual completions as requested by the Eclipse infrastructure. * @param lookingForInstance if looking for instance, we should not add the 'self' as parameter. */ - public static void changeItokenToCompletionPropostal(CompletionRequest request, + public static void changeItokenToCompletionProposal(CompletionRequest request, List convertedProposals, TokensOrProposalsList iTokenList, boolean importsTip, ICompletionState state) { diff --git a/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/PyCodeCompletion.java b/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/PyCodeCompletion.java index b5d3e2a87a..02f11d2d57 100644 --- a/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/PyCodeCompletion.java +++ b/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/PyCodeCompletion.java @@ -367,7 +367,7 @@ public TokensOrProposalsList getCodeCompletionProposals(CompletionRequest reques tokensList = new TokensOrProposalsList(analyzedTokens.toArray(new Object[0])); tokensList.addAll(new TokensListMixedLookingFor(alreadyChecked.values())); } - changeItokenToCompletionPropostal(request, ret, tokensList, importsTip, state); + changeItokenToCompletionProposal(request, ret, tokensList, importsTip, state); } catch (CompletionRecursionException e) { if (onCompletionRecursionException != null) { onCompletionRecursionException.call(e); diff --git a/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/PyCodeCompletionsForTypedDict.java b/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/PyCodeCompletionsForTypedDict.java index 3d0685294a..d392593c83 100644 --- a/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/PyCodeCompletionsForTypedDict.java +++ b/plugins/org.python.pydev.ast/src/org/python/pydev/ast/codecompletion/PyCodeCompletionsForTypedDict.java @@ -81,7 +81,7 @@ public TokensOrProposalsList getStringCompletions() throws CoreException, tokensList.addAll(tokenCompletions); List completionProposals = new ArrayList<>(); - PyCodeCompletion.changeItokenToCompletionPropostal(request, completionProposals, tokensList, false, state); + PyCodeCompletion.changeItokenToCompletionProposal(request, completionProposals, tokensList, false, state); TokensOrProposalsList ret = new TokensOrProposalsList(completionProposals); return ret; }