Skip to content

Update vscode to latest main version.#82

Merged
juancampa merged 80 commits into
mainfrom
jhonny/sync-vscode
Dec 31, 2025
Merged

Update vscode to latest main version.#82
juancampa merged 80 commits into
mainfrom
jhonny/sync-vscode

Conversation

@aranajhonny
Copy link
Copy Markdown

@aranajhonny aranajhonny commented Nov 25, 2025

NOTE

This was accidentally merged to main but the actual commits live in the membrane branch

aranajhonny and others added 30 commits November 20, 2025 16:56
In FileSystemWatcher, if a "created" event fired for

  `tmpfs:///project/`

It would fire the event for files sharing the same prefix but different scheme. In our case:

  `memfs:///project/package.json`

This caused an assertion in typescript-language-features breaking intellisense.

I also added a new test but it doesn't test this particular fix.
* Update the web build to have a vscode-web and vscode-web-min step

* Don't run git config commands in submodule

* Fix plugin path to work as submodule of mnode

* Add some extra context around postinstall changes

* Fix platform path
 - Don't throw when key is not a JSON
 - Don't throw when key is not found, return undefined instead.
 - Simplify a bit
* Disable terminal functionality

I removed most of the terminal-related contributions (terminal.contribution.ts), which includes: commands, the terminal tab, menu items, keybindings, and so on.

Many terminal-related services are used by other services (e.g. the task service depends on the terminal service), so removing TerminalService would cause a cascade of "missing singleton" errors.

Thankfully vscode uses DI everywhere,  so I replaced the TerminalService with our own empty shell of a service. Same for a few related services. The empty shells are there to satisfy the dependency injection system.

Note that there's still quite a bit of terminal-related code left that I think will end up in our build. We might be able to use a webpack plugin to for example, replace xterm.js with a dummy module.

* Undo extension webpack change
…13)

* Add getAuthToken

* fix log error and remove token cache
* Remove unused features

* Comment out unused code
* add membrane user settings

* fix commandService usage

* add save/update membrane gaze data

* add try catch

* new settings req and fix update command

* move get/update data to runInTransaction

* fix membrane module

* change the proxy to use async code

* fix the indexeddb proxy reqs

* use getAllKeys to restore settings
* Fix import cycle causing the build to fail

* Add membrane.ts
* Exclude unused extensions from build

* Formatting
iamseeley and others added 28 commits November 21, 2025 09:36
- Add membrane.reportModalState command handler
- Remove double-click listener for creating new untitled files
- Remove related imports (DEFAULT_EDITOR_ASSOCIATION, EditorServiceImpl)
- Clean up unused editor service dependencies
- Show only User settings tab
- Remove workspace and folder settings from preferences UI
- Remove command palette from editor context menu
- Disable ShowAllCommandsAction registration
- Clean up related imports and menu registrations
- Remove 'memento/webviewView.membrane.main' from membrane keys
* hide lock group and editor actions positioning settings from menus

* show editor actions in tab bar

* add membrane dialog and notification handlers to intercept dialogs and notifications to display them with our own UI in gaze
* Replace addEventListener with MessageChannel.

* Use handoff to pass port.

* Use messageChannel for handle dialogs.
* Replace addEventListener with MessageChannel.

* Use handoff to pass port.

* Use messageChannel for handle dialogs.

* Simplify message passing between gaze, extension and membrane dialog manager

---------

Co-authored-by: aranajhonny <jhonnyjosearana@gmail.com>
Signed-off-by: Jhonny Arana <jhonnyjosearana@gmail.com>
Signed-off-by: Jhonny Arana <jhonnyjosearana@gmail.com>
@juancampa juancampa marked this pull request as ready for review December 31, 2025 00:38
@juancampa juancampa merged commit a6e6250 into main Dec 31, 2025
1 of 13 checks passed
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.

4 participants