"highlightwords.colors": [
{ "light": "#b3d9ff", "dark": "cyan" },
{ "light": "#e6ffb3", "dark": "pink" },
{ "light": "#b3b3ff", "dark": "lightgreen" },
{ "light": "#ffd9b3", "dark": "magenta" },
{ "light": "#ffb3ff", "dark": "cornflowerblue" },
{ "light": "#b3ffb3", "dark": "orange" },
{ "light": "#ffff80", "dark": "green" },
{ "light": "#d1e0e0", "dark": "red" }
# 选择highlight方式,light为加文字背景,dark为加外框
"highlightwords.box": {
"light": false,
"dark": true
"highlightwords.defaultMode": {
"default": 0
"highlightwords.showSidebar": {
"default": true
3. 使用
ctrl+shift+p进入命令面板,搜索对应命令
其中:
Highlight expression: 输入需要高亮的字符串
也可选择需要高亮的字符串,使用Highlight selection
highlight remove:移除单个标记
highlight remove all:移除当前文档所有标记
效果如下:
要在CursorHold上突出显示当前符号,请添加:
autocmd CursorHold * silent call CocActionAsync ( '
highlight
' )
到.vimrc 。
要禁用coc提供颜色突出显示,请添加:
" coc.preferences.colorSupport " : false ,
到您的settings.json 。
要选择其他颜色,请使用命令:
:call CocAction('pickColor')
注意:仅适用于Mac或已安装python gtk模块。
要选择其他颜色表示,请使用命令:
:call CocAction('colo
import {
highlight
} from 'vue-
words
-
highlight
';
Vue.use(
highlight
, {
name: '
highlight
',
className: 'red',
style: 'color: #0f0',
caseSensitive: false
// new Vue...
Use Component
1、sublime菜单栏->首选项->浏览
插件
,打开Packages文件夹
2、.新建Vue文件夹,把下载的zip解压后,文件放里面
3、sublime中使用快捷键Ctrl+Shift+P,输入vue,即出现vue Component回车
4、重启sublime
使用
VSCode
远程访问代码以及远程 GDB 调试
https://warmgrid.github.io/2019/05/21/remote-debug-in-
vscode
-insiders.html
https://zhuanlan.zhihu.com/p/104131448