Open
Description
Managing sessions directly in FSAC would allow for more full featured treatments for features like the watcher, as well as serving as the foundation for notebook approaches.
There would be some book-keeping around identifying which evaluation session a particular interaction command would be associated with, so we'd want to spec out a small set of custom LSP endpoints specifically for dealing with this, but it would be possible to do something like:
- User sends line/selection/file to FSI session via custom LSP endpoint
- FSAC identifies the session by some kind of ID and performs the evaluation of the provided line/selection/file
- FSAC sends any output of the evaluation to VSCode for display
- FSAC extracts the session state after the evaluation using the
session.GetBoundValues()
API and returns that data to VSCode for display in a watcher (if open)
Originally posted by @baronfel in #1716 (comment)
Activity