Coder Social home page Coder Social logo

Comments (8)

brendanfalk avatar brendanfalk commented on August 23, 2024 1

from fig.

mschrage avatar mschrage commented on August 23, 2024 1

Closing this issue as stale + I think we've addressed this by adding the autocomplete.sortMethod setting which lets you specify recency or alphabetical.

from fig.

mschrage avatar mschrage commented on August 23, 2024

This makes sense. Thanks for opening the issue!

from fig.

brendanfalk avatar brendanfalk commented on August 23, 2024

@mathew-fleisch Totally agree.

We also sort suggestions based on recency of use when the user hasn't started filtering yet e.g. if you used foo-bar more recently than foo, then foo-bar will rank first. I don't think we will change this.

However, as soon as the user starts typing to filter, then we will order properly.

Does this seem good?

from fig.

mathew-fleisch avatar mathew-fleisch commented on August 23, 2024

I wouldn't expect there to be a state. Personally, I'd want it to behave the same every time and be stateless. ¯\(ツ)

from fig.

mathew-fleisch avatar mathew-fleisch commented on August 23, 2024

I said this in slack, but I'll say it here too. I would also turn this functionality off, if I could. The autocomplete for directories is not as useful as using it for complex commands that I may not remember the sub-commands for. Standard linux tabbing is faster (for me) to traverse files and directories, than having to use the arrow key to pick the correct directory/file. If this part of autocomplete cannot be turned off with some feature flag, I'd expect it to work exactly like linux tabbing to not disrupt my existing workflow. (my two cents)

from fig.

mathew-fleisch avatar mathew-fleisch commented on August 23, 2024

Cool. That works for me. Thanks! (Matt suggested this in slack as well, but I thought uninstall would remove autocomplete completely). I get it now 👍

from fig.

brendanfalk avatar brendanfalk commented on August 23, 2024

Hey @mathew-fleisch - thinking about this. New tab autocomplete should feel more like standard shell autocomplete. We still do ordering based on recency of use and clicking tab multiple times does not traverse the directories.

Do things feel better now or are there changes that could be made to be even better? Lay it on us, we are happy to help

from fig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.