Vscode: Sublime Text style auto completion for words and member functions with fuzzy matching

Created on 7 Mar 2017  路  7Comments  路  Source: microsoft/vscode

  • VSCode Version: 1.10.1
  • OS Version: macOS

Is it possible for VSCode to support the following kinds of auto complete, please see screenshots

Word completion:

screen shot 2017-03-07 at 10 23 19 am

Member function completion:

screen shot 2017-03-07 at 10 20 22 am

All auto-completions come with fuzzy matching.

Steps to Reproduce:

1.
2.

feature-request suggest

Most helpful comment

Yes, we have changed the default matcher to be more fuzzy.

All 7 comments

Agree, actually fuzzy matching only works with camel Case, but in sublime and atom you can get completion by typing any middle letter of the target word.

I still miss this feature in vscode

I like, tho will be some work and maybe some adjustment for folks that are used to our current filtering and ranking

@jrieken And this is valid for all languages then?

Yes, we have changed the default matcher to be more fuzzy.

@jrieken

VSCode:
1.11.0-insider
6b4e8566986d1403d85859fbc383288acad480df

I appear to be getting stuck in a recursive loop, and according to DevTools (I clicked Pause in the Debugger) it is happening in _matchRecursive.

I tested this with code-insiders --verbose --disable-extensions.

I was able to reproduce this with a simple HTML file:

<div>
    <form>
        <div>
            <button>Test</button>
            <ul>
                <li>
                    <a
                </li>
            </ul>
        </div>
    </form>
</div>

After typing the opening <a and IntelliSense appears, trying to type an additional character will freeze the whole VSCode.

@schmuli Thanks for the heads-up. You are right, there are situations in which it keeps recursing forever. I have implemented a different approach today and just pushed the last changes. Will be in tomorrows insiders.

Was this page helpful?
0 / 5 - 0 ratings