首页 > 其他分享 >Visual Studio Code 1.77 发布,扩展的 GitHub Copilot 集成

Visual Studio Code 1.77 发布,扩展的 GitHub Copilot 集成

时间:2023-04-01 12:44:07浏览次数:60  
标签:GitHub VS Visual Code Copilot Ruby Scroll

VS Code 1.77 已发布,此版本一些主要亮点包括:

downhome、end、page uppage down 键来聚焦悬停控件并进行水平和垂直滚动。聚焦悬停控件的键盘快捷键(Ctrl+K Ctrl+I)与用于在主光标位置显示悬停的快捷键相同。

现在可以专注于 Sticky Scroll lines 并使用 updown 键进行导航。可以使用 Enter 键转到选定的行。要聚焦于 Sticky Scroll,可以从命令面板运行 Focus Sticky Scroll 。通过 View: Toggle Stick Scroll 命令启用 Sticky Scroll UI 。

现在你可以在 GitHub 仓库中工作时,从 editor gutter 中复制 editor line 或 range 的 deep links。在 VS Code Desktop 中,为了能够从 editor gutter 中创建 GitHub permalinks 和 HEAD 链接,你需要安装 GitHub Pull Requests and Issues 扩展。在 在 vscode.dev 中,GitHub 仓库的 deep links 是开箱即用的。

Share中。

现在可以为 notebooks 启用保存时的格式,这会在你保存时格式化整个 notebook。可以通过将 notebook.formatOnSave.enabled 设置为 true 来启用它。

在 switch 语句中键入 case 并接受对 case ... 的建议,这将自动为该类型的所有值插入大小写。值得注意的是,这仅在被切换的值是 union 或 literal type 时有效。

由于新的 Move symbol to Code Actions,你现在可以更方便地用 Pylance 重构你的 Python 代码。

Ctrl+. )。你可以把符号移动到一个现有的文件或一个新的文件中。如果位置是一个新文件,就会创建一个与你的符号同名的 Python 文件。所有适用的导入引用都会随着符号的移动而自动更新。

Remote Development 扩展允许你使用 Dev Container、通过 SSH 或 Remote Tunnels 的远程机器,或将 Windows Subsystem for Linux (WSL) 作为功能齐全的开发环境。

  • Ruby 文档 - 了解 VS Code 的 Ruby 语言支持。

VS Code 中的 Ruby - 使用 Ruby LSP 扩展了解 Ruby 语言支持(Polyglot Notebooks 扩展支持 C#、PowerShell、JavaScript 等的多语言编程。

GitHub Copilot Nightly 扩展和 VS Code Insiders 构建,你将能够尝试新功能,例如:​​​​​​​Inline suggestions、Chat view 以及 Inline chat。

注意:要访问 GitHub Copilot chat waitlist。

可以要求 Copilot 查找错误、解释棘手的代码、创建测试,甚至询问有关 VS Code 的问题。

更多详情可查看发布公告

标签:GitHub,VS,Visual,Code,Copilot,Ruby,Scroll
From: https://www.cnblogs.com/lzhdim/p/17278429.html

相关文章

  • leetcode876. 链表的中间结点
      876. 链表的中间结点方法一:最简单的做法,先求出整个链表的长度,再求1/2处节点的位置。/***Definitionforsingly-linkedlist.*structListNode{*intval;*ListNode*next;*ListNode():val(0),next(nullptr){}*ListNode(intx)......
  • VScode批量删除空白行的方法
    在使用VScode进行编辑以前的文件时会遇到很多空白行的情况,格式化插件只是美化了代码但并没有删除这些空白行,其实用一个正则表达\s*(?=\r?$)\n批量替换就可以实现,具体方法如下:1、使用快捷键Ctrl+H,召唤出编辑面板2、将正则表达式复制到文查找输入框内,选择使用【使用正则表达式】......
  • GitHub OAuth 第三方登录示例
     ⇐  ⇒GitHubOAuth第三方登录示例教程作者:阮一峰日期:2019年4月21日这组OAuth系列教程,第一篇介绍了基本概念,第二篇介绍了获取令牌的四种方式,今天演示一个实例,如何通过OAuth获取API数据。很多网站登录时,允许使用第三方网站的身份,这称为"第三......
  • Codeforces Round 859 (Div. 4) ABCDE(交互题)FG1G2
    EFG1G2质量还挺好的A.PlusorMinushttps://codeforces.com/contest/1807/problem/A题目大意:给定a,b,c,问我们是a+b==c还是a-b==c?把正确的符号输出。input1112332129-7347112110336991899019-81910output+--++-++--+......
  • AtCoder Beginner Contest 295
    题解报告基本的一些理解和问题都在注释中A:ProbablyEnglish//水题#include<cstdio>#include<iostream>#include<algorithm>#include<cstring>#include<string>#include<unordered_map>usingnamespacestd;constintmaxn=1e3+10;strings[......
  • vscode配置Java环境
    参考链接:https://blog.csdn.net/weixin_61370021/article/details/126788606?app_version=5.15.1&code=app_1562916241&csdn_share_tail={"type"%3A"blog"%2C"rType"%3A"article"%2C"rId"%3A"126788606"%2......
  • leetcode-733-easy
    FloodFillAnimageisrepresentedbyanmxnintegergridimagewhereimage[i][j]representsthepixelvalueoftheimage.Youarealsogiventhreeintegerssr,sc,andcolor.Youshouldperformafloodfillontheimagestartingfromthepixelimage[sr......
  • leetcode-724-easy
    FindPivotIndexGivenanarrayofintegersnums,calculatethepivotindexofthisarray.Thepivotindexistheindexwherethesumofallthenumbersstrictlytotheleftoftheindexisequaltothesumofallthenumbersstrictlytotheindex's......
  • leetcode-744-easy
    FindSmallestLetterGreaterThanTargetYouaregivenanarrayofcharacterslettersthatissortedinnon-decreasingorder,andacharactertarget.Thereareatleasttwodifferentcharactersinletters.Returnthesmallestcharacterinlettersthatis......
  • leetcode-762-easy
    PrimeNumberofSetBitsinBinaryRepresentationGiventwointegersleftandright,returnthecountofnumbersintheinclusiverange[left,right]havingaprimenumberofsetbitsintheirbinaryrepresentation.Recallthatthenumberofsetbitsan......