Skip to content

suggestion score - allow first character to be a weak match #53715

@kiuuik

Description

@kiuuik

(This idea was originally posted in the repo for the python extension as issue 2097, reposted here on advice of MikhailArkhipov. This is reworded and extended with screenshots)

Intellisense completions in VSCode are only shown after typing the first letter of a method. But I don't always remember this - I often only remember some other parts of a name.

Example: If I type

import os 
os.dir

I would like to get "mkdir" or "makedirs" as a suggestion. This works as expected in VS Community2017 (or other IDEs like pycharm):

intellisense_vs_community2017

In VSCode 1.25.0 (with python extension 2018.06) I only get this:

intellisense_vscode1 25

Only if I enter "os.m" I get suggestions for "mkdir" or "makedirs". It's nice that after the initial letter I can enter any string so that "os.md" shows the suggestions I want but I don't always remember the first letter of a method. I think I'm not the only one with this problem.

This not only affects the module os but is a general problem.

I don't know how this behavior is called. maybe fuzzy completion? Please adjust the title of this thread.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityon-release-notesIssue/pull request mentioned in release notessuggestIntelliSense, Auto Completeverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions