Small edits
This commit is contained in:
Родитель
e4238b32f4
Коммит
532ca99aca
|
@ -41,7 +41,7 @@ There is also a new case preservation mode for hyphen-separated words.
|
|||
|
||||
### Settings editor validation for array-of-string settings
|
||||
|
||||
The settings editor now displays error for array-of-string items if the current value does not satisfy the specified `minItems`, `maxItems`, `item.enum`, or `item.pattern` schema.
|
||||
The settings editor now displays errors for array-of-string items if the current value does not satisfy the specified `minItems`, `maxItems`, `item.enum`, or `item.pattern` schema.
|
||||
|
||||
![String of array error validation](images/1_38/string-of-array-error-validation.png)
|
||||
|
||||
|
@ -92,7 +92,7 @@ When running long searches, we've updated the icon used to cancel a search to be
|
|||
|
||||
**Top-level resource creation**
|
||||
|
||||
We have improved the process of creating top-level files and folders in the Explorer. There are now three ways to create a file or folder in the top level of the File Explorer:
|
||||
We have improved the process of creating top-level files and folders in the Explorer. There are now three ways to create a file or folder in the root of the File Explorer:
|
||||
|
||||
* Scrolling beyond the last element in order to invoke the context menu on the empty space.
|
||||
* Pressing `kbstyle(Escape)` clears both focus and selection in the Explorer thus making the title area actions execute on the Explorer root.
|
||||
|
@ -104,18 +104,18 @@ It is now possible to open a file in preview from the Explorer while keeping foc
|
|||
|
||||
**Explorer file naming**
|
||||
|
||||
There is a new setting, `explorer.incrementalNaming`, to control file naming, which can have the values `simple` or `smart`.
|
||||
There is a new setting, `explorer.incrementalNaming`, to control duplicate file naming, which can have the values `simple` or `smart`.
|
||||
|
||||
* `simple` - Appends the word "copy" at the end of the duplicated name potentially followed by a number. The current VS Code stable behavior.
|
||||
* `simple` - Appends the word "copy" at the end of the duplicated name potentially followed by a number. This is the current VS Code stable behavior.
|
||||
* `smart` - Adds a number at the end of the duplicated name. If a number is already part of the name, increment that number.
|
||||
|
||||
### Grid layout for the workbench
|
||||
|
||||
The layout engine of the workbench has been rewritten to use the same grid widget as the editor area itself. This work has been in progress for some time and insiders have had this enabled by default for the past couple iterations. The setting is `workbench.useExperimentalGridLayout` and will now be enabled by default.
|
||||
The layout engine of the workbench has been rewritten to use the same grid widget as the editor area itself. This work has been in progress for some time and Insiders builds have had this enabled by default for the past couple iterations. The setting is `workbench.useExperimentalGridLayout` and will now be enabled by default.
|
||||
|
||||
**Toggling the editor area / Maximizing the panel**
|
||||
|
||||
The new engine provides more flexibility for the workbench layout in the future. For now, we see this manifest itself with the ability to hide the editor area. There is a new command available with the grid layout, **Toggle Editor Area**. This will hide the editor area and allow the panel to take over completely. The **Toggle Maximized Panel** command has the same effect now. This means that a maximized panel is now truly maximized without the tiny gap previously left of the editor.
|
||||
The new engine provides more flexibility for the workbench layout in the future. For now, this manifests itself with the ability to hide the editor area. There is a new command available with the grid layout, **Toggle Editor Area**. This will hide the editor area and allow the panel to take over completely. The **Toggle Maximized Panel** command has the same effect now. This means that a maximized panel is now truly maximized without the tiny gap previously left of the editor.
|
||||
|
||||
![Maximized panel](images/1_38/maximized-panel.png)
|
||||
|
||||
|
@ -130,10 +130,10 @@ We continue to fix [accessibility issues](https://github.com/microsoft/vscode/is
|
|||
|
||||
### Screencast mode
|
||||
|
||||
There have been numerous improvements to the Screencast mode (**Developer: Toggle Screencast Mode**):
|
||||
There have been several improvements to the Screencast mode (**Developer: Toggle Screencast Mode**):
|
||||
|
||||
* There's now a limit on the length of the screencast keybinding label.
|
||||
* The keybinding label vertical position can now be adjusted via the `screencastMode.verticalOffset` setting.
|
||||
* The keybinding label vertical position can be adjusted via the `screencastMode.verticalOffset` setting.
|
||||
* The keybinding label can be configured to render only actual keyboard shortcuts via the `screencastMode.onlyKeyboardShortcuts` setting.
|
||||
* The keyboard shortcuts render style was improved.
|
||||
|
||||
|
@ -141,7 +141,7 @@ There have been numerous improvements to the Screencast mode (**Developer: Toggl
|
|||
|
||||
### Cursor surrounding lines (scrollOff)
|
||||
|
||||
You can now customize how many visible lines to display around the cursor while moving the cursor towards beginning or end of a file by setting `editor.cursorSurroundingLines`. In the Vim editor, this feature is called `scrollOff`.
|
||||
You can now customize the number of visible lines to display around the cursor when moving the cursor towards the beginning or end of a file by setting `editor.cursorSurroundingLines`. In the Vim editor, this feature is called `scrollOff`.
|
||||
|
||||
![Cursor surrounding lines](images/1_38/cursor-surrounding-lines.gif)
|
||||
|
||||
|
@ -163,19 +163,19 @@ There are new actions for copying or reverting deleted content when using the in
|
|||
|
||||
### Global search minimap decorations
|
||||
|
||||
The minimap (code overview) now shows search results for both searches within a file and global search.
|
||||
The minimap (code overview) now shows search results for searches both within a file and global search.
|
||||
|
||||
## Integrated Terminal
|
||||
|
||||
### Improved fallback behavior when using variables in terminal.integrated.cwd
|
||||
|
||||
When using variables in the `cwd` such as:
|
||||
When using variables in the `cwd` setting such as:
|
||||
|
||||
```json
|
||||
"terminal.integrated.cwd": "${fileDirname}"
|
||||
```
|
||||
|
||||
Instead of throwing an error when a variable cannot be resolved, the terminal will now log an error to the console and fallback to the workspace directory.
|
||||
instead of throwing an error when a variable cannot be resolved, the terminal will now log an error to the console and fallback to the workspace directory.
|
||||
|
||||
### Automation shell setting
|
||||
|
||||
|
@ -310,7 +310,7 @@ To help get you started with the Remote Development extensions, there are three
|
|||
|
||||
### VS Code icons repository
|
||||
|
||||
We've published a repository of all of the [VS Code icons](https://github.com/microsoft/vscode-icons) for use by extension authors. There are dark/light versions of each icon, and we also linked to our [Figma design file](https://www.figma.com/file/7wJdjbq2rKZffZqPdz6OjN/VS-Code-Icons-%E2%80%94-Public?node-id=0%3A1) if you're 😎.
|
||||
We've published a repository of all of the [VS Code icons](https://github.com/microsoft/vscode-icons) for use by extension authors. There are dark/light versions of each icon, and we also linked to our [Figma design file](https://www.figma.com/file/7wJdjbq2rKZffZqPdz6OjN/VS-Code-Icons-%E2%80%94-Public?node-id=0%3A1).
|
||||
|
||||
![VS Code icons](images/1_38/vscode-icons-repo.png)
|
||||
|
||||
|
@ -348,7 +348,7 @@ panel.html = `<!DOCTYPE html>
|
|||
</html>`
|
||||
```
|
||||
|
||||
### Warning when creating webview without a content security policy
|
||||
### Warning when creating webview without a Content Security Policy
|
||||
|
||||
While developing an extension that uses the [Webview API](https://code.visualstudio.com/api/extension-guides/webview), we now log a warning when you create a webview that does not set a [Content Security Policy](https://developer.mozilla.org/docs/Web/HTTP/CSP).
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ When creating the `devcontainer.json` from an existing `Dockerfile` or `docker-c
|
|||
|
||||
When using Docker Compose, there is now a configuration option `"runServices"` in the `devcontainer.json` for choosing which services should be started and stopped when opening / closing the DevContainer using Compose. The default remains to start and stop all services. The `"shutdownAction"` can be used to override what happens during shutdown.
|
||||
|
||||
### Explorer
|
||||
### Remote Explorer integration
|
||||
|
||||
Containers had been added to the new Remote Explorer. You can see and manage your containers from the **Targets (Containers)** view and when you're connected to a container you can see more information about it in the **Details (Containers)** view. From the Targets view, you can open dev container folders, attach to containers, and start/stop/remove containers. From the Details view, you can forward ports and open the ports you have forwarded in a browser.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче