How to change or add dark theme to CodeBlocks? - themes

I have just installed Codeblocks in my Windows.
When I launch the application the background of the screen where we write the code is white.
I would prefer black or any other color.
I am not sure whether we can change the color/theme OR add more themes.

Follow this tutorial. It will only change the code editor area though, not the menus and toolbars.

First, you need to download some syntax color schemes, so I recommend you to download this file: colour_themes.conf. Then you will have to install it. Follow these steps:
Close the program Code::Blocks.
Run the program cb_sharing_config.exe (for Windows users, so it's your case). For Linux or Mac users, run the command cb_share_config from the tereminal.
This program has 2 columns. In the left column, you have to load the downloaded file: colour_themes.conf. In the right column, you have to indicatae the file default.conf (it will find the path automatically).
Select the themes you want to import to Code::Blocks. Then, click Transfer to transfer them to the file default.conf. Finally click Save. You probably want to select them all to use them later.
Now, the color schemes are installed, so it's time to select a new one:
Open the program Code::Blocks.
Go to the menu: Settings > Editor and select the tab Syntax highlighting.
You will see a select box with the label colour theme; select one.

Related

PhpStorm - Change theme for remote server view

In PhpStorm is there a way to theme remote connection files differently to local project files?
When open they are very similar looking to each other and sometimes it's easy to work on 1 view when I am meant to be working on the other!
Unfortunately you cannot change editor background or stuff like that to make it more visible in actual editor area.
But ... from what I see IDE already uses different background colour for the editor tab (the tab itself). It's not that visible there on your screenshot because you are using Darcula GUI theme where you do not see much contrast in colours used.
You can change that at Settings/Preferences | Appearance & Behavior | File Colors: choose more suitable for you colour for "Non-Project Files" scope (e.g. use bright red or blue -- whatever suits your theme and your preferences). Also double check that Use in Editor Tabs option is checked (should be already).
Please note that this will apply to any non-project files (i.e. even excluded or outside of the project root).
Another thing: in recent IDE versions (2018.2 is the latest stable ATM) the file edited remotely will have additional bar at the top of the editor with Compare / Revert | Upload and possibly other actions .. so it should be even more noticeable that you're editing remote file.

Increasing fonts in Netbeans 8.2

I have a problem with increasing fonts in Netbeans 8.2. I tried to use screenshot form editor .but Im not able to find Fonts & Colors option in tools or menu.
I also tried to press down Alt+z and scroll up or down (mouse wheel) and also use command + but nothing happens.
With third one --fontsize (I have no idea where I should put it...). Could you help me with making fonts a bit bigger?:)
I just solved problem:) On Mac settings are in a different place:preferences in Netbeans
fonts a color changing. Netbeans
You have to go to the left up corner, near to the apple mark, there you have NetBeans preferences. After clicking on Netbeans preferences just search for 'font' and here is font size changing option.:)
edit: And if you didnt start a project, you need to create a new project on Netbeans then Fonts&Colors section will be available in options menu.
I think you are a mac user.
You need to look at this for config file location.
http://wiki.netbeans.org/FaqNetbeansConf
And I also found this. Try this one too.
1.Use Command + , to open the options
2.Select Fonts & Colors tab
3.Click the button in the Font section (button is next to the Font textbox)
4.Change the Font, style and size as needed
In Mac
simply click on the netbeans (upper left corner)
then-> preferences...
a new window will be open and select the font&color Tab
then on right side there will be a font option then click on the "..." option
and then change according to your wish

How to change background color in the Notepad++ text editor?

