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

Jupyter Notebook Code Completion Shows Output Content in Suggestions #101

Open
bala-srm opened this issue Nov 17, 2024 · 0 comments
Open

Comments

@bala-srm
Copy link

Description:
When using code completion in Jupyter notebooks in Windsurf, the suggestions include both code completions and the actual output content from previously executed cells. This creates noise in the completion suggestions and makes it harder to focus on actual code completions.

Steps to Reproduce:

  1. Open a Jupyter notebook in Windsurf
  2. Execute a cell that produces output (e.g., df.head())
  3. In a new cell, start typing code
  4. The completion suggestions include both:
    • Regular code completions
    • "OUTPUT" tags
    • Actual output content from previous cell executions

Expected Behavior:
Code completion should only show relevant code suggestions without including cell outputs or "OUTPUT" tags.

Actual Behavior:
Completions include both code suggestions and cell output content, making it difficult to find relevant code completions.

Environment:

  • Windsurf Version: 1.94.0
  • Python Version: 3.10.10
  • OS: macOS

Additional Notes:

  • The issue persists even after:
    • Disabling various Jupyter completion settings
    • Configuring IPython and Jupyter settings
    • Modifying notebook-specific settings
  • This appears to be an issue with how the completion system handles Jupyter notebook cell outputs
  • this issue is noticed both in Windsurf as well as browser based jupyter notebooks with codeium plugin or browser extension

Screenshot:
image

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

1 participant