Skip to content

REPL Rewrite, Improvements, Features #21707

Open
@anthonykim1

Description

@anthonykim1

Below lists plans for REPL in VS Code Python as of (Dec 9th, 2024).
More subset of steps are subject to being added as I move forward incrementally.

Milestone 1:

  • Investigate the state of REPL support in the extension Investigate the state of REPL support in the extension #21590
  • Become familiar with REPL code
  • Implement Run Selection/Line in xxx be more smart Run Selection/Line in xxx be more smart? #18105 (Has to be merged after removing support for 3.7) and Implement smart shift+enter using AST #21778
  • Implement Go to next line only when non-selection/non-highlighted case Dynamic Smart Cursor Movement #21838 (Has to be merged after removing support for 3.7 along with the previous item)
  • Create, fix tests that were testing selection previously.
  • Set up an experiment for smart shift+enter and Go to next block line (dynamic cursor movement) in code base.
  • Deprecate 3.7 and merge the smart send (smart shift+enter, go to next block line) after.
  • Create tests for both TypeScript and Python side for smart selection, dynamic cursor movement
  • Enable experiments for all tests in the repo, specifically beneficial for smoke test involving new features.
  • Warning message, and setting to show when user is trying to smart send with invalid code in the currently opened Python file.

Milestone 2:

Milestone 3:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions