Giter VIP home page Giter VIP logo

vsthemeconverter's Introduction

VSThemeConverter

language language-top code-size release build license discord

Convert Visual Studio Code theme to 4D theme.

v19 https://blog.4d.com/code-editor-multiple-themes-your-choice/

How to

Open the database on macOS and select the themes you want to convert

Screenshot

Then the converted themes will be put in the default 4d theme folder automatically. Just go to 4D setting to select the wanted one.

Customize behaviours

Fix missing keys

Not all are converted correctly so you could edit convert code

The mapping of vs code keys and 4d keys are defined in file mapping.json

Force a font

By default it take the font used by your current theme

You could edit default font name by editing DefaultTheme method to defined your fontName and fontSize

$themeObject.fontSize:=18
$themeObject.fontName:="Fira Code"

Limitations

  • color with alpha (RGBA) : alpha component is removed
  • some vs code theme have comments inside JSON, not all are removed #1

Other components

mesopelagique

vsthemeconverter's People

Contributors

adriencagniant avatar e-marchand avatar mesopelagique avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

macmikey

vsthemeconverter's Issues

Error on open

I just tried this in v19 (I assume it's supposed to be run in v19 not 18)
Screen Shot 2021-05-25 at 09 31 37
Screen Shot 2021-05-25 at 09 37 15

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.