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

Add the yaml worker for `yaml` syntax highlighting,

Open clementwanjau opened this issue 2 years ago • 8 comments
trafficstars

Added a yaml worker to handle yaml syntax and color highlighting.

clementwanjau avatar Nov 07 '23 01:11 clementwanjau

I am wondering if it would make sense to have additional workers enabled by features?

ctron avatar Nov 07 '23 06:11 ctron

That's a great idea. So you can only enable those that you need.

clementwanjau avatar Nov 07 '23 12:11 clementwanjau

@clementwanjau can you please add pgsql worker too? I tried to do the same but it didn't work for me. -,-

dancixx avatar Feb 01 '24 23:02 dancixx

@clementwanjau can you please add pgsql worker too? I tried to do the same but it didn't work for me. -,-

@dancixx sure, I can try and do that

clementwanjau avatar Feb 02 '24 07:02 clementwanjau

@clementwanjau my process was to generate one file bundle using bun bundler and add it the same way as you did. I have bundled this package: monaco-sql-languages, but the worker was not loaded for some reason. If you can do this, please share the steps; I would likely do the same with the other SQL languages. Thanks for your effort.

dancixx avatar Feb 02 '24 10:02 dancixx

@clementwanjau could you do something with this?

dancixx avatar Feb 15 '24 17:02 dancixx

@dancixx Did you succeed in implementing your pgsql worker?

clementwanjau avatar Jul 04 '24 05:07 clementwanjau

@clementwanjau No I couldn't do that, I tried it several times but it's still not working.

dancixx avatar Jul 04 '24 17:07 dancixx