Code Monkey home page Code Monkey logo

Comments (2)

simonvizzini avatar simonvizzini commented on May 25, 2024 1

Thanks, that's what I thought.

The first iteration of course wouldn't support direct publishing of theme extensions to the market place. What I had in mind was simply a theme.json as output, which then could be published manually.

First iteration would be really simple, just a bunch of color pickers to pick the basic colors, plus the option to fine tune the other rules, just like you do it in the demo folder with the sapphire theme. Would've been easy enough to implement, except for the preview part... also I'm not exactly sure how running oniguruma on a server would help here. In the end the preview would be just a bunch of HTML and CSS.

Anyway, implementing something server side would go beyond the scope of my available time. But I'll keep an eye on Monaco, maybe it will support TM grammars in a couple of years 😄

from vscode-theme-generator.

Tyriar avatar Tyriar commented on May 25, 2024

Interesting idea!

Yeah as far as I know you can't do this as the textmate engine relies on the native oniguruma regex library. You could do it if you had a server that could run the native lib of course but that's a little more tricky.

Another issue with a web-based interface is you need more files than just the json to actually publish the extension. So you'd want to define exactly what your web interface is trying to accomplish before you get started, that would determine how hard it is going to be to implement 😄

from vscode-theme-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.