Question: how to install dark theme in code blocks?
Answer: Go to Settings > Editor > Syntax highlighting. All the themes that you imported will be available under the color theme drop list. After changing the theme, you may notice that the insertion bar become hard to see if you use a dark background.