Update version info and changelog

This commit is contained in:
James-Yu 2018-01-05 17:17:59 +08:00
parent 965bf91486
commit 98bf3a5bfa
3 changed files with 14 additions and 4 deletions

View File

@ -1,5 +1,15 @@
# Change Log
## [3.12.0] - 2018-01-05
### Added
- (#363) Integrate nfode/latex-formatter with fix for indent.log @zoehneto.
### Fixed
- (#359) Fix PDF viewing with ipv6 address @caidao22.
- (#361) Comments may contain latex commands that should not be read @jsinglet.
- (#365) Remove `$` auto-pairing.
## [3.11.0] - 2018-01-02
### Added
- Add conflict extension check.

View File

@ -3,7 +3,7 @@
"displayName": "LaTeX Workshop",
"description": "Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.",
"icon": "icon.png",
"version": "3.11.0",
"version": "3.12.0",
"publisher": "James-Yu",
"license": "MIT",
"homepage": "https://github.com/James-Yu/LaTeX-Workshop",

View File

@ -19,11 +19,11 @@ export class Server {
this.extension.logger.addLogMessage(`Error creating LaTeX Workshop http server: ${err}.`)
} else {
const {address, port} = this.httpServer.address()
if (address.indexOf(':')>-1) {
if (address.indexOf(':') > -1) {
// the colon is reserved in URL to separate IPv4 address from port number. IPv6 address needs to be enclosed in square brackets when used in URL
this.address = `[${address}]:${port}`;
this.address = `[${address}]:${port}`
} else {
this.address = `${address}:${port}`;
this.address = `${address}:${port}`
}
this.extension.logger.addLogMessage(`Server created on ${this.address}`)
}