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

Code completions/suggestions do not have a background box (poor visibility) #318

Closed
mmagnuski opened this issue Oct 1, 2020 · 2 comments · Fixed by #329
Closed

Code completions/suggestions do not have a background box (poor visibility) #318

mmagnuski opened this issue Oct 1, 2020 · 2 comments · Fixed by #329
Labels
status:Reproduced Bugs that are reproduced by a developer type:Bug
Milestone

Comments

@mmagnuski
Copy link

Problem descriptions

The code completions do not have any background and thus are often difficult to read:
image

What steps will reproduce the problem?

To reproduce the situation presented in the screenshot:

  1. open a jupyter notebook

  2. import numpy as np

  3. create a cell and leave it blank, create and go to the third cell

  4. generate some text, for example:

    from string import ascii_letters
    
    for idx in range(10):
        print(''.join(ascii_letters))
  5. go back to the second cell, type np.r and press tab

Versions and main components

  • Spyder Version: 4.1.5
  • Python Version: 3.7.3
  • Qt Version: 5.9.7
  • PyQt Version: 5.9.2 (pyqt5-sip=12.8.0)
  • Operating system: Windows

jupyter:

# Name                    Version                   Build  Channel
jupyter                   1.0.0                    py37_7
jupyter_client            6.1.6                      py_0
jupyter_console           6.2.0                      py_0
jupyter_core              4.6.3                    py37_0
jupyterlab                2.2.6                      py_0
jupyterlab_pygments       0.1.1                      py_0
jupyterlab_server         1.2.0                      py_0
notebook                  6.1.1                    py37_0
spyder-notebook           0.3.0                      py_0    spyder-ide

Dependencies

# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.6.0 (OK)
diff_match_patch >=20181111    :  20200713 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.13.0 (OK)
jedi =0.17.1                   :  0.17.1 (OK)
nbconvert >=4.0                :  6.0.6 (OK)
numpydoc >=0.6.0               :  0.9.1 (OK)
paramiko >=2.4.0               :  2.7.2 (OK)
parso =0.7.0                   :  0.7.0 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.6.3 (OK)
pygments >=2.0                 :  2.7.1 (OK)
pylint >=1.0                   :  2.6.0 (OK)
pyls >=0.34.0;<1.0.0           :  0.35.1 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  0.7.2 (OK)
qtconsole >=4.6.0              :  4.7.7 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
rtree >=0.8.3                  :  0.9.4 (OK)
sphinx >=0.6.6                 :  3.2.1 (OK)
spyder_kernels >=1.9.4;<1.10.0 :  1.9.4 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  19.0.2 (OK)

# Optional:
cython >=0.21                  :  0.29.12 (OK)
matplotlib >=2.0.0             :  3.1.0 (OK)
numpy >=1.7                    :  1.18.1 (OK)
pandas >=0.13.1                :  0.25.3 (OK)
scipy >=0.17.0                 :  1.4.1 (OK)
sympy >=0.7.3                  :  None (OK)

# Spyder plugins:
spyder_notebook                :  0.3.0 (OK)
@mmagnuski
Copy link
Author

also: the selected suggestion is not highlighted in any way so it is difficult to track which one will be selected after pressing down/up multiple times.

@jitseniesen
Copy link
Member

Yes, I can reproduce this, also in dark mode. It looks like some of the styling for code completions is not set, which should be straightforward to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:Reproduced Bugs that are reproduced by a developer type:Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants