Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo: Propostal -> Proposal #365

Merged
merged 1 commit into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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<ICompletionProposalHandle> convertedProposals, TokensOrProposalsList iTokenList, boolean importsTip,
ICompletionState state) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public TokensOrProposalsList getStringCompletions() throws CoreException,
tokensList.addAll(tokenCompletions);

List<ICompletionProposalHandle> completionProposals = new ArrayList<>();
PyCodeCompletion.changeItokenToCompletionPropostal(request, completionProposals, tokensList, false, state);
PyCodeCompletion.changeItokenToCompletionProposal(request, completionProposals, tokensList, false, state);
TokensOrProposalsList ret = new TokensOrProposalsList(completionProposals);
return ret;
}
Expand Down
Loading