Как поменять тему в clion
Перейти к содержимому

Как поменять тему в clion

  • автор:

User interface themes

The interface theme defines the appearance of windows, dialogs, buttons, and all visual elements of the user interface. By default, CLion uses the Darcula theme, unless you changed it during the first run.

The interface theme is not the same as the color scheme, which defines the colors, fonts, and syntax highlight for various text resources: the source code, search results, and so on.

Change the UI theme

In the Settings dialog ( Control+Alt+S ), select Appearance & Behavior | Appearance .

Select the UI theme from the Theme list:

IntelliJ Light : Traditional light theme for IntelliJ-based IDEs

macOS Light or Windows 10 Light : OS-specific light theme available as a bundled plugin

Darcula : Default dark theme

High contrast : Theme designed for users with color vision deficiency

Select Sync with OS to let CLion detect the current system settings and use the default dark or light theme accordingly. If your OS is set up to auto-switch between day and night modes, the IDE will automatically toggle between light and dark themes too.

It is also possible to create your own UI themes for CLion and customize the built-in themes. For more information, see IntelliJ Platform SDK Documentation.

Productivity tips

Use the quick switcher

Press Control+` or select View | Quick Switch Scheme from the main menu.

In the Switch popup, select Theme , and then select the desired interface theme.

Appearance

Use this page to change the overall look and feel of your IDE.

Select the UI theme from the list. By default, you can choose between a light, a dark, and a high-contrast theme. You can install other themes as plugins. For more information, see User interface themes.

Select this checkbox to let CLion detect the current system settings and use the default dark or light theme accordingly.

Sync with OS is not supported on Linux.

Use this selector to zoom in and out the entire IDE, increasing or decreasing the size of all UI elements at once.

You can also access this setting from the main menu: select View | Appearance | Zoom IDE .

Use custom font

Specify custom font family and size to use in the CLion UI.

Accessibility

Support screen readers

Enable screen reader support for CLion. For more information, see Accessibility.

Use contrast scrollbars

Make the editor scrollbar more visible.

Adjust colors for red-green vision deficiency

Adjust UI colors to better perceive colors in case of protanopia and deuteranopia.

For more information on configuring accessibility options, refer to Accessibility.

UI Options

Show tree indent guides

Display vertical lines that mark indent levels in tree views, for example, in the Project tool window. These lines can help you better understand the hierarchy of the components in your project.

Use smaller indents in trees

Decrease the amount of space between the tool window border and the text in tree views, for example, in the Project tool window.

Enable mnemonics in menu

Underline hotkeys that you can press to execute a menu action

Enable mnemonics in controls

Underline hotkeys that you can press to use controls in dialogs

Use project colors in main toolbar

Use colored headers to simplify navigation between several open projects. For more information, refer to Configure the toolbar color.

Scroll the UI smoothly, pixel-by-pixel, instead of line-by-line.

This also enables animated smooth scrolling for Windows and Linux by default. You can disable it to use precise scrolling instead: press Control+Shift+A , find and open the Smooth Scroll Options dialog, and disable the Animated smooth scrolling checkbox.

Smooth Scroll Options dialog

In this dialog, you can also set the duration of the scroll animation and change the appearance of the animation based on https://cubic-bezier.com/#.17,.67,.83,.67.

Drag-and-drop with Alt pressed only

Avoid accidentally moving files, editor tabs, tool window buttons, and other UI components. When enabled, hold the Alt key to move things around.

By default, this option is disabled and you can move everything without any extra keys.

Always show full path in window header

Show the full path to the project and to the current file in the main window header. When disabled, the header will show only the name of the project and file.

Display icons in menu items

Show icons to the left of the items in the main menu and context menus.

Configure a custom background image for the IDE.

Antialiasing

Select which antialiasing mode you want to apply to the IDE (including menus, tool windows, and so on):

Subpixel : this option is recommended for LCD displays and takes advantage of the fact that each pixel on a color LCD is composed of red, green and blue sub-pixels. This allows smoothing text and rendering it with greater detail.

Greyscale : this option is recommended for non-LCD displays or displays positioned vertically. It deals with text at the pixel level.

No antialiasing : this option can be used for displays with high resolution, where non-antialiased fonts are rendered faster and may look better.

Select which antialiasing mode you want to apply to the editor:

Subpixel : this option is recommended for LCD displays and takes advantage of the fact that each pixel on a color LCD is composed of red, green and blue sub-pixels. This allows smoothing text and rendering it with greater detail.

Greyscale : this option is recommended for non-LCD displays or displays positioned vertically. It deals with text at the pixel level.

No antialiasing : this option can be used for displays with high resolution, where non-antialiased fonts are rendered faster and may look better.

Tool Windows

Show tool window bars

Show the tool window bars around the edges of the main window. For more information, see Tool window bars and buttons.

Side-by-side layout on the left

Show the tool windows that are attached to the top and bottom edges on the left side in two columns. For more information, see Optimize for wide-screen monitors.

Side-by-side layout on the right

Show the tool windows that are attached to the top and bottom edges on the right side in two columns. For more information, see Optimize for wide-screen monitors.

Widescreen tool window layout

Optimize the layout of tool windows for wide-screen displays: maximize the height of vertical tool windows by limiting the width of horizontal tool windows. For more information, see Optimize for wide-screen monitors.

Remember size for each tool window

Remember individual width of every tool window when you reopen or switch between them.

When this option is disabled, tool windows have the unified default width, and their sizes remain constant when you switch between them.

Show tool window numbers

This feature is not available in the new UI.

Show tool window quick-access numbers on the tool window buttons.

You can hold the Alt key and press the corresponding number key to switch tool windows regardless of this setting: Alt+1 for the Project tool window, and so on.

Change the color scheme

In this procedure, we will customuize the color scheme of the code in CLion. programmers usually prefer to have their own customized colors for the code they write in their IDEs for different reasons. By the end of this procedure you should be able to change the color scheme of your code.

Instructions

    Open CLion application.

Click Configure.

image-name

Click Preferences.

image-name

You should now be at the [preferences window].

Click Editor.

image-name

Click Color Scheme.

image-name

Click C/C++.

image-name

You should now be at the [color scheme window].

Select the element you want to change.

* The code box at the bottom is interactive. When clicking on any element it will be selected for modification.

image-name

Select the element property you want to change.

image-name

Select your desired color and click Choose.

image-name

To save your changes, click OK.

image-name

Congratulations! You have successfully changed your color scheme. Next, perform the success check below. If you have any issues, check out troubleshooting.

✓ All the changes you made should now be v in your code.

Copyright © 2017-2019 Patrick Marsceill. Distributed by an MIT license.

Changing CLion's background color

I’d like to change the general background color of CLion (that is, outside of where you write code), but I have been unable to find a solution neither in the IDE itself nor online.

However, changing these colors should be possible, as switching the color theme does change them.

Here is an image of what I mean, I’ve marked the respective areas I would like to change the color of with a bright pink circled x:

Demonstration

Any help on where I could find these settings would be much appreciated.

EDIT: I already know where to change Fonts, text colors and the like, but I am looking specifically for the marked areas, changes for which do not appear under any of the Color Scheme Options.

L. Kue's user avatar

2 Answers 2

You cannot customize the colors of the main interface except for choosing the Default and Darcula themes in Appearance and Behavior — Appearance . What your and the other answer’s screenshot shows are the EDITOR color scheme settings.

You can set a background image for the whole IDE in general in that settings tab, though. Make it completely opaque, the color you like, and that might do it.

To configure colors and fonts

Press Ctrl + Alt + S or choose File | Settings (for Windows and Linux) or CLion | Preferences (for macOS) from the main menu, and then go to Editor | Font.

Select the desired scheme from the Scheme name drop-down list.

Under the Color Scheme node, define the font families used in the editor and in the console. When you open the Font page, or Console Fonts under the Color Scheme node, CLion displays the Editor Font area where you can configure the primary and secondary fonts, their size and line spacing.

enter image description here

  1. Under the Color Scheme node, open the corresponding pages to configure specific color preferences for the supported languages and CLion components.

To navigate to the relevant Colors & Fonts settings for the symbol at the caret

  1. Call Help | Find Action from the main menu (or press Ctrl + Shift + A ) and choose Jump to Colors and Fonts:

enter image description here

  1. Explore the relevant section of the Colors & Fonts settings for the symbol under the caret:

enter image description here

If you want to know more about configurations : Configuring Colors and Fonts

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *