atom自定义C++代码片段

file -> snippets:

'.source.cpp':
  'C++ frame':
    'prefix': 'dx'
    'body': '''
#include <iostream>$2
using namespace std;
$3
int main()
{
    $1

    return 0;
}
    '''

 

 

posted @ 2019-08-30 08:46  bp9jISKIN  阅读(183)  评论(0编辑  收藏  举报