BT

深圳风采走势图:Visual Studio 15.8 Preview 3 Adds Multi-Caret Editing

| by Jeff Martin Follow 17 Followers on Jul 04, 2018. Estimated reading time: 2 minutes |

深圳风采开奖号码 www.ljvch.cn 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

Adoption Stage
Style

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.

Tell us what you think

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

Email me replies to any of my messages in this thread

Majoring on the minors by Jeff Jones

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT
  • 世界杯专版 竞猜型彩票 赔率是公认的竞猜利器 2019-02-21
  • 反制更快更强更准!中国坚决打赢对美贸易自卫反击战! 2019-02-20
  • 北京国际旅博会开幕 旅游产品直降数千提前带热暑期档--旅游频道 2019-02-19
  • 世界杯倒计时:球迷街头狂欢为自己的国家打Call 2019-02-18
  • 这论坛需要风水们创新、发展,他们也只能靠这个了······ 2019-02-18
  • 雷政富狱中发声:否认漏罪举报 不服原判正申诉 2019-02-17
  • 央行:有效防控互联网金融领域风险 2019-02-16
  • 苏57空中姿态控制能力瞬间救场, F22隐身战机无法超越! 2019-02-15
  • 这泼猴总给人萌萌达的感觉 2019-02-15
  • 十年前人大代表工作二三事 2019-02-14
  • 厦门出现不打烊的便民服务站 2019-02-13
  • 故事新西兰强震致民宅破坏严重 超市遭抢购 2019-02-12
  • 中关村医院为中科院科研人员提供就医绿色通道 2019-02-11
  • 候选企业:内蒙古呼和浩特金谷农商银行 2019-02-11
  • 百姓满意的口碑,就是最高荣誉! 2019-02-10
  • 540| 979| 335| 517| 966| 123| 542| 819| 999| 514|