Skip to content

Notebooks: insert import quick-fix should insert the import in the current cell, not the top cell #2152

@yangdanny97

Description

@yangdanny97

Describe the Bug

  1. verify that this is indeed what Pylance and other language servers do
  2. implement the change by remapping quick-fix positions based on notebook cell offsets

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

Labels

help wantedLarger than "good first issue", but still well-defined and ready for someone to pick uplanguage-serverIssues specific to our IDE integration rather than type checkingnotebookstale

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions