2018b live editor text color

Is there a way to change the default syntax coloring in the live editor, independent from the 'normal' editor? I use color schemer in order to get my code text on a darker background for ease of use.
I'm somewhat dismayed that in 2018b, the coloring used in the normal editor is also being used in the Live Editor, resulting in syntax that uses a light coloring for contrast against a dark background is difficult to read on the white background of the Live Editor. The only way round this that I can see currently is change the colour for both, which I don't want to do, as this would be a compromise for both uses.

4 commentaires

Philip
Philip le 10 Déc 2018
Similiar issue I have, I'd like to change the live-editor background to be dark as well. How do you change live editor colors?
Al
Al le 19 Mar 2019
I have a simlialr issue. I need hight contrast mode to make code easier to read and eye strain. Any update on this thread MATLAB?
Workaround until MATLAB adds the ability is if you have access to MATLAB in browser you can switch to high contrast mode (Alt+Shift+Prints Scrn) in Windows (Tested for Windows 7 and 10 IE). For other browser like Firefox manual setting under Language and Appearance, change the colors to what you would like. Note: MATLAB support for High contrast is buggy (either in browser or IDE itself).
z8080
z8080 le 19 Déc 2019
Modifié(e) : z8080 le 19 Déc 2019
This is a vital feature for Mathworks to implement. Most programmers use dark-themed backgrounds and colour schemes. This works well in regular Matlab scripts, but when you use the Live Editor you all of a sudden have to contend with a strident white background, which is very unpleasant indeed and whose colour cannot be changed!
Sanjay Manohar
Sanjay Manohar le 15 Sep 2020
There must be a way to change the color scheme using the Java interface? Anyone figured it out? My eyes are burning up from the white.

Connectez-vous pour commenter.

Réponses (2)

Mazhar Mohammed
Mazhar Mohammed le 15 Sep 2020

2 votes

Hi
It's a known issue and the concerned teams are working on it.
It may come in future releases.
Jacky Tsai
Jacky Tsai le 14 Mar 2022

0 votes

As of R2022a, you can now configure live editor's background and foreground colors. See more info: https://www.mathworks.com/help/matlab/release-notes.html

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by