Does anyone know how to change the background color, font size, and other appearance-based settings in Notepad++? The default is white but I am trying to change it into a dark gray or something else.
Go to Settings -> Style Configurator
Select Theme: Choose whichever you like best (the top two are easiest to read by most people's preference)
You may need admin access to do it on your system.
Create a folder 'themes' in the Notepad++ installation folder i.e. C:\Program Files (x86)\Notepad++
Search or visit pages like http://timtrott.co.uk/notepad-colour-schemes/ to download the favourite theme. It will be an XML file.
Note: I prefer Neon any day.
Download the themes from the site and drag them to the themes folder.
Note: I was unable to copy-paste or create new files in 'themes' folder so I used drag and that worked.
Follow the steps provided by #triforceofcourage to select the new theme in Notepad++ preferences.
From version v8 released 2021-06-07 Notepad++ has additional Dark Mode option.
To enable it go to Settings -> Preferences -> Enable dark mode
Effect:
Next step:
Go to Settings -> Style Configurator
Select Theme: Choose whichever you like best (over half of styles here are dark, but each is different).
Hint: click on theme list and use keyboard arrows 🔼 and 🔽 to switch between themes and test all of them.
Effect after all steps (Obsydian theme here):
There seems to have been an update some time in the past 3 years which changes the location of where to place themes in order to get them working.
Previosuly, themes were located in the Notepad++ installation folder. Now they are located in AppData:
C:\Users\YOUR_USER\AppData\Roaming\Notepad++\themes
My answer is an update to #Amit-IO's answer about manually copying the themes.
In Explorer, browse to: %AppData%\Notepad++.
If a folder called themes does not exist, create it.
Download your favourite theme from wherever (see Amit-IO's answer for a good list) and save it to %AppData%\Notepad++\themes.
Restart Notepad++ and then use Settings -> Style Configurator. The new theme(s) will appear in the list.
If anyone wants to enable dark mode, you may follow the below steps
Open your Notepad++, and select “Settings” on the menu bar, and choose “Style configurator”.
Select theme “Obsidian” (you can choose other dark themes)
Click on Save&Colse
Notepad++ changed in the past couple of years, and it requires a few extra steps to set up a dark theme.
The answer by Amit-IO is good, but the example theme that is needed has stopped being maintained. The DraculaTheme is active. Just download the XML and put it in a themes folder. You may need Admin access in Windows.
C:\Users\YOUR_USER\AppData\Roaming\Notepad++\themes
https://draculatheme.com/notepad-plus-plus
I have just installed the latest version Notepad++ website (currently it is v8.1) which provides an explicit dark mode setting.
Go to "Setting" -> "Preferences..." -> "Dark Mode" -> check the "Enable dark mode" tick box. The editor might need to be restarted to take effect completely.
https://notepad-plus-plus.org/downloads/
If you are not able to add the theme , a workaround is that go to
USER/Appdata/LocalRoaming/Notepad++
make sure you save whatever the data is there in stylers.xml as back up before
There you will find a stylers.xml you can edit that only , with any xml format you need.
( https://raw.githubusercontent.com/dracula/notepad-plus-plus/master/Dracula.xml )
Sometimes even after adding the file , notepadd++ doesn't pick up the theme
To revert back just edit back stylers.xml with the backup file.
After restarting it , you can see notepad ++ has taken that style as default

Customising the syntax colour in Sublime Text 3

I'm in the process of creating my own syntax colour theme for Sublime Text 3. I've done quite a lot but I want to copy most of the JavaScript colour syntax from the default 'Cobalt' theme that comes with ST3 (and possibly mix-and-match from other themes). I can't seem to find the Cobalt theme anywhere on my Mac?
Any ideas on where this might be?
Instead of navigating through /Applications, the easiest way of accessing built-in packages in Sublime Text 3 is to use #skuroda's excellent PackageResourceViewer plugin, available through Package Control. Once installed, restart Sublime and hit ⌘ShiftP to open the Command Palette. Type prv to bring up the PackageResourceViewer options, and select Open Resource. Scroll down to Color Scheme - Default, hit Enter, then scroll down to select Cobalt.tmTheme and hit Enter. You can now hit Esc to get rid of the menu, and start looking through the theme file for the bits you want to copy.
Good luck!
In Sublime Text installation directory, if I'm not mistaken, that's /Applications/ on OS X, there's a Packages directory, which contains a package file Color Scheme - Default.sublime-package which contains all the default color schemes.
.sublime-package is a simple zip file with modified extension, so you may simply copy it somewhere in your home directory, extract it and browse through the Cobalt.tmTheme file.
P.S. If you have trouble opening it with OS X archive manager, you may simply rename it:
mv name.sublime-package name.zip
But as far as I remember, it could be done simply like (correct me here if I'm wrong)
unzip name.sublime-package -d somedir

How do I activate the Zen coding key bindings in Sublime Text 2?

I just downloaded the Zen coding package for Sublime Text 2, but I can't figure out how to activate it.
I already have it in Netbeans, and here you just have to press CTR+ALT+N, but this doesn't work in the Sublime editor.
Google didn't yield any results, so I'm asking here.
Can someone tell me how to activate the Zen coding function?
press Ctrl+Alt+Enter and you'll get a text input box at the bottom of the screen, titled: Enter Koan:. as you type the zen expression into the box it will simultaneously unfold on the screen.
Alternatively, you can type the zen expression in the editor and press tab to expand it. Be sure not to leave any spaces inside the expression or after it.
I have been using Sublime Text 2 beta, build 2139 on Windows (but I'm also pretty sure this should work on Mac OS and Linux too) and here's how I got it to work:
After installing Sublime Text 2 itself, install Package Control
for Sublime Text 2. This is an add-on that allows you to easily
manage another add-ons.
I couldn't get the first installation option to work so I went for
the manual method. On my installation there was no folder called
"Installed packages", instead I've used "Pristine Packages" folder
which seemed to contain other, already installed extensions.
Restart Sublime Text 2
With Package Control installed open Sublime Text 2 editor and choose Preferences -> Package Control -> Package Control : Install Package from the menu. Hit "Enter" and there should be a list of packages available for installation displayed on the screen. Start typing "Zen" and Zen-Coding will be presented. When selected hit "Enter" again, status bar on the bottom of the screen will be showing installation progress.
When it's done - restart Sublime Text 2 one last time. Now, you can expand Zen-Coding abbreviations with 'ctrl+space' or 'tab'.
Remember it will only work in the saved file, with extension "html". (in particular - it won't work on the new document you've just created).
I hope this helps
To expand your zencoding, just press TAB. However, for a full list of all the keybindings, look in your Zencoding folder for a file called "Default (NAME_OF_YOUR_OPERATING_SYSTEM).sublime-keymaps". To get to the package, go to "Preferences > Browse Packages > zencoding".
Ctrl + Opt (Alt on a PC) + Enter. Check out the video.
See this post : Zen coding downloading trouble
and my comments for detailed instructions.
Also, after an upgrade, just replace the folder with the original one from
http://dl.dropbox.com/u/1292831/ZenCoding.zip
Good Luck ..
Download this one; https://github.com/sergeche/zencoding-sublime
It works on SublimeText2 2.0.1 build 2217 windows.
After install Emmet package, remember to restart sublime editor and save a file first to try it!. I thought it wasn't working after install, but it just needs a saved file to work on it.

Resources