本文章为机器翻译。 https://blogs.msdn.microsoft.com/dotnet/2018/12/13/visual-studio-2019-net-productivity/

该文章的最新版本已迁移至个人博客【比特飞】,单击链接 https://www.byteflying.com/ 访问。

我希望你听到的第一个预览Visual Studio 2019现在是可用的。在这篇文章中,我将介绍一些生产率改进。NET开发我们最兴奋。一个完整的清单,检查了版本说明。

Regex Language Support
任何regular expressionsin your C# or Visual Basic files now have syntax highlighting, compiler diagnostics, and code fixes! This parsing support canrecognize strings passed to the regex constructor 和strings immediately preceded with a comment containing the string language=regex。这个language features currently included in this release areclassification,brace matching,highlight references,和编译器的诊断。

Video Player

00:00
00:15

对editorconfig口编辑器设置
你现在可以编辑设置一个出口editorconfig文件通过工具>选项>文本编辑器> C # >代码风格与按钮”的生成。editorconfig文件设置”。

生成代码的样式设置为editorconfig文件。

代码修复和重构
我们增加了几个高层请求的代码修正和重构在Visual Studio 2019预览版1。许多人通过社区所以脱帽向我们的可怕的人!重构和快速的动作可以用(Ctrl +。)或(Alt + Enter)。

Foreach循环LINQ查询

foreach循环LINQ查询或LINQ方法现在加入其他循环重构选项包括将LINQ to foreach,for循环foreach foreach循环,和。

Video Player

00:00
00:08

添加“使用“复制/粘贴的声明

Video Player

00:00
00:09

将匿名类型的类

Video Player

00:00
00:09

Convert local function to method

Video Player

00:00
00:07

More new code fixes and refactorings:

Convert tuple to a named-struct.
Dead code analysis for unused private members with an optional code fix to remove unused member declaration.
Generate a deconstruct method.
Add “await” where it is implied, but there is no compiler warning.
View all the code fixes and refactorings for .NET in our文件。

Document health indicator
The document health indicator allows you to look in one place to know if code style errors or warnings are present in the file you have open and makes it easy to jump to them. The indicator appears in the bottom right corner of your code editor making it easy to accesscode style configurationsand run code cleanup.

Document Health Indicator

Find All References and CodeLens Razor support
Find All Reference (Shift-F12) and CodeLens now show results fromRazor(。cshtml文件在网络核心项目)。然后你可以在相关的剃刀文件的识别码导航。

codelens现在显示Razor(。cshtml)结果。

剃刀结果查找所有引用。

从解决方案资源管理器中运行测试
现在你可以右键点击测试,测试类,或在运行或调试测试解决方案资源管理器中的测试项目。

右键单击运行测试从“解决方案资源管理器。

一如既往,谢谢你尝试预览,给开发者社区的反馈,并利用 报告问题 工具Visual Studio。Read more or watch a video on other Visual Studio 2019 Preview 1 features in theblog post。

该文章的最新版本已迁移至个人博客【比特飞】,单击链接 https://www.byteflying.com/ 访问。

Visual Studio 2019预览,净生产力相关推荐

  1. 关于在Visual Studio 2019预览版中的用户体验和界面的变化

    原文地址:https://blogs.msdn.microsoft.com/visualstudio/2018/11/12/a-preview-of-ux-and-ui-changes-in-visu ...

  2. Visual Studio 2022 预览版2 发布啦

    我们很高兴地宣布 Visual Studio 2022 的第二个预览版发布啦!预览版 1 是有史以来第一个 64 位 Visual Studio,提供了改进的可扩展性.从预览版 2 开始,我们专注于提 ...

  3. vs2015 html预览,Blend for Visual Studio 2015 预览版

    Blend for Visual Studio 2015 预览版 04/07/2015 6 分钟可看完 本文内容 [原文发表时间] 2014-11-13 12:00 PM 昨天我们发布了 Visual ...

  4. Visual Studio 2014 预览版 CTP3 发布了!可以下载

     微软Visual Studio开发团队官方博客 8月18号宣布,Visual Studio 2014  预览版 CTP3发布了,可以下载测试!可以下载.基于全新的微软下一代开发平台vNext,详 ...

  5. 微软低调发布 Web 版本的 Visual Studio Code 预览

    基于浏览器的编辑器将在GitHub.Azure存储库或本地设备上打开文件. 整理 | 王晓曼 出品 | CSDN(ID:CSDNnews) 微软低调发布了面向 Web 的 Visual Studio ...

  6. 64 位来临:微软 Visual Studio 2022 预览版今夏发布,更多功能一览

    4 月 20 日消息 没错,Visual Studio 2022 它来了. 微软昨日在官方开发博客中宣布,将于今年夏季发布 Visual Studio 2022 的首个预览版,2022 版本将更快.更 ...

  7. Visual Studio Code预览版Ver 0.3.0试用体验

    当你开始阅读这篇文章时,请先不要把Visual Studio Code和.net.Windows联想到一起,因为VS Code是一个跨平台,支持30多种语言的开箱代码编辑器.不管你是.Net.Java ...

  8. 微软发布Visual Studio Mac预览版

    http://www.linuxidc.com/Linux/2016-11/137369.htm 日前,微软发布了Visual Studio的Mac预览版.Mac用户终于可以在自己喜欢的平台上使用Vi ...

  9. Visual Studio 11预览: 新的编程语言功能

    每个版本的Visual Studio开发环境通常都会在其IDE及其支持的编程语言中引入一些新功能.微软开发部副总裁S. Somasegar最近展示了一些即将出现在Visual Studio 11中的新 ...

最新文章

  1. 用于3D重构的深层隐式移动最小二乘函数(CVPR 2021)
  2. LeetCode Rotate Image(矩阵的旋转)
  3. 服务器建立共享后无法写入文件,Win7 局域网共享问题,XP访问Win7复制或写入一会文件之后出现无法访问,您没有权限,或者说服务器空间不足...
  4. [转]如何正确查看Linux机器内存使用情况
  5. 最棒的 JavaScript 学习指南(2018版)
  6. 浅谈ACM算法学习与有效训练
  7. ALive:淘宝双11直播,技术同学却可以“偷懒”?
  8. Mac 下撰写文档时输入 command、option、control 等键盘符号的方法
  9. 【白皮书】以太坊 (Ethereum ):下一代智能合约和去中心化应用平台
  10. js数组与字符串的相互转化
  11. 运用python简单的画圆
  12. 【自然语言处理】从词袋模型到Transformer家族的变迁之路
  13. 类和对象(Java)
  14. 人名中间的小圆点的实现方式
  15. win8常见系统漏洞
  16. FFMPEG录屏(3)----捕获系统声音和麦克风
  17. win7开机弹计算机,win7开机弹出Windows Installer窗口的解决方法
  18. python基础(第九章)面向对象
  19. 实现火车站售票的例子
  20. 修改谷歌浏览器Google Chrome缓存位置

热门文章

  1. tensorflow代码中的tf.app.run()
  2. ubuntu版本号查询
  3. 【tfcoreml】tensorflow向CoreML模型的转换工具封装
  4. 需求说明 用户登陆功能的实现 c#
  5. 解决 吃货阶段02 0928
  6. 爬虫-发起post请求-稿件
  7. 190906描述笔记
  8. jquery-事件委托-delegate
  9. Java 多线程(一)
  10. 基于jquery类库的绘制二维码的插件jquery.qrcode.js