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

Focus cannot be changed to the actual current ipynb file using "Current File" #175

Open
christopher-czaban opened this issue Jul 13, 2024 · 1 comment

Comments

@christopher-czaban
Copy link

christopher-czaban commented Jul 13, 2024

Issue Description

Summary

The "Focus" feature does not function correctly when trying to switch the focus to a different file. Once a file is initially selected, the feature fails to change the focus to any new file, always reverting to the first focused file. This issue seems to be specifically related to .ipynb files.

Steps to Reproduce

  1. Open Codiumate in VS Code.
  2. Use the "Focus" feature to select a .ipynb file as the current focus.
  3. Attempt to change the focus to another opened file by using the "Current File" option.
  4. Observe that the focus remains on the initially selected .ipynb file and does not change to the new file.
  5. If the initial focus is on a .py file, you can switch focus to another .py file but not to a .ipynb file.

Expected Behavior

When a new file is selected using the "Current File" option, the focus should change to the newly selected file, allowing the coding assistant to provide insights and assistance based on the current file.

Actual Behavior

The focus remains on the initially selected file, and the coding assistant continues to treat the first focused file as the current context, regardless of attempts to switch the focus to another file. When initially focusing on a .ipynb file, it is possible to switch focus to a .py file and from there to other .py files, but not to another .ipynb file again.

Environment

  • Codiumate Version: 0.9.4
  • VS Code Version: 1.91.0
  • Operating System: Mac OS 14.5
@oranshiner
Copy link

Thank you for reporting this issue, we would ry to reproduce and fix it

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

No branches or pull requests

2 participants