Skip to content

Improve UX for automatic docstring generation #10622

@juanis2112

Description

@juanis2112

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

  1. In the editor advanced settings, the shortcut Cmd+Alt+D established for adding docstring is reserved in Mac so it is necessary to change it.
  2. When adding a docstring and trying to delete it pressing Cmd+z, the text is not deleted completely.
  3. It is necessary to add an icon to show when the program is loading the docstring. Spyder just seem to be frozen while the docstring appears.

What steps reproduce the problem?

  1. Open advanced settings in editor
  2. Select dosctring
  3. Press cmd+alt+D

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

It should generate the automatic docstring but it doesn't have any effect on Spyder.

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

  • Spyder version:
  • Python version:
  • Qt version:
  • PyQt version:
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions