update changelog and readme for 0.4.0

This commit is contained in:
andreamah 2022-08-26 10:52:08 -07:00
Родитель 676d7d3d28
Коммит a880eeaeb9
4 изменённых файлов: 18 добавлений и 3 удалений

Просмотреть файл

@ -1,4 +1,12 @@
# Changelog
## 0.4.0 (August 31, 2022)
- Added better multi-root support that opens a new server for each root. Paths relative to the root now work on multi-root. [#143](https://github.com/microsoft/vscode-livepreview/issues/143)
- Localization support. [#221](https://github.com/microsoft/vscode-livepreview/issues/221)
- Status bar setting removed in favor of using VS Code's native functionality to hide status bar contributions. [#269](https://github.com/microsoft/vscode-livepreview/issues/269)
- Fixed debug to track breakpoint on correct line. [#295](https://github.com/microsoft/vscode-livepreview/issues/295)
- Removed extension activation triggerring when simply on an HTML file. [#272](https://github.com/microsoft/vscode-livepreview/issues/272)
## 0.2.13 (July 29, 2022)
- Support Unicode characters (e.g. Chinese characters) in filenames. [#131](https://github.com/microsoft/vscode-livepreview/issues/131)
- Page-based opt-out of live refreshing using the `data-server-no-reload` body attribute. [#241](https://github.com/microsoft/vscode-livepreview/issues/241)
@ -12,11 +20,11 @@
## 0.2.10 (November 29, 2021)
- Added support for IPv6 addresses to the `livePreview.hostIP` setting. [#179](https://github.com/microsoft/vscode-livepreview/issues/179)
- Fixed an issue with dismissing the search widget when pressing the Esc key. [#130](https://github.com/microsoft/vscode-livepreview/issues/130)
- Fixed an issue with using keybindings when focused on embedded preview. [#119](https://github.com/microsoft/vscode-livepreview/issues/119)
- Fixed an issue with using keybindings when focused on embedded preview. [#119](https://github.com/microsoft/vscode-livepreview/issues/119)
## 0.2.9 (September 30, 2021)
- Fixed an issue with the find widget icon background. [#156](https://github.com/microsoft/vscode-livepreview/issues/156)
- Fixed an issue that causes the find widget to flicker while navigating through matches. [#157](https://github.com/microsoft/vscode-livepreview/issues/157)
- Fixed an issue that causes the find widget to flicker while navigating through matches. [#157](https://github.com/microsoft/vscode-livepreview/issues/157)
## 0.2.8 (August 12, 2021)
- Fixed Custom IP Error on Local Session. [#140](https://github.com/microsoft/vscode-livepreview/pull/#140)

Просмотреть файл

@ -77,11 +77,18 @@ No workspace? No problem! For a quick preview of your file, the server can also
![no-workspace-preview](https://raw.githubusercontent.com/microsoft/vscode-livepreview/main/img/no-workspace-preview.gif)
Notes about workspace-less extension use:
- Files without a workspace will be served on its own server instance and will use its absolute path as the file path.
- Linked files for these pages may not be correct if they are relative to a specific root (e.g. a project root).
- Tasks do not work outside of a workspace, so a server will just launch in the background upon external preview when outside of a workspace. You can use the `Live Preview: Stop Server` command to kill the server in this case.
### Multi-root Support
The different workspaces will be assigned specific server endpoints, allowing you to easily preview files in all of your workspaces.
Live Preview works cleanly with your multi-root workspaces! It will simply open an additional server for each root that you open a preview on.
![multi-root-demo](img/multi-root-demo.gif)
You can view the ports that are open for Live Preview by hovering the status bar indicator (usually located in the bottom-right corner of the window).
![multi-server-ports](img/server-status.png)
## Running the extension
You can install the extension [in the marketplace here](https://marketplace.visualstudio.com/items?itemName=ms-vscode.live-server). To contribute, see the [contributing page](https://github.com/microsoft/vscode-livepreview/blob/main/CONTRIBUTING.md).

Двоичные данные
img/multi-root-demo.gif Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.0 MiB

Двоичные данные
img/server-status.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 31 KiB