Code::Blocks Customize Dark Theme, Font Change, and Cursor Color, Enable Guides
Title: Customize Code::Blocks with Dark Theme, Font Change, and Cursor Color, Enable Guides
Introduction: Make your coding experience more enjoyable and visually appealing by customizing Code::Blocks, a popular integrated development environment (IDE). In this guide, we'll walk you through the steps to switch to a dark theme, change the font, and adjust the cursor color in Code::Blocks. Let's dive in!
Changing to Dark Theme:
To give Code::Blocks a sleek and modern look, follow these simple steps:
1. Close the Code::Blocks program to begin the customization process.
2. Download the "colour_themes.conf" file from [link] (https://github.com/aashikur/darkthemefont) and save it to your computer.
3. Locate the Code::Blocks configuration folder by navigating to "C:\Users\USER\AppData\Roaming\CodeBlocks" (replace USER with your username).
4. Copy the downloaded "colour_themes.conf" file into the CodeBlocks folder. Note: There might already be a "default.conf" file present; you can keep it as a backup.
5. Now, go to the installation directory of Code::Blocks, typically found at "C:\Program Files\CodeBlocks". Then, locate and right-click on the "cb_share_config.exe" file, then select "Run as administrator" to open the configuration dialog.
7. In the configuration dialog, you'll see two columns. Choose "colour_themes.conf" in the first column and "default.conf" in the second column.
8. Tick all the checkboxes to ensure a complete transfer of settings, and then click on "Transfer and Save". Finally, close the dialog box.
9. To complete the process, delete the "colour_themes.conf" file from the CodeBlocks folder. Congratulations! You have successfully enabled the CodeDark theme in Code::Blocks.
Changing Syntax Highlighting Colors:
Now that you have the dark theme set up, let's personalize the syntax highlighting colors to your liking:
1. Reopen Code::Blocks and navigate to the "Settings" menu.
2. Select "Editor" and then choose "Syntax Highlighting".
3. Explore the options and select your favorite colors for different code elements like keywords, strings, comments, and more.
4. Once you're satisfied with your selections, click "Apply" or "OK" to save the changes.
Changing Font:
To enhance readability and add your personal touch, you can change the font in Code::Blocks:
1. Download your preferred font, such as JetBrains Mono, from [link](https://github.com/aashikur/darkthemefont). Ensure that the font is compatible with Windows.
2. Install the downloaded font on your computer by double-clicking the font file and clicking on "Install".
3. Launch Code::Blocks and go to the "Settings" menu.
4. Select "Editor" and then choose "General Settings".
5. In the top section of the settings window, click on the "Choose" button next to "Font".
6. From the font selection dialog, locate and select your installed font (e.g., JetBrains Mono).
7. Click "Done" to apply the new font to the Code::Blocks editor.
Customizing Cursor Color:
To improve visibility and usability in the dark theme, consider adjusting the cursor color:
1. In Code::Blocks, navigate to "Settings" and choose "Editor".
2. Select "Margins & Caret" from the options.
3. Locate the "Caret" section and choose a white color for the cursor.
4. This ensures that the cursor remains visible against the dark background.
Conclusion: (ShortCut)
1. Dark Theme: Transfer file form color_theme.conf to default.conf on cb_share_config.exe
2. Font: Go to "Editor" and "General Settings" then consoles font
3. Cursor Color: Go to "Editor" and "Margins and caret" then caret > Colour
4. Guides line: Go to "General Settings" Thik "Indentation guides"
5. Multiple Selection: Go to "General Settings" then both Thik "Allow Multiple Selection"

Comments
Post a Comment