2016-02-03 41 views
0

我想在Qt Creator中調整反斜槓或等於Emacs。我怎樣才能做到這一點? 示例代碼:如何在Qt Creator中對齊反斜槓,等號等?

#define CHECK(n)  \ 
    switch (n)   \ 
    {      \ 
    case 0:    \ 
    cout << 0 << endl; \ 
    break;    \ 
    case 1:    \ 
    cout << 1 << endl; \ 
    break;    \ 
    case 2:    \ 
    cout << 2 << endl; \ 
    break;    \ 
    } 

回答

0

突出顯示文本,然後M-x align-regexp \\ RET