Repository navigation
prepration for running extension in nodeless environment - #4981
Conversation
J-Fields
left a comment
There was a problem hiding this comment.
LGTM, other than a few questions I posted. The prospect of running VSCodeVim in a separate thread is very exciting - the performance implications of the extension host being single-threaded seem to be the biggest issue users have.
Could you rebase onto master then run gulp forceprettier when you have a chance? Thanks @rebornix!
|
@J-Fields addressed your feedback, thanks for them! Based on our code structure, to allow us ship bundles for different platforms (node/web), we need to do multiple different refactorings (not all included in this PR)
|
Travis tests have failedHey @rebornix, Node.js: 12if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; figulp buildgulp prepare-testnpm testTravisBuddy Request Identifier: fe1ffe70-ba49-11ea-bd85-f15c2d376ac7 |
Travis tests have failedHey @rebornix, Node.js: 12if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; finpm testTravisBuddy Request Identifier: 4cca47a0-ba4b-11ea-bd85-f15c2d376ac7 |
|
@J-Fields thanks for merging it with master ;) |
What this PR does / why we need it:
VS Code is adding support for running extensions in nodeless environment. This PR tries to refactor the code a bit to allow later on replacing node APIs (
fs,child_process) with shims.This PR should not change any functionality for running Vim in desktop.
Which issue(s) this PR fixes
Once we can run Vim in web worker, we can also think about running Vim in its own worker, which at the end will help with the performance issue: Overriding the default 'type' command and then calling the default 'type' command results in significantly slower execution time
Special notes for your reviewer: