Skip to content

Multi Language Support in Interactive Window (Julia, Rust, CSharp, etc) #273

@DonJayamanne

Description

@DonJayamanne

Workflow

  • User has Julia kernel installed
  • User installs our extension
  • User opens Julia file & creates a cell marker using # %%
  • Code lenses appear allowing user to run cell
  • User runs cell (code) & interactive window appears
  • Jupyter, Python, Python extension not required

Technical details

  • Determine available kernels
  • Based on available kernels, add support for cells code lenses in text editors
  • Super easy to add support for julia, rust, csharp, fsharp, etc..
    (super easy changes to implement this feature)

Support Features

  • Cell commands (run, run above, run below, add, insert, move, etc)
  • Interactive window commands work
  • Restart, interrupt, etc
  • Basic Intellisense in prompt (comes from kernel - hence supported if kernel supports this)

Possible MVP

  • No support for debugging
  • No need of exposing APIs from extension
    • When other languages need features we can expose this API (debugging, variables, etc)
  • Allow users to disable interactive window code lenses in other languages (if they dont need this)
  • Via an experiment

Screenshots of prototype with it working in Julia, Rust, CSharp, fsharp

Screen Shot 2020-10-20 at 18 32 38

Screen Shot 2020-10-20 at 18 41 22

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinteractive-windowImpacts interactive windowlanguage-anyArea covering general issues geared to supporting any language (not just Python)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions