clion使用
2019-03-10 13:27:48 # other

安装插件

  • File->Plugins->Marketplace

显示内存指示

  • File->Appearance->Window Opetions->Show memory indicator

修改内存大小

  • HELP->Edit Custum VM Options
    • -Xss8m
    • -Xms1024m
    • -Xmx4196m

代码格式化修改

  • File->Editor->Code Style

控制台乱码

  • HELP->Edit Custum VM Options
    • -Dfile.encoding=UTF-8
    • -Dconsole.encoding=UTF-8

文件中文乱码

  • File->Editor->File Encodings
    • Global Encoding UTF-8
    • Project Encoding UTF-8
    • Properties File(*.peoperties) UTF-8

单词拼写检查

  • File->Editor->Inspections->Spelling->Typo

更改build路径

  • File->Build->CMake->generate path

远程目录修改

  • File->Build,Execution,Deployment->Deployment->Mappings->Deployment path

排除某些不需要更新的目录

  • File->Build->Deployment->Excluded Paths

开启未保存文件星号提示

  • File->Editor->General->Editor Tabs->Mark modified tabs with asterisk