雅乐网

计算机技术、学习成长

软件推荐 » 阅读编辑 » Sublime Text 3 Build 3083更新内容

Sublime Text 3 Build 3083更新内容

Sublime Text 3最近发布了build3080和3083版本,下面是这两次升级的具体内容

build 8083

从更新内容可以看出,8083版本主要是修复bug以及添加了1个功能,修改了1个功能。

1. Fixed high CPU usage caused by a corrupt index. This was occuring for some users upgrading from 3065

修复一处cpu占用过高的bug

2. Added setting index_workers to control the number of threads used for file indexing. By default the number of threads is based on the number of CPU cores. By setting index_workers to 1 or 2, indexing will be slower, but less intrusive

设置文件里添加一项 index_works ,用于说明使用几个线程来索引打开的文件。(索引用来支持8080版本添加的Go To Definition(转到定义)功能)。我们可以选择Preferences->setting-default,打开默认配置文件。然后按Ctrl + F ,查找index_works,可以找到相应选项

它的值是0的时候,根据cpu的核心数目自动选择线程数。也可以指定1、2等数目,这样较慢但更稳定一点。

3. Fixed a crash when showing the Command Palette with an empty .sublime-build file

修复.sublime-build为空时打开命令面板崩溃的bug

4. Tab completion no longer completes numbers. Edit/Show Completions can still be used for this

功能调整。tab自动补全不再补全数字。不过仍然可以使用Edit/Show Completions(快捷键Ctrl+space,如果无效可能和切换输入法冲突)补全数字。

8080的更新内容

这个版本更新较多,共有57个更新。

1. Fixed Redo sometimes restoring the selection to the incorrect location

修复撤销命令的一处bug

2. Reworked how Build Systems are selected (More Information)

修改了Build System的选择算法。在以前的版本中,Ctrl+B会运行build,Ctrl+Shift+B会运行build文件中名为run的variant

在新的版本中,Ctrl+B会运行该类型文件上次编译时的build,初次运行会弹出窗口提示选择需要的build系统。这里面列出了所有适用于当前文件的build系统。

2015-04-02 16_16_12-F__KP_Practice_cpp_ofstream.cpp - Sublime Text

选择一个后,再次使用Ctrl+B,就直接运行上次的选择了。

Ctrl+Shit+B快捷键的功能调整为选择build系统,即弹出上面的选择框,选择后可以使用Ctrl+B来编译了。

3. Build Systems may now declare “keyfiles” (e.g., ‘Makefile’ for the Make build system) to better auto detect which build system to use

build可以根据keyfile(文件名)选择使用哪个编译系统。可以针对makefile来执行make命令。我们打开一个文件夹,包含一些.c文件和makefile文件,这时候按Ctrl+B,可以看到选择菜单里有make和make clean,选择就可以运行make了。

2015-04-02 16_28_35-F__KP_Project_regex_ori_main.c (regex_ori) - Sublime Text

4. Improved handling of build systems that generate lots of output

当build系统产生了大量的输出时,进行了优化

5. New windows always use the automatic build system, rather than the build system of the last used window

以前的版本,手动选择某个build系统后,打开不同类型的文件,build系统不会自动切换。

现在打开新类型可以自动切换至自动。

6. Command Palette now remembers the last entered string

命令面板可以记住上次输入的信息。(按Ctrl+shift+P打开命令面板)

7. Improved change detection for files that disappear and reappear, as happens with disconnected network drives

打开网络中的文件时,时断时续时,提高检查文件变化的性能。

8. atomic_save is disabled by default

写文件时保存到备份文件选项默认调整为关闭。

9. Right clicking on a URL will show an “Open URL” menu item

右键点击URL可以选择打开网址

10. Added Goto Definition to the context menu

右键菜单新增 Goto Definition(跳到定义)。多文件时需要打开文件所在的文件夹。

11. Improved behavior of Goto Definition when using multiple panes

改进多窗格显示文件时跳到定义的行为。

拼写检查的更新

12. Misspelled words can now be added to the dictionary, in addition to being ignored

13. Fixed Ignored Words not persisting after exiting

14. Fixed a long standing issue with spell checking and non-ascii characters

15. Added spelling_selector setting, to control what text is checked for misspellings

16. Tweaked handling of syntax definitions and unused captures, resolving an issue with spell checking in Markdown links.

其他更新

17. Goto Anything supports :line:col syntax in addition to :line

Goto Anything面板(Ctrl+P)新增:line:col 选择某一行的某一列

18. Added Edit Project to the Command palette

19. Improved quote auto pairing logic

20. Added <current file> option to Find in Files

21. Improved Console Panel scrolling behavior

22. .tmLanguage files may contain a hidden setting, to indicate they shouldn’t be displayed to the user

23. Improved some error messages when parsing .tmLanguage files

24. remember_open_files setting is now defaults to false. Note that this change will have no effect if the hot_exit setting is left at its default value of true

25. Added auto_complete_cycle setting

26. Fixed Minimap refusing to draw on very large windows

27. Fixed not being able to click on the selected row of the auto complete popup

28. Fixed sidebar icons sometimes being invisible on startup

29. Transient sheets (e.g., as created by Goto Anything when previewing files) are no longer added to the Recently Closed list

30. Improved scrolling behavior when line_padding_top is > 0

31. Fixed a bug with scrolling tabs, where a 1 pixel line would occasionally appear underneath them

32. Fixed tabset background being set to the wrong color on startup if different colored tabs are used

33. Updated to a never version of leveldb, fixing constant low level CPU usage if the index becomes corrupted

34. Fixed a crash that could occur when directories are being rapidly deleted and recreated

35. Fixed a crash that occurred when dragging rows scrolled out of view in the side bar

36. Fixed a long standing plugin_host crash triggered via modal dialogs

37. Fixed a typo in the “Save Workspace As” dialog

38. Fixed incorrect menu mnemonics

39. Linux: Added sudo save

40. Windows: Popup windows are able to receive scroll wheel input

41. Windows: subl.exe command line helper accepts wildcards

42. Windows: Fixed access denied errors that could occur when saving with atomic_save disabled

43. Windows: Added workaround for broken std::condition_variable in MSVC 2012, fixing a crash in plugin_host

44. Windows: Added more descriptive errors when the Update Installer fails to rename a folder

45. Windows: Fixed incorrect window sizing after making a maximised window full screen

46. OSX: Added work around for performActionForItemAtIndex: taking an excessively long time in Yosemite. This affected any commands that had a corresponding menu item.

47. OSX: Workaround for an OS issue with zero size windows and OpenGL views

48. OSX: subl command line tool no longer uses Distributed Objects, resolving some intermittent failures

49. Posix: Fixed new files not respecting the umask permission flags

50. API: Added View.show_popup() and related functions

51. API: Added sublime.yes_no_cancel_dialog()

52. API: Added sublime.expand_variables()

53. API: Added Window.extract_variables()

54. API: Added Sheet.view()

55. API: Window.show_quick_panel() now accepts the flag sublime.KEEP_OPEN_ON_FOCUS_LOST

56. API: Window.show_quick_panel() will now scroll to the selected item when shown

57. API: Fixed on_post_window_command() not getting called

如果文章对你有帮助,欢迎点赞或打赏(金额不限)。你的打赏将全部用于支付网站服务器费用和提高网站文章质量,谢谢支持。

版权声明:

本文由 原创,商业转载请联系作者获得授权。
非商业转载请注明作者 雅乐网 ,并附带本文链接:
https://www.yalewoo.com/sublime_text_3_build_3083.html

上一篇:

下一篇:

我要评论

验证码*: 1 + 5 =