Skip to content

Conversation

@smarter
Copy link
Member

@smarter smarter commented Oct 10, 2018

No description provided.

This replaces the use of strings for identifying messages by
types (WorksheetExecRequest and WorksheetPublishOutputNotification).

Also contains some light cleanup/uniformization
@smarter smarter requested a review from Duhemm October 10, 2018 13:49
Copy link
Contributor

@Duhemm Duhemm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's indeed a lot cleaner 👍

- Only enable worksheet features on the client if the server supports
them using the LSP support for dynamic feature registration.
- Replace the global functions and state in worksheet.ts by a
WorksheetProvider class, move some of the global functions specific to
one worksheet into Worksheet
We used interchangeably the term "run", "evaluate" and "exec" for
talking about running a worksheet. This commit does a lot of renaming
to standardize on using "run" everywhere.
@smarter smarter changed the title [WIP] Worksheet improvements Worksheet improvements Oct 10, 2018
@smarter
Copy link
Member Author

smarter commented Oct 10, 2018

Going to merge this as-is and open another PR for further improvements.

@smarter smarter merged commit d9e7574 into scala:master Oct 10, 2018
@allanrenucci allanrenucci deleted the worksheet-stuff branch October 10, 2018 15:02
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

Successfully merging this pull request may close these issues.

2 participants