本文章为机器翻译。 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 预览版3 最新功能解说

    我们很高兴地宣布Visual Studio 2022 的第三个预览版问世啦!预览版3 提供了更多关于个人和团队生产力.现代开发和持续创新等主题的新功能.在本文中,我们将重点介绍Visual Studi ...

  3. 它来了!!!有史以来第一个64位Visual Studio(2022)预览版将在今夏发布!

    美国时间2021年4月19日,微软产品研发部一位负责人Amanda Silver在其博客上发布一则<Visual Studio 2022>的消息,表示将在今年(2021年)夏天发布Visu ...

  4. 【译】Visual Studio 15 预览版更新说明

    序:恰逢Build2016大会召开,微软发布了VS2015的update2更新包和VS2016预览版.本人正在提升英文水平中,于是在这里对VS2016预览版的官方文档进行了部分翻译.因为VS有些功能使 ...

  5. visual studio 2015预览版系统需求

    visual studio 2015预览版的系统需求跟visual studio 2013的一样. 支持visual studio 2015 preview的操作系统:Windows 8.1(x86 ...

  6. Visual Studio 2022 预览版下载来了(x64位)

    Visual Studio 2022 预览版下载:https://visualstudio.microsoft.com/zh-hans/vs/preview/vs2022/

  7. 乘风破浪,遇见Visual Studio 2022预览版(Preview),宇宙最强开发者工具首次迎来64位版本

    简介 众所周知,我们从官方新闻来看,对Visual Studio 2022最大的期待莫过于:其是首个64位的Visual Studio,这个宇宙最强开发者工具一脚迈入了新的阶段. https://vi ...

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

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

  9. Visual Studio 2015 预览版 - 支持跨平台开发Android/iOS应用程序(内置安卓模拟器)

    微软最近的惊人举动真多,对普通消费者Office 移动版宣布免费,对开发者也发布了完全免费的 VS2013 社区版! 不仅如此,就连 .Net 开发框架环境也竟然「开源」并且跨平台支持 Mac 及 L ...

随机推荐

  1. 一文快速掌握华为云IPv6基础知识及使用指南

    随着5G.物联网等新兴技术领域的发展,IP空间需求巨大,IPv6成为万物互联的基础,势在必行:华为云作为IPv6成熟商用开拓者,针对金融.广电.媒资等不同行业推出IPv6解决方案,助力企业平滑升级到I ...

  2. Java常用开源库

    Java的经久不衰,很大程度上得益于Java的生态好.在日常开发中,我们也会经常使用到各种开源库和工具类,为了避免重复造轮子,本文将贴出工作及学习中会用到的部分开源库和工具类.Java的生态实在太大, ...

  3. 牛客练习赛66A题解

    思路 令 \(sq=\sqrt x\) ,则答案必然在 $ sq^2$ 和 $ (sq+1)^2 $ 之间,两者比较一下谁离 \(x\) 最近,就是答案了. 代码 #include <bits/ ...

  4. echarts 实战 : 怎么写出和自动生成的一样的 tooltip ?

    找到答案很麻烦,但答案本身很简单. 假设 需要给 echarts 的数据是 option. option.tooltip.formatter = (params) => { return `&l ...

  5. 使用Thanos实现Prometheus指标联邦

    本文来自Rancher Labs Prometheus是CNCF中已经毕业的项目之一,主要用于监控和告警.在Kubernetes生态中,它是应用最为广泛的监控和告警工具之一.Rancher用户可以通过 ...

  6. 高效C++:模板和泛型编程

    模板和泛型编程的关注重点在编译期,所有的行为都在编译期确定,因此其规则和玩法也有自己特殊的一套,和其他模块不通用. 了解隐式接口和编译期多态 元编程------编译器多态,决定哪个重载函数被调用 cl ...

  7. Supervisor通用配置

    1.简介 supervisor是python开发的一个进程管理工具,可以将一个普通的命令行进程变为后台的守护进程,并且监控进程的运行状态,如果因为异常退出的时候会自动重启.它是通过fork/exec的 ...

  8. Windows电脑多个SSH Key管理.md

    笔者偏在阿里云,Github,开源中国上均存放一些私有项目代码,因此需要再Windows电脑上配置多个SSH Key 环境 操作系统:windows 7 Git 提示:Git 安装后就可以使用 Git ...

  9. 01 . Git常用命令及方法和分支管理

    原理 # Workspace:工作区 # Index / Stage:暂存区 # Repository:仓库区(或本地仓库) # Remote:远程仓库 本地分支关联远程 git branch --s ...

  10. makefile for Linux纯小白版

    某大佬曾说过: 不会makefile,不要说你会linux,因为makefile是合格程序员的必经之路 首先你要有个vi或者emacs 之类的编辑器 编写几个程序 test1.c #include&l ...