简体   繁体   English

如何更改PHPStorm中所选文本/代码的颜色

[英]How to change the color of selected text/code in PHPStorm

Im switching code editors and trying to rebuild my color scheme from the previous one, from Sublime Text to PHP Storm. 我正在切换代码编辑器并尝试重建我的配色方案,从Sublime Text到PHP Storm。

What i can't find is: How to change the color of selected text/code - to be more specific the background of the selected text and the color of the font of the selected text? 我找不到的是:如何更改所选文本/代码的颜色 - 更具体地说明所选文本的背景和所选文本的字体颜色?

And is there a way in PHPStorm to make the color for ID's and Classes different (for HTML)? PHPStorm中是否有一种方法可以使ID和类的颜色不同(对于HTML)?

select_background select_background

please go to file -> settings -> IDE settings ->colors & fonts -> general -> save default scheme and then make changes in selection background choose any color in your background please check the image 请转到文件 - >设置 - > IDE设置 - >颜色和字体 - >常规 - >保存默认方案然后在选择背景中进行更改选择背景中的任何颜色请查看图像

On Windows, assuming you're in a custom/child theme, follow this path: 在Windows上,假设您处于自定义/子主题中,请遵循以下路径:

File > Settings > Editor > Color Scheme > General > Editor > Selection background 文件 > 设置 > 编辑器 > 配色方案 > 常规 > 编辑器 > 选择背景

How to change the highlight color 如何更改突出显示颜色

You can use directly a template for color scheme (THEME PHPStorm). 您可以直接使用模板进行配色方案(THEME PHPStorm)。 Download and install this and you will have a Sublime text 2 color in PHPStorm : PHPStorm color Scheme theme like Sublime Text 2 下载并安装此项,您将在PHPStorm中获得Sublime text 2颜色: PHPStorm颜色方案主题,如Sublime Text 2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM