InfoQ Homepage News Visual Studio 15.8 Preview 3 Adds Multi-Caret Editing

双色球开奖大星走势图: Visual Studio 15.8 Preview 3 Adds Multi-Caret Editing


Microsoft continues to advance the development of Visual Studio 2017, and their latest preview of 15.8 shows some important new features that will benefit most developers.  Users of the Sublime editor and VS Code will also find some new functions that will help them feel at home in Visual Studio.

Code Cleanup (triggered by menu item Format Document or hotkey CTRL | K, D) has been expanded to offer a much greater amount of functionality. Format Document has been expanded to go beyond line spacing and indentation to cover a vast array of new customizable options, including sort usings, add/sort accessibility modifiers, implicit/explicit type preferences, the removal of unnecessary casts and unused variables, and so on.

Expanded Formatting Options Dialog

Also in the Options dialog is the addition of a couple of new keyboard mappings. Developers accustomed to using Visual Studio Code can now select to have VS2017 use the same keyboard mapping-- allowing their fingers to focus on one set of keystrokes. If you are a user of ReSharper, those familiar mappings are now an option for you in VS2017 as well. Similarly, Sublime users should be very happy to see that multi-caret support in the IDE has come to VS2017. This can be configured under Edit | Multiple Carets menu.

Multiple Carets In Action

In the preceding screenshot, the editor has inserted an additional caret (cursor) so both instances of the Console.Write method can be edited simultaneously. 

Continuing their ongoing efforts to ensure VS2017 starts efficiently, Microsoft has changed the manner by which extensions are loaded.  In 15.8, extensions are now loaded after the solution has been opened in order to maintain the responsiveness (perceived and actual) of VS2017’s startup.

Developers doing performance testing of their application within VS2017 will appreciate a new ability to selectively pause/resume the collection of CPU usage data. Rather than have it available throughout your application's execution, you now can start collection at the specific moment you would like to investigate, which helps reduce the amount of unneeded data that is collected.

JavaScript and TypeScript developers will appreciate some reworking of the language service that supports these two languages in the editor. Previously this service was provided by a single Node.js process, but now in 15.8 multiple processes are used to improve editor performance. One process will manage responding to user input while another will perform longer running actions, such as language analysis.

VS2017's use of ESLint has been reworked in 15.8. Now the linter will operate on JavaScript files while they are being edited, not just after they have been saved. The use of a .eslintignore file is supported and can be used to specify directories and files that the linter should ignore. ESLint 4 is the default, but this may be overridden to use a locally installed version of ESLint if desired.

VS2017 15.8 Preview 3 is available for download now, and the full release notes are provided. As this is prerelease software, it may not be used to write production code but it can be installed side-by-side with the release version of VS2017.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Majoring on the minors

    by Jeff Jones /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    MS can spend resources on a fringe feature like multicarat editing, but cannot put the necessary resources on a Xamarin.Forms XAML designer. There is a lot of competition now for cross-platform development. Not having a designer to improve the RAD process (like MS has had since VB 1.0 decades ago) is a distinct disadvantage for those of us using Xamarin.Forms.

    MS has other XAML designers, but why not for Xamarin.Forms? There is no technological reason, and lots of marketing reasons to have one working.

    MS - put the resources where they have the best ROI. Multicarat is not that area.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.
  • 打开设计图纸的说明。 2019-05-23
  • 西安幼升小反映问题是去年近3倍 花式上学难案例层出不穷学位学区-西安新闻 2019-05-23
  • 2018年东南大学将继续推进“金钥匙计划”与国际化办学 2019-05-22
  • 俄海军有70至100艘军舰常年在各大洋航行 2019-05-22
  • 喂,110吗?这里有个出警的小姐姐,我要曝光一下! 2019-05-21
  • 人身险产品遭遇“负面清单” 保险行业迎供给侧改革 2019-05-21
  • 段春华:以最严密的法治打好大气污染防治攻坚战 2019-05-20
  • 刘凤翥:翦老的叮嘱让我终生受用无穷 2019-05-20
  • 杂粮(谷子)天气指数综合保险启动承保 2019-05-19
  • 昌吉州:让绿色成为生态底色发展主色 2019-05-19
  • 3人利用花呗套现3.2亿被批捕 获利约500万元 2019-05-18
  • 世界杯赞助商集体亮相球迷广场 海信站C位夺眼球 2019-05-18
  • 河南大学校长娄源功谈教育公平 2019-05-17
  • 你的第一段就认识错误。中国人如果认为神赐就能有幸福,就不会有后羿射日精卫填海愚公移山的故事了。中华文明世界观推导出的方法论就是八个字,事在人为,人定胜天。 2019-05-17
  • 光明日报:对抄袭行为不能仅道德谴责 2019-05-16
  • 646| 346| 830| 177| 262| 901| 193| 574| 329| 992|