AppCode的一些设置

时间 : 14-11-10 栏目 : iOS, 移动开发 作者 : noway 评论 : 0 点击 : 378 次

用着AppCode,还是要追求各种eclipse上的工作习惯。

快捷键:
settings(花键+,) - Keymap 打开快捷键设置:
ps:下面的快捷键,大部分是我自己设置的,仅用来记录我的使用习惯,appcode默认不是这样的,我把快捷键的功能英文描述罗列出来了,默认是什么可以在keymap中找
花+1  show intention actions 弹出一些潜在动作的菜单
例如下图,能在一个头文件中把还没应用的函数自动生成代码到cpp文件中,非常有用
还有很多别的非常有用的方法,输入函数名,则可以自动创建函数
AppCode的一些设置 - Sylar_Lin - 低调做人高调做事
花+/  code---completion---basic (弹出代码补全的popup)
花+d delete line (删除当前行代码)
花+shift+d duplicate line or block  (复制当前行代码至下一行或者当前选中的代码)
花+shift+t  navigator下的class... (打开类)
花+shift+r navigator下的file...(打开资源(包括类和其他图片等文件))
花+o file structure (查看当前类的所有成员函数和变量,输入则搜索,回车则跳转到,非常好用)
花+shift+o navigator下的symbol... (打开函数和变量(居然还是所有类的,不过他会帮你智能排列,优先当前类,不过我还是有点担心项目大了性能有点问题))
花+shfit+p  copy paths (拷贝当前文件路径)
花+shift+c  comment with block comment (/**/注释代码块)
opt+上箭头  move line up (上移代码行)
opt+下箭头 move line down(下移代码行)
花+上箭头 select word at caret(智能选择字符)
花+下箭头 unselect word at caret(取消智能选择字符)
花+shift+f  reformat code..(格式化代码,而且默认还是我喜欢的sun样式,当然可以设置,^_^)
花+sfhit+g find usages(搜索函数的全局调用,相当于eclipse上面的search reference)
花+shift+h type hierarchy(类的继承信息)
F2 hide active tool windows(隐藏界面最下面的弹出栏目,tool windows)
F3 view--tools windows--view (打开debug栏)
花+n code--generate  (打开函数应用和重写菜单,非常有用)
appcode设置快捷键的时候还会提醒你当前的设置和那些冲突,是否要移除旧设置这样贴心的提醒。什么?你想还原成默认设置?放心,你之前的设置appcode已经是早就帮你“继承”了一套设置,然后在这个“子设置”上面进行的,就像wow中给你几套天赋,爱用那套用那套
其他:
下面所有设置均在settings中
背景颜色:
editor - colors & fonts - general - default text   background打上钩,并且设置成C3E4AF
AppCode的一些设置 - Sylar_Lin - 低调做人高调做事
显示代码行数和删除代码编辑区域的那条margin线
AppCode的一些设置 - Sylar_Lin - 低调做人高调做事
自动完成菜单中不区分大小写而且默认选择第一个

AppCode的一些设置 - Sylar_Lin - 低调做人高调做事

AppCode的一些设置 - Sylar_Lin - 低调做人高调做事
显示内存占用
AppCode的一些设置 - Sylar_Lin - 低调做人高调做事

设置生成类模块时的作者信息

AppCode的一些设置 - Sylar_Lin - 低调做人高调做事
设置鼠标点击时光标的位置为代码行的正确位置,而不是鼠标点击的当前位置:
例如鼠标点击代码行尾后的空白位置,光标会自动移到代码末,而不是在空白位置上,
(ps:但是官方貌似更建议不要取消这个功能,而结合使用花+左右箭头来移动光标到行末和行首,详细查看这里
anyway,我用了一段时间,反而觉得有点画蛇添足,所以还是用回eclipse养成的习惯。
去掉下图的选钩
AppCode的一些设置 - Sylar_Lin - 低调做人高调做事
设置c++类和头文件中自动生成构造函数和析构函数
本人刚开始写c++ 不知道是否有必要这样,这只是我的旧习惯而已
AppCode的一些设置 - Sylar_Lin - 低调做人高调做事

#parse("Objective-C File Header.m")
#[[#include]]# "${HEADER_FILENAME}"

${NAME}::${NAME}(){

}

${NAME}::~${NAME}(){

}

#parse("Objective-C File Header.m")

#[[#ifndef]]# __${NAME}_H_
#[[#define]]# __${NAME}_H_

#[[#include]]# <iostream>

class ${NAME}{
public:
${NAME}();
~${NAME}();
};

#[[#endif]]# //__${NAME}_H_

官方介绍中使用的主题(不错!推荐)

AppCode的一些设置 - Sylar_Lin - 低调做人高调做事
关闭tab后,打开上次打开的那个tab
AppCode的一些设置 - Sylar_Lin - 低调做人高调做事

 

本文标签

除非注明,文章均为( noway )原创,转载请保留链接: http://blog-old.z3a105.com/?p=267

AppCode的一些设置:等您坐沙发呢!

发表评论





       ==QQ:122320466==

 微信    QQ群


0

Aujourd’hui, une partie avec le développement du e-commerce, achats en ligne est devenu une partie de la vie pour beaucoup de gens. La mariage a commencé achats en ligne. Si vous choisissez achats les mariages en ligne, il peut être beaucoup moins cher que le salon de la Robe de mariée pas chermariée local, réduisant le budget de mariage. vous pouvez avoir beaucoup de choix si acheter de mariage en ligne. vous pouvez ramasser une robe de mariée bon marché sur Internet.
Piercing fascinerande figur, och nu tittar vi på 2016 senast brudklänning, kan du vara den vackraste bruden det!2016 senaste Bra brudklänning, söt temperament Bra design, romantiska spetsar blomma kjol, som du lägger till en elegant och charmig temperament.Kvinnan tillbaka mjuka linjer, människor brudklänningofta få en känsla av oändlig frestelse. Fall 2016 mässan, lämnar uppgifter om ditt bröllop charmig.
Yesterday afternoon, the Chinese team was training in the Guangzhou Gymnasium, when the reporter asked Zhao Yunlei the feeling of wearing the new cheap jersey , cheap jerseys online shopshe readily took a shirt from the bag crumpled ball to reporters, and she said with a smile: ” This shirt is light. ”Zhao Yunlei said: “Our material is very light like with the clothes of the tennis King Nadal, Federer, after the sweat, sweat does not drip down to the ground, when we do move, it is easy pace slipping if the sweat drip on the floor.”Tennis players Zhang Yawen, told reporters: “You might think the clothes attached to the body, fearing we swing will be affected, in fact, we do not feel anything, because the clothes are very light, very soft, put on quite comfortable. And it’s particularly good clothes to dry, washing and will dry in 15 minutes. ”
China’s sports enthusiasts NFL sweatshirt with mad love and the pursuit of, and therefore, NFL jerseys have a good market in China and development. China is a populous country, is the consumer, the economic momentum is so good, the sales prospects sportswear is immeasurable. With hot sales sweatshirt, but also to promote the importance of sports fans, on health, on the other hand is a matter of concern for the World Cup, fans wearing NFL jerseys and also can express themselves more fully love and obsession Therefore, NFL jerseys Wholesale jerseys online shopwholesale has good prospects and development in China.
ANTA-ANTA Sports Products Limited, referred to as ANTA Sports, Anta, is China’s leading sporting goods companies, mainly engaged in the design, development, manufacture and marketing of ANTA brand sporting goods, including sports footwear, apparel and accessories. Anta sweatshirt design advantages, warm stretch knit fabric, using Slim version of model, more personal fit, bid farewell to bloated, so wearing more stylish.GUIRENNIAO-This logo is a spiritual totem, smooth graphics implication unstoppable force; flexible deliver an elegant arc Wholesale jerseys china shop movement, strength and speed of the United States, a symbol of passion and rationality publicity “Heart” and “meaning”, “concept” unity; pass the fearless and enterprising mind, showing beyond the realm of self, to unstoppable force to create the future.XTEP-Xtep (China) Co., Ltd. is a comprehensive development wholesale jerseys china shop, production and marketing of Xtep brand (XTEP) sports shoes, clothing, bags, caps, balls, socks mainly large sporting goods industry enterprises.
There are a lot of fans in identifying the authenticity of the above cheap jerseys have great distress, so here to i will show you some methods to definitely affordable inexpensive cheap jerseys : Firstly, we should look at if it is working fine. China has been called the world’s factory, a lot cheap jerseys factories in China have foundries, but our cheap jerseys are all from here! Secondly, should to see whether it is the , we all know that it is difficult to get out of print once a genuine cheap cheap jerseys free shipping jersey was print. and we have all kind of stocka on the whole website, in other words, we have all you want ! Finally, look at the price, our price is not necessarily the lowest in the whole website but it must be most fair on the whole website, we certainly you will not regret later when you buy it. Of course, except that cheap jerseys, we also have the other products, such as socks, leggings and some other related products, everyone can enjoy the best services of here!

KUBET