Henry Henry
  • JavaScript
  • TypeScript
  • Vue
  • ElementUI
  • React
  • HTML
  • CSS
  • 技术文档
  • GitHub 技巧
  • Nodejs
  • Chrome
  • VSCode
  • Other
  • Mac
  • Windows
  • Linux
  • Vim
  • VSCode
  • Chrome
  • iTerm
  • Mac
  • Obsidian
  • lazygit
  • Vim 技巧
  • 分类
  • 标签
  • 归档
  • 网站
  • 资源
  • Vue 资源
GitHub (opens new window)

Henry

小学生中的前端大佬
  • JavaScript
  • TypeScript
  • Vue
  • ElementUI
  • React
  • HTML
  • CSS
  • 技术文档
  • GitHub 技巧
  • Nodejs
  • Chrome
  • VSCode
  • Other
  • Mac
  • Windows
  • Linux
  • Vim
  • VSCode
  • Chrome
  • iTerm
  • Mac
  • Obsidian
  • lazygit
  • Vim 技巧
  • 分类
  • 标签
  • 归档
  • 网站
  • 资源
  • Vue 资源
GitHub (opens new window)
  • 技术文档

  • GitHub

  • Nodejs

  • Chrome

  • VSCode

  • VSCode 更新文档

    • version 1.25
    • version 1.26
    • version 1.25
    • version 1.26
    • version 1.25
    • version 1.24
    • version 1.23
      • April 2018 (version 1.23)
        • Run Code Actions on save
        • Problems view filtering
        • Copy results from search context menu
    • version 1.22
    • version 1.21
    • version 1.20
    • version 1.19
    • version 1.18
    • version 1.17
    • version 1.16
    • version 1.15
    • version 1.14
    • version 1.13
    • version 1.12
    • version 1.11
    • version 1.10
    • version 1.9
    • version 1.8
    • version 1.7
    • version 1.6
    • version 1.5
  • AIGC

  • Other

  • 技术
  • VSCode 更新文档
Henry
2023-10-30
目录

version 1.23

# April 2018 (version 1.23) (opens new window)

Welcome to the April 2018 release of Visual Studio Code. This milestone the VS Code team has been focused on API work to support extension authors, but there are still plenty of updates in this version that we hope you will like. Some of the key highlights include:

  • Highlighted indent guides (opens new window) - Helps visualize source code indenting.
  • Run Code Actions on save (opens new window) - Run actions like Organize Imports when you save.
  • NPM script explorer (opens new window) - Quickly find, run, and debug NPM scripts in your project.
  • Problems view filtering (opens new window) - Choose which files will display errors and warnings.
  • Middle mouse button column selection (opens new window) - Middle mouse button with drag for fast column selection.
  • CSS region folding (opens new window) - Create regions in your CSS/SCSS/Less code for helpful code folding.
  • Improved CSS new property support (opens new window) - Smart suggestions for CSS experimental properties.
  • Markdown header search (opens new window) - Search for Markdown headers across your entire workspace.
  • Custom Activity Bar views (opens new window) - Extension authors can create their own Activity Bar items.
  • New deploy website tutorial (opens new window) - Learn how to deploy a static website to Azure Storage.

If you'd like to read these release notes online, go to Updates (opens new window) on code.visualstudio.com (opens new window).
You can also check out this 1.23 release highlights video (opens new window) from Cloud Developer Advocate Brian Clark (opens new window).

The release notes are arranged in the following sections related to VS Code focus areas. Here are some further updates:

  • Editor (opens new window) - Better Unicode file support, more stable editor positioning.
  • Workbench (opens new window) - Copy search results, better Git clone workflow, VS Code process explorer.
  • Debugging (opens new window) - Logpoint expressions support smart completions and displaying structured objects.
  • Languages (opens new window) - JavaScript/TypeScript Organize Imports action, persistent Markdown previews.
  • Extension Authoring (opens new window) - New webview and FileSystem Provider APIs, 'Source' file level actions.

# Run Code Actions on save (opens new window)

The new editor.codeActionsOnSave setting lets you configure a set of Code Actions that are run when a file is saved. For example, for JavaScript, TypeScript, and other extensions that contribute an organize imports Code Action, you can enable organize imports on save by setting (opens new window):

"editor.codeActionsOnSave": {
  "source.organizeImports": true
}
1
2
3

You can also enable or disable which Code Actions are run on save per language using a language specific setting (opens new window). The following settings enable organize imports on save for TypeScript files only:

"[typescript]": {
  "editor.codeActionsOnSave": {
    "source.organizeImports": true,
  }
},
"[typescriptreact]": {
  "editor.codeActionsOnSave": {
    "source.organizeImports": true
  }
}
1
2
3
4
5
6
7
8
9
10

# Problems view filtering (opens new window)

You can now include or exclude files in the Problems view using filters.

  • Use glob patterns in the filter input box to include/exclude files. An exclude pattern must be prefixed with !. For example, !*.js will remove all files that have a .js extension.
  • There is a Filter using Files Exclude Setting button to remove all files matching your files.exclude setting.

The short video below shows filtering the project out directory based on the files.exclude setting and ignoring all node_modules by typing !**/node_modules/** in the filter input box:

Filter problems

# Copy results from search context menu (opens new window)

The search results tree context menu includes three new options: Copy, Copy Path, and Copy All. This was a highly 👍'd request which will make it easier to share or export your search results.

Copy search

编辑 (opens new window)
#VSCode
上次更新: 10/30/2023, 5:39:44 AM
version 1.24
version 1.22

← version 1.24 version 1.22→

最近更新
01
搭配 Jenkins 实现自动化打包微前端多个项目
09-15
02
自动化打包微前端多个项目
09-15
03
el-upload 直传阿里 oss 并且显示自带进度条和视频回显封面图
06-05
更多文章>
Theme by Vdoing | Copyright © 2017-2024 HenryTSZ | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式