You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried the other applicable steps from the Troubleshooting Guide
Completed the Problem Description, Steps to Reproduce and Version sections below
Code Completion Issues
Spyder 5.4.1 is supposed to have improvements for code completion and help offered for scientific modules. There seems to be some issues brought about by this change. Code completions do not display after inputting a module name or alias followed by a . like they used to.
What steps reproduce the problem?
type in import datetime as dt
input dt.
What is the expected output? What do you see instead?
The code completion should display as Spyder 5.4.0
The code completion for a standard module such as datetime is more or less instant. However there is generally a bit of a lag for a scientific library such as numpy, pandas, matplotlib and seaborn.
In Spyder 5.4.1 nothing displays:
The code completion now seems to prefer at least one character past the . in order to show suggestions.
Perhaps this is related to this letter setting which cannot be changed to 0:
If the following is input:
import datetime as dt
dt.a
There is no datetime identifier beginning with a. Instead it appears that some builtins identifiers display:
This differs from the identifiers displayed in the console:
Similar behaviour is observed for a scientific library in that at least one character is required for code completion results to display:
Paste Traceback/Error Below (if applicable)
PASTE TRACEBACK HERE
Versions
Spyder version: 5.4.1
Python version: Python 3.10.8 64-bit
Qt version: Qt 5.15.6
PyQt version: PyQt5 5.15.7
Operating System name/version: Linux 6.0.15-300.fc37.x86_64 (Fedora 37)
The same behaviour is observed on a Windows 11 PC using the standalone Spyder 5.4.1 installer.
The text was updated successfully, but these errors were encountered:
ccordoba12
changed the title
Spyder 5.4.1 Code Completion Issues
Spyder 5.4.1 does not show completions after a dot is written next to a module
Dec 31, 2022
Hey @PhilipYip1988, thanks for reporting. I also noticed this regression after we released 5.4.1. We'll fix it in our next version (5.4.2), to be released in February.
ccordoba12
changed the title
Spyder 5.4.1 does not show completions after a dot is written next to a module
Spyder 5.4.1 does not show completions when only a dot is written next to a module
Dec 31, 2022
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Code Completion Issues
Spyder 5.4.1 is supposed to have improvements for code completion and help offered for scientific modules. There seems to be some issues brought about by this change. Code completions do not display after inputting a module name or alias followed by a
.
like they used to.What steps reproduce the problem?
import datetime as dt
dt.
What is the expected output? What do you see instead?
The code completion should display as Spyder 5.4.0
The code completion for a standard module such as datetime is more or less instant. However there is generally a bit of a lag for a scientific library such as numpy, pandas, matplotlib and seaborn.
In Spyder 5.4.1 nothing displays:
The code completion now seems to prefer at least one character past the
.
in order to show suggestions.Perhaps this is related to this letter setting which cannot be changed to 0:
If the following is input:
There is no datetime identifier beginning with
a
. Instead it appears that some builtins identifiers display:This differs from the identifiers displayed in the console:
Similar behaviour is observed for a scientific library in that at least one character is required for code completion results to display:
Paste Traceback/Error Below (if applicable)
Versions
Dependencies
The same behaviour is observed on a Windows 11 PC using the standalone Spyder 5.4.1 installer.
The text was updated successfully, but these errors were encountered: