Open the workspace settings and add the following code:
//设置用户选中代码段的颜色 "workbench.colorCustomizations": { "editor.selectionBackground": "#aa0000" }
As shown:
The above is the detailed content of How to modify the color of selected code in vscode. For more information, please follow other related articles on the PHP Chinese website!