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

Run selection is missing from the Editor's context menu in Sypder 6.0 #22637

Closed
9 tasks done
apskohli opened this issue Oct 5, 2024 · 3 comments · Fixed by #22796
Closed
9 tasks done

Run selection is missing from the Editor's context menu in Sypder 6.0 #22637

apskohli opened this issue Oct 5, 2024 · 3 comments · Fixed by #22796

Comments

@apskohli
Copy link

apskohli commented Oct 5, 2024

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
  • [x ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Requesting mouse right click "run selection/selected lines"

What steps reproduce the problem?

  1. Right click in editor window
  2. No option to "run selected code/lines"

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

Option not available in Spyder IDE 6.0 and above

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

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

Dependencies

PASTE DEPENDENCIES HERE
@ccordoba12
Copy link
Member

Hey @apskohli, thanks for reporting. This is a regression with respect to the previous behavior in Spyder 5, so we'll fix it in a our 6.0.3 version, to be released in a few weeks.

@ccordoba12 ccordoba12 changed the title Mouse based run selection in Sypder IDE 6.0 Run selection is missing from the Editor's context menu in Sypder 6.0 Oct 6, 2024
@ccordoba12 ccordoba12 added this to the v6.0.3 milestone Oct 6, 2024
@dimili
Copy link

dimili commented Oct 8, 2024

Another issue which was introduced with version 6.0 is that Run Selection adds extra continuation lines (see attached screenshot) and automatically saves the working python file.
python_console

@ccordoba12
Copy link
Member

Thanks @dimili for pointing that out. It's tracked in another issue and we'll try to fix it in 6.0.3 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants