note

统一设置下:


统一的一些快捷键:

Clion

主要是编译环境的添加:Setting—>Build,Execution,Deployment—>Toolchains

然后添加各种环境即可: MinGW:选择它的安装目录就好了,然后它就会自动侦测它相关的gcc、gcc、gdb地址

MSVC:Environment那一栏的地址写到类似这里就行了:==D:\Program Files (x86)\Microsoft Visual Studio\2017\Community==,剩下的它会自动去侦测相关的地址

这个就不建议使用remote服务器环境了,它会把本地项目的所有文件上传到服务器/tmp的一个临时文件夹下,然后因为本地一些图形化库的缺失,本地图形化显示也有问题,不如就直接用vscode的remote。

==快捷键==:

Pycharm

WebStrom

在body中写代码,回车换行不缩进:Editor–>Code Style–>HTML中(Other)把==DO not indent children of==中的body删掉就好了。

shift + enter 快速换到下一行

缩进就两个空格的解决:点击右下角的的 2 spaces 然后再点击最下面那行 disable … 就行了

Terminal

win新的终端的一个我自己改的json配置:

新加了个配色方案:(改的系统颜色)

然后给每种终端加了图标颜色,还有一些快捷键的修改,放这里作为一个后续修改的参考

{
    "$help": "https://aka.ms/terminal-documentation",
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "actions": 
    [
        {
            "command": 
            {
                "action": "newWindow"
            },
            "keys": "ctrl+n"
        },
        {
            "command": 
            {
                "action": "copy",
                "singleLine": false
            },
            "keys": "ctrl+c"
        },
        {
            "command": "paste",
            "keys": "ctrl+v"
        },
        {
            "command": "find",
            "keys": "ctrl+f"
        },
        {
            "command": 
            {
                "action": "splitPane",
                "split": "auto",
                "splitMode": "duplicate"
            },
            "keys": "alt+shift+d"
        },
        {
            "command": "closePane",
            "keys": "ctrl+w"
        },
        {
            "command": "unbound",
            "keys": "ctrl+shift+f"
        },
        {
            "command": "unbound",
            "keys": "ctrl+shift+n"
        },
        {
            "command": "unbound",
            "keys": "ctrl+shift+w"
        }
    ],
    "copyFormatting": "none",
    "copyOnSelect": false,
    "defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
    "profiles": 
    {
        "defaults": 
        {
            "backgroundImage": null,
            "colorScheme": "Color Scheme 11",
            "font": 
            {
                "face": "Consolas"
            },
            "opacity": 100,
            "useAcrylic": true
        },
        "list": 
        [
            {
                "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": false,
                "name": "Windows PowerShell",
                "tabColor": "#4169E1"   // 这个标签就是自己加的颜色
            },
            {
                "commandline": "%SystemRoot%\\System32\\cmd.exe",
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "hidden": false,
                "name": "\u547d\u4ee4\u63d0\u793a\u7b26",
                "tabColor": "#008B8B"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": true,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            },
            {
                "guid": "{c9ffafc7-3311-5dd1-9c24-aeca61610a99}",
                "hidden": false,
                "name": "Developer Command Prompt for VS 2017",
                "source": "Windows.Terminal.VisualStudio",
                "startingDirectory": null,
                "tabColor": "#FFDAB9"
            },
            // 下面这俩anaconda相关的在配置页面就可以加了,
            {
                "commandline": "%windir%\\System32\\cmd.exe \"/K\" D:\\Anaconda3\\Scripts\\activate.bat D:\\Anaconda3",
                "guid": "{c46e0fa6-1ec9-4a03-a37d-cf2c1b1c63cd}",
                "hidden": false,
                "icon": "D:\\Anaconda3\\Menu\\Iconleak-Atrous-Console.ico",
                "name": "Anaconda Prompt (Anaconda3)",
                "tabColor": "#EEAD0E"
            },
            {
                "commandline": "D:\\Anaconda3\\python.exe D:\\Anaconda3\\cwp.py D:\\Anaconda3 D:\\Anaconda3\\python.exe D:\\Anaconda3\\Scripts\\jupyter-notebook-script.py \"%USERPROFILE%/\"",
                "guid": "{fdb56f01-916e-4183-bec9-978afb9ce6ea}",
                "hidden": false,
                "icon": "D:\\Anaconda3\\Menu\\jupyter.ico",
                "name": "Jupyter Notebook (Anaconda3)",
                "tabColor": "#B22222"
            }
        ]
    },
    "schemes": 
    [	
    	// 这个是系统默认的,还删掉了一些
        {
            "background": "#0C0C0C",
            "black": "#0C0C0C",
            "blue": "#0037DA",
            "brightBlack": "#767676",
            "brightBlue": "#3B78FF",
            "brightCyan": "#61D6D6",
            "brightGreen": "#16C60C",
            "brightPurple": "#B4009E",
            "brightRed": "#E74856",
            "brightWhite": "#F2F2F2",
            "brightYellow": "#F9F1A5",
            "cursorColor": "#FFFFFF",
            "cyan": "#3A96DD",
            "foreground": "#CCCCCC",
            "green": "#13A10E",
            "name": "Campbell",
            "purple": "#881798",
            "red": "#C50F1F",
            "selectionBackground": "#FFFFFF",
            "white": "#CCCCCC",
            "yellow": "#C19C00"
        },
		// 这个就是自己在配色方案里加的,然后在这里生成,
        {
            "background": "#556B2F",
            "black": "#000A00",
            "blue": "#0037DA",
            "brightBlack": "#767676",
            "brightBlue": "#3B78FF",
            "brightCyan": "#61D6D6",
            "brightGreen": "#16C60C",
            "brightPurple": "#B4009E",
            "brightRed": "#E74856",
            "brightWhite": "#F2F2F2",
            "brightYellow": "#F9F1A5",
            "cursorColor": "#FFFFFF",
            "cyan": "#3A96DD",
            "foreground": "#00FFFF",
            "green": "#13A10E",
            "name": "Color Scheme 11",
            "purple": "#881798",
            "red": "#C50F1F",
            "selectionBackground": "#FFFFFF",
            "white": "#CCCCCC",
            "yellow": "#C19C00"
        },
        // 这是微软里面那个毛玻璃啊,暂时也不是很好使
        {
            "background": "#FFFFFF",
            "black": "#3C5712",
            "blue": "#17B2FF",
            "brightBlack": "#749B36",
            "brightBlue": "#27B2F6",
            "brightCyan": "#13A8C0",
            "brightGreen": "#89AF50",
            "brightPurple": "#F2A20A",
            "brightRed": "#F49B36",
            "brightWhite": "#741274",
            "brightYellow": "#991070",
            "cursorColor": "#FFFFFF",
            "cyan": "#3C96A6",
            "foreground": "#000000",
            "green": "#6AAE08",
            "name": "Frost",
            "purple": "#991070",
            "red": "#8D0C0C",
            "selectionBackground": "#FFFFFF",
            "white": "#6E386E",
            "yellow": "#991070"
        }
    ]
}