How to edit code_editor.xml to enable dark theme? - mysql-workbench

I am trying to edit the code_editor.xml file (C:\Program Files\MySQL\MySQL Workbench 8.0 CE\data) to enable the dark theme (or dark colors for the fonts/ editor bg etc) in MySQL Workbench IDE.
I am getting following alert when I try to edit the file manually.
[---------------------------
Save failed
Please check whether if this file is opened in another program
OK
]1
1:
https://i.stack.imgur.com/csfre.png
screenshot=> File Edit Error
Please help me to edit the file.
Status of mysql Services

Just close all the services that are related to mysql and re-open de file as administrator.

Related

Autosave files in VS code

Is there any setting to 'auto save files before running in VS Code'?
Acually I always have to save files before running with the "Code Runner" extension of VS Code. Is there any solution for it?
In the File tab of the application you can find a button that says Auto Save, toggle it. See this for a visual guide.

ORACLE SQL Developer Dark Mode

Is there any official method to use ORACLE Dark Mode?
Tools > Preferences > Code Editor > PL/SQL Syntax Colors.
Here you can choose Twilight scheme.
No, there is no official method. There is a way to change it manually through, through editing a jar file. Here is the full video if it helps you out. By default you can only change the Syntax colors + background of the editor.
Try to do this
OS: Debian Linux
Desktop: Gnome 40
JDK: Open JDK 11
edit ~/.sqldeveloper/{version}/product.conf
add (the system theme will be used):
SetJavaHome /{path to open11jdk}
AddVMOption -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
If you would like to use a different theme that is not set for the system:
edit ~/.sqldeveloper/{version}/product.conf
add (after the above changes):
GTK_THEME={theme name}
export GTK_THEME
Windows 10:
edit: {user}/AppData/Roaming/sqldeveloper/{version}/product.conf
add:
AddVMOption -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Sqldeveloper will use the current default Windows 10 theme

vscode settings.json - run background terminal application on startup

Is it possible to run a terminal application in the background when starting vscode?
I have a file synchroniser service I need to run alongside vscode in the same folder.
I am thinking some settings.json, but unable to finde anything.

Using CFLint in VS Code - can't seem to enable it?

I have a java 8 installed, and .jar file is where it's supposed to be, yet in my vscode settings file the lines to enable cflint appear to be dimmed out?
The hover error is "Unknown Configuration Setting". Any tips on getting CFLint enabled?

How to access Visual Studio Code extension settings

Got myself Visual Studio Code. I've installed a Uncrustify extension to make my files be formatted when I edit them. I wanted to make it format my files on save, but I cannot open like Options menu for this extension or something like that. The author gives this screenshot:
But I cannot reach that menu. When I click on this little gear circle near the extension under the Extensions tab, it just pops up a menu with: Disable (Workspace), Disable (Always), Uninstall. I can only edit 4 things, like my .cfg file path under Ctrl+Comma settings, but that's not what I am searching for, and it's not what is on this screen provided by author
I guess I am not only asking about this particular extension, but generally for extension settings in this editor.
Many ways mentioned here in an issue created available on VSCode repository: Allow to change settings from Extensions editor.
On Windows, I could be able to change settings by going to:
File -> Preferences -> Settings -> Extensions.
Dont know if you figured it out yet or not but maybe for someone who comes here to find an answer.
Step 1: Press ctrl+alt+p to open the command pallet.
Step 2: Search and execute this command Uncrustify: Open config file
If your config file has not been created, then before step 2 you must execute Uncrustify: Create default config file command.
Anyways, these instructions are present their in Details section of the extension.