sublime 插件2 和3 有什么区别

赶快加入吧
收藏,7k 浏览
问题对人有帮助,内容完整,我也想知道答案
问题没有实际价值,缺少关键内容,没有改进余地
我将缩进默认设置成了4个空格,但是,有些文件的官方推荐写法是缩进2个空格,比如LESS, HAML, Jade 这些语言,官方都推荐使用2个空格的缩进。那么,Sublime有办法对不同语言设置不同缩进方式吗?
答案对人有帮助,有参考价值
答案没帮助,是错误的答案,答非所问
可以的,你看菜单栏: Preferences -& Settings - More -& Syntax Specific - User
然后添加设置代码就可以了,文件保存在$Packages/User下{
&tab_size&: 2,
&translate_tabs_to_spaces&: true
答案对人有帮助,有参考价值
答案没帮助,是错误的答案,答非所问
我也想找这样的解决方案,所以搜索到这个问题了。但是最后发现全局的设置是搞不定这个的,只有退而求其次了。
就是为每个project做单独设置,在project-name.sublime-project文件中:
"settings": {
"translate_tabs_to_spaces": true,
"tab_size": 4
如果楼主找到了更好的解决方案,劳烦告知一下,不胜感谢!
答案对人有帮助,有参考价值
答案没帮助,是错误的答案,答非所问
配置文件将以以下顺序载入:
Packages/Default/Preferences.sublime-settings
Packages/Default/Preferences ().sublime-settings
Packages/User/Preferences.sublime-settings
Packages//.sublime-settings
Packages/User/.sublime-settings
一般来说,你应该把你的配置放入Packages/User/Preferences.sublime-settings。如果你想给某个文件类型指定配置,举个例子,Python,你应该把他们放入Packages/User/Python.sublime-settings。
示列配置文件
试着保存为Packages/User/Preferences.sublime-settings
"tab_size": 4,
"translate_tabs_to_spaces": false
每个语法配置
可以设定一个语法配置。你可以给当前语法设置配置通过编辑Preferences/Settings - More/Syntax Specific - User菜单下出现的文件。
当一个文件被载入时,它的文档被审查,并且tab_size和translate_tabs_to_spaces配置将设给那个文件。当这些发生时状态栏区域将会报告这个结果。尽管这事通常进行的很好,你也许会想禁用它。你可以改detect_indentation配置实现它。
Indentation detection可以手动执行通过View/Indentation/Guess Settings From Buffer菜单,这个会执行detect_indentation命令。
Tabs和空格之间的转换
View/Indentation有把当前文件中的tabs和空格之间互相转换的命令。这些菜单项将会运行expand_tabs和unexpand_tabs命令。
答案对人有帮助,有参考价值
答案没帮助,是错误的答案,答非所问
如何指定每个语言呢?
「已忽略」::不符合答题要求
同步到新浪微博
不要错过该问题的后续解决方案
如果你没找到答案,记得登录关注哦,大家会尽全力帮你解决的 ^___^
最专业的开发者社区
最前沿的技术问答,最纯粹的技术切磋。让你不知不觉中开拓眼界,提高技能,认识更多朋友。
分享到微博?
关闭理由:
删除理由:
忽略理由:
与已有问题重复
答非所问,不符合答题要求
宜作评论而非答案
带有人身攻击、辱骂、仇恨等违反条款的内容
内容质量差,或不适合在本网站出现
无意义讨论型问题
其他原因(请补充说明)
举报理由:
带有人身攻击、辱骂、仇恨等违反条款的内容
与已有问题重复
内容质量差,或不适合在本网站出现
答非所问,不符合答题要求
其他原因(请补充说明)
补充说明:经验946 米
在线时间52 小时
版本5.1.20
机型小米手机4
MIUI版本5.1.20
经验51254 米
威望330 米
在线时间5529 小时
头像是我女儿
机型小米手机4
签到次数194
MIUI版本5.2.4
安卓版本的差异,2.3.5是基于安卓2.3优化的,V4是基于安卓4.0进行优化的miui版本
MIUI社区解答组招募公告,期待您的加入!
经验11124 米
在线时间468 小时
版本2.3.6f
由于本人工作生活需要 实在无闲暇时间管理论坛 已申请辞职 请
积分 13921, 距离下一级还需 6079 积分
积分 13921, 距离下一级还需 6079 积分
机型小米手机1/1S
签到次数47
MIUI版本2.3.6f
4.0还更新 每周
2.3基本不更新了
人不猥琐枉少年
多读书 多看报 少吃零食 多睡觉
经验6205 米
在线时间348 小时
版本4.12.5
积分 7776, 距离下一级还需 12224 积分
积分 7776, 距离下一级还需 12224 积分
机型小米手机1/1S
签到次数95
MIUI版本4.12.5
功能多咯,自己刷过来用就会体验的,现在稳定多了
爱*就疯狂;不爱*就坚强
经验9770 米
在线时间394 小时
版本4.12.12
积分 11282, 距离下一级还需 8718 积分
积分 11282, 距离下一级还需 8718 积分
机型小米手机2/2S 特别版
签到次数125
MIUI版本4.12.12
安卓版本的差异,2.3.5是基于安卓2.3优化的,V4是基于安卓4.0进行优化的miui版本
补充。现在的v4(4.0)基本上都趋于稳定了。基本上都可以用了。现在v4最新更能很多了。v4中分稳定版(一个更新一次)和开发版的(每周五更新,有很多新功能。)
经验946 米
在线时间52 小时
版本5.1.20
机型小米手机4
MIUI版本5.1.20
呵呵呵呵呵呵呵
MIUI 3000万
MIUI 3000万发烧友纪念勋章
MIUI 2000万
MIUI 2000万发烧友纪念勋章
MIUI三周年
MIUI三周年纪念勋章
已关注极客秀微信
已关注微信
1000万用户纪念勋章
MIUI1000万用户纪念勋章
关注腾讯微博
已关注腾讯微博
关注新浪微博
已关注新浪微博
MIUI 100周
100周发布纪念勋章
MIUI俱乐部发烧友
MIUI俱乐部发烧友
小米平板首发纪念勋章
小米平板首发纪念勋章
小米手机3终身荣誉勋章
小米手机3终身荣誉勋章
百万壁纸评审纪念勋章
MIUI V5内测元勋
MIUI V5内测元勋勋章
小米手机元器件合体活动勋章
小米求合体勋章
Copyright (C) 2014 MIUI 京ICP备号当前位置: &
sublime是什么意思
音标:[ sə'blaim ]&&发音:&&
中文翻译英英解释adj.1.崇高的,庄严的,(地位)高贵的;雄伟的;卓越的;超群的;壮烈的;【化学】升华的;〔诗〕崇高的,高尚的。2.傲慢的。3.〔戏谑语〕极端的,无比的。4.【解剖学】接近表面的,体表的。短语和例子n.〔 the sublime〕庄严,崇高;壮美;宏伟;至高无上,极点(of)。 Your answer is the sublime of stupidity. 你的回答是极端愚昧的。vt.,vi.1.提高,(使)变得高尚[纯化,理想化]。2.【化学】(使)升华,精练。adv.-ly ,-r n.
例句与用法1.The imagination of man is naturally sublime .人类的想像当然是非凡的。2.Your answer is the sublime of stupidity .你的回答是极端愚昧的。3.Your answer is the sublime of stupidity .你的回答是极端愚妄的。4.The church was beautiful and sublime .那座教堂美丽而庄严。5.In the matter of profanity he was sublime .他破口乱骂的本领,也是卓越非凡的。6.In matter of profanity he was sublime .以亵渎神圣的言行而论,他是首屈一指的。7.Sublime is the dominion of the mind over the body .精神对肉体的制约是至高无尚的。8.There is but one step from the sublime to the ridiculous .可敬与可笑之间只距一步。9.Many added that he looked sublime and prophetic .许多人还说他好象是卓越的先知似的。10.That is but a tailor's image of your sublime poet's .那不过是一个理发师对你那崇高的诗人的印象。&&更多例句:&&1&&&&&&&&
相邻词汇热门词汇Sublime Text3与Sublime Text 2的区别在哪里?
按票数排序
The first beta of
is now available to download for registered users. Some feature highlights are below, followed by our new pricing and upgrade policies, and system compatibility for Sublime Text 3.Symbol Indexing. Sublime Text now scans the files in your project, and builds an index of which files contain which symbols. This backs the new features Goto Definition and Goto Symbol in Project, both of which are available from the Goto menu. Goto Definition takes you to the definition of the symbol under the caret, whileGoto Symbol in Project prompts you to select a symbol via fuzzy matching, and then takes you to the definition of that symbol.Pane Management. Working with multiple panes is now more efficient, with commands to create and destroy panes, and quickly move files between panes. You can see the new options under View/Groups, View/Focus Group andView/Move file to Group.Speed. Sublime Text has always had speed as a feature, but version 3 addresses some weak points. Startup time is now virtually immediate, and plugins no longer have the opportunity to bring this down. Replace Allperformance is also significantly faster.API. Sublime Text now uses Python 3.3 for plugins, and runs them out of process, so any plugins that load native code no longer risk crashing the main Sublime Text process. The API is also fully thread-safe, and provides several callbacks that run asynchronously (e.g., on_modified_async). There are also new API functions, including full access to the project data. Sublime Text 2 plugins will require
to work with Sublime Text 3, however in most cases the changes will be small.Selected Changes:Added Goto Definition, and Goto Symbol in ProjectSignificantly improved startup timeSignificantly improved Replace All performanceImproved matching algorithm used for Goto Anythingand auto-complete accepts transposed charactersUI: Enhanced pane managementUI: Previewing files from the sidebar creates a preview tabUI: Improved animation in the side barProjects: Multiple workspaces can be created for a single projectProjects: When adding folders to the sidebar, symlinks are not followed by default. This can be changed by enabling follow_symlinks in the projectBuild Systems: Added ’shell_cmd’, which supersedes ‘cmd’, with more intuitive syntaxBuild Systems: Better PATH handling behavior on OS X when using shell_cmdBuild Systems: ‘Make’ build system has an improved error message regexBuild Systems: Syntax file can be specified for the outputBuild Systems: Word wrap is enabled by defaultFind in Files: Improved handling of binary filesFind in Files: Line numbers are hidden in the outputFind: Find in Selection will no longer be automatically selectedOSX: Improved performance on Retina displaysOSX: 10.7 or later is requiredOSX: 64 bit onlyOSX: System version of Python is no longer a dependencyOSX: Italic fonts are synthesized when not available in the typefaceLinux: .deb files are providedLinux: Starting from the command line will daemonize the process by defaultAPI: Upgrade from Python 2.6 to Python 3.3API: Plugins run out-of-processAPI: Plugin API is now thread-safeAPI: Some API events are now run asynchronouslyAPI: begin_edit() / end_edit() are no longer accessibleAPI: Projects are exposed to the APIAPI: Added window.settings() andwindow.template_settings()API: show_quick_panel() accepts an on_highlightedcallbackCompatibility. Sublime Text 3 should work on all systems that currently run Sublime Text 2, with the exception of OS X 10.6. Unfortunately, it has not been possible to maintain 10.6 compatibility, as there is no C++11 toolchain for OS X 10.6, and Sublime Text 3 makes extensive use of functionality in C++11.Pricing. The price for a Sublime Text license key has increased by $11, from $59 to $70, the first price rise in Sublime Text’s five year history. All licenses purchased at this new price are valid for Sublime Text 3. Users with a Sublime Text 2 license key can continue using the key with Sublime Text 3 while it’s in beta. When 3.0 is released, upgrades will be available for $30, or $15 for users who have purchased recently. The cut off date for the reduced upgrade price will be based on the actual date of the 3.0 release.Sublime Text 3 is currently
to registered users only. An evaluation version will be available later.参见网址:简单的说: ST3支持在项目目录里面寻找变量提供了对标签页更好地支持(更多的命令和快捷键)加快了程序运行的速度更新了API,使用Python3.3恩- -,话说ST3九月一号又更新了~
F12大杀器 还有可以直接列出来项目里所有符号了 虽然精确度比不上ctags 但是不需要手动创建tag文件和速度比ctags强大太多了
python脚本更新的了、、我感觉就是用起来没有什么差别。。插件ST3支持多一点。。。
有用3的新版哦,感觉不错,不过我就是写写前端页面,很多插件确实是这个编辑器的一个很受喜欢的原因吧

我要回帖

更多关于 sublime text 2 的文章

 

随机推荐