Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix over-aggressive code completion on dot #1745

Closed
spyder-bot opened this issue Feb 17, 2015 · 4 comments
Closed

Fix over-aggressive code completion on dot #1745

spyder-bot opened this issue Feb 17, 2015 · 4 comments

Comments

@spyder-bot
Copy link
Collaborator

From tak...@gmail.com on 2014-02-27T19:35:00Z

What steps will reproduce the problem?

  1. Open a new document
    1. Type foo.bar
    2. On a new line, type foo. What is the expected output? What do you see instead? As soon as you type the dot, autocompletion adds 'bar'. Offering a list of completions after a dot is useful, but immediately inserting text is not. What version of the product are you using? On what operating system? 2.3.0-dev, pulled today, on Linux.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1745

@spyder-bot
Copy link
Collaborator Author

From tak...@gmail.com on 2014-02-27T17:04:33Z

And I've (hopefully) got a fix: https://bitbucket.org/spyder-ide/spyderlib/pull-request/22/dont-insert-text-when-completion-is/diff

@spyder-bot
Copy link
Collaborator Author

From contrebasse on 2014-03-03T01:19:24Z

This is linked to the discussion in issue #1732 .

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-05-05T12:16:29Z

Summary: Fix over-aggressive code completion on dot (was: Over-aggressive tab completion on dot)
Status: Accepted
Labels: MS-v2.3

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-05-05T12:54:12Z

This issue was updated by revision 78fe2db598b2 .

  • The best option is to let the user decide if he/she wants to insert the
    text offered by the completion widget or not.
  • As part of this PR the option called "Show single completion" was
    removed from both the Editor and the Console because it was the culprit
    for auto-inserting text after a dot.

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant