monaco-textmate icon indicating copy to clipboard operation
monaco-textmate copied to clipboard

Thank you for this package Neek!

Open miketromba opened this issue 4 years ago • 2 comments

Thank you for this package Neek, it is the only Monaco + Textmate solution I was able to properly get up and running.

I'm using it to build the VS Code Theme Editor (post about it here), and this is extremely helpful!

One thing I wanted to let you know is that the current package does not work with the latest version of monaco-editor. I had to revert monaco-editor to version 0.19.x in order to get it properly working. The Monaco API has changed a little since you first released this.

Additionally, after using your monaco-vscode-textmate-theme-converter plugin, the syntax appeared like this:

image

In order to get it looking like the actual theme, I had to add two rules to the generated Monaco theme file which define the editor's background color, and the default text color:

image

After making these tweaks, here is the final result of how the syntax looks:

image

I might suggest adding info to the readmes about these two issues.

Thanks again Neek!

miketromba avatar Jan 05 '21 15:01 miketromba

You're welcome mate! You just made my day. I'm really busy with other things at the moment, would you be willing to send in a PR that updates it to the newer API? (it's ok if you don't have time either)

@CompuIves is codesandbox still based on monaco-textmate? If so how are you guys dealing with this problem of version incompatibility?

zikaari avatar Jan 06 '21 04:01 zikaari

PR Submitted: https://github.com/NeekSandhu/monaco-editor-textmate/pull/16 *The change might be breaking for dependents using monaco-editor <0.21

miketromba avatar Jan 06 '21 16:01 miketromba