microsoft / microsoft/PTVS

Extract method only works on one line and rename doesn't work at all

Open
#6,876 6 comments 0 reactions 1 assignee View on GitHub

@AdamYoblick is already working on this.

Since Feb 1, 2022.

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

Description

Environment
image

Steps to Reproduce

  1. Create a Python Application project
  2. Input some code
  3. Move the cursor to a one line
  4. The Quick Action icon appears in front of this line.
    image

Actual result
When select server line, the icon does not appear
image

And the extract method can not rename. I rename "new_func", does not work
image

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.