Skip to content

Sublime Text style auto completion for words and member functions with fuzzy matching #22153

Closed

Description

@jasonhuhx
  • 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:

Activity

  1. csalv5 commented on Mar 7, 2017

    @csalv5

    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

  2. added
    suggest
    on Mar 7, 2017
  3. added
    feature-request
    on Mar 8, 2017
  4. jrieken commented on Mar 8, 2017

    @jrieken
    Contributor

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

  5. jrieken commented on Mar 20, 2017

    @jrieken
    Contributor

    This got implemented with #22884

    screen shot 2017-03-20 at 17 38 54

  6. csholmq commented on Mar 21, 2017

    @csholmq

    Johannes Rieken (@jrieken) And this is valid for all languages then?

  7. jrieken commented on Mar 21, 2017

    @jrieken
    Contributor

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

  8. schmuli commented on Mar 23, 2017

    @schmuli

    Johannes Rieken (@jrieken)

    VSCode:
    1.11.0-insider
    6b4e856

    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.

  9. jrieken commented on Mar 23, 2017

    @jrieken
    Contributor

    Schmulik Raskin (@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.

  10. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestsuggest

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions