microsoft / microsoft/PTVS

Ctrl + M + O Shortcut Not Working as Expected in Python

Open
#7,897 8 comments 0 reactions 1 assignee View on GitHub

@bschnurr is already working on this.

Since May 8, 2024.

enhancement P3
Dominant language
C#
Stars
2.6k
Forks
680
Avg merge
39m
Merged PRs (30d)
1

Description

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work] [regression]
Pressing Ctrl + M + O in the Python editor, instead of collapsing functions and methods, expands everything, including methods that were manually collapsed. In other words, the key combination functions, but incorrectly. It may not recognize what def means.

Additional Information:

  • Pressing Ctrl + M + O in the C# editor works perfectly - it collapses all functions and methods.
  • Pressing Ctrl + M + L works perfectly in both C# and Python.
  • Edit.CollapsetoDefinitions: Ctrl + M, Ctrl + O (Global)

Original Comments
Feedback Bot on 5/2/2024, 06:23 PM:

(private comment, text removed)

Vitaliy on 5/7/2024, 06:55 AM:

(private comment, text removed)


Original Solutions

(no solutions)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.