Spyder: Folder and file names completion on console using cd and edit returns unexpected options

Created on 22 Apr 2020  路  3Comments  路  Source: spyder-ide/spyder

Problem Description

Inside the console, the completion (tab) of the command cd returns multiple options all containing the first folder name. The completion of the command edit returns multiple options all containing the last file name. I observe this problem only on the Mac OS, it runs smoothly on my Linux (Pop-OS) machine.

What steps reproduce the problem?

  1. Create multiple folders with the same start (eg.: mkdir toto_1 toto_2 toto_3)
  2. On the console type: cd toto_ and press tab
  3. 3.

What is the expected output? What do you see instead?

toto_1
toto_2
toto_3

Versions

  • Spyder 4.1.2
  • Python 3.7.6 64-bit
  • Qt 5.9.6
  • PyQt5 5.9.2
  • Darwin 19.4.0 (Mac OS Catalina)

Screenshot 2020-04-22 at 18 07 12

IPython Console Bug

Most helpful comment

Note: Probably this needs to be fixed over QtConsole. Reproducible on Windows too

All 3 comments

Has anyone else experienced the same issue, is it related to the OS?

@silveira-lucas thanks for the report. I just checked and I see another space related issue (but might be related)

I have a bunch of screenshots on the Desktop and I get this:

image

So there is definitely an issue!

Note: Probably this needs to be fixed over QtConsole. Reproducible on Windows too

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ckaldemeyer picture ckaldemeyer  路  48Comments

sayboltm picture sayboltm  路  46Comments

jeffak picture jeffak  路  115Comments

spyder-bot picture spyder-bot  路  55Comments

CAM-Gerlach picture CAM-Gerlach  路  75Comments