Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create monaco and vscode editor bridge #56

Merged
merged 4 commits into from
Aug 11, 2022

Conversation

ameerthehacker
Copy link

@ameerthehacker ameerthehacker commented Jul 27, 2022

Monaco editor is built from vscode source, If we use firepad-x in vscode, we cannot add monaco-editor as a dependency as it will increase the bundle size and we are just adding duplicate code which already exists in vscode

So we have created a adapter which provides native monaco editor utils when used without vscode and when used with vscode the vscode consumer provide vscode specific editor utils

For a normal consumer of firepad this should make no difference as NativeMonacoEditorUtils is used by default

bhushanlaware
bhushanlaware previously approved these changes Jul 27, 2022
@ameerthehacker ameerthehacker merged commit 4ba1656 into main Aug 11, 2022
@ameerthehacker ameerthehacker deleted the feat/monaco-vscode-bridge branch August 11, 2022 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants