Akagi201
9/9/2014 - 7:23 AM

Clion.md

theme

Languages

  • C/C++
  • HTML
  • CSS
  • JavaScript
  • XML

Platform

  • Windows
  • OS X
  • Linux

Compilers

  • GCC
  • Clang
  • MinGW / Cygwin

CMake

  • CLion uses the CMake project model.

Config

  • Project view -> 齿轮 -> 勾选autoscroll to source和autoscroll from source, Sort by type

keymap

  • ⌥F7 : find where a particular symbol is used
  • ⌘F : search only in the current file
  • ⇧⌘F : within a directory, any arbitrary scope, or the entire project
  • ⌘o : class by its name
  • ⇧⌘o : file by its name
  • ⌥⌘O : symbol by its name
  • ⌘B : declaration
  • ⌘U : super definition
  • ⌘E : navigate you to the Recent Files
  • ⇧⌘E : Recently Changed Files
  • ⌘[/⌘] : go through the history of changes
  • ⇧⌘⌫ : go to last edit location
  • ⇧⌘A : Find Action search
  • Double ⇧ : Search Everywhere
  • ⌘+Alt+Right/Left : 在编辑过的代码位置之间跳转(前进/后退)
  • ⌘+b / ⌘ + 单击 : 跳转到定义处
  • ⌘+x: 删除当前行
  • ⌘+d: 复制当前行

cheet sheet

Issues

  • can't use subversion command line client : svn
  • github