Giter VIP home page Giter VIP logo

Comments (3)

slazyk avatar slazyk commented on June 24, 2024

Ok, I would this is basically two separate issues:

  1. The completion is not chosen after pressing Tab
    Why won't you use Enter which accepts the current completion instead? It always worked like this in Xcode... Tab inserts a prefix, Enter inserts the whole thing.
  2. The selection is not being kept after pressing Tab
    This might be a genuine issue for some users. It might indeed be annoying. But still, if you are inserting just a prefix (which you can see underlined) and not the completion itself, why would you want it to stay on this particular item? If you were interested in this particular item alone you would press Enter, right?

Let me know your thoughts.

from fuzzyautocompleteplugin.

slazyk avatar slazyk commented on June 24, 2024

I would say that 2. point from my previous comment should be fixed.

I've checked, and indeed Xcode's default behaviour is to keep the selection when you Tab or just type the letters. The selection jumps to best match when what you type doesn't match current selection or when you backspace. With fuzzy matches it's a little more complicated than that, but it should remain consistent with Xcode's default.

As for 1. my question still remains, @KleMiX why would you want to accept current completion with Tab when you can with Enter? If there is an option to accept with Tab there should probably also be one to accept with Space, ...

from fuzzyautocompleteplugin.

KleMiX avatar KleMiX commented on June 24, 2024
  1. Didn't know Enter is doing that, that's a good tip. I come from Visual Studio world where Tab is working as Enter in Xcode that's why I really liked this behaviour your plugin did before. This resolves my issue.
  2. Your thoughts on this one are also correct. Still could be a minor issue.

from fuzzyautocompleteplugin.

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.