Releases: slackhq/vscode-hack
Releases · slackhq/vscode-hack
v2.0.0
- Remote language server connection support — You can now connect to an external development environment for Hack typechecking, linting and all other intellisense features. Current supported methods are SSH and Docker. See the Remote Development section in README.md for more details.
- This version may cause breaking changes to your existing setup if you were already using Docker via a custom
hack.clientPath
executable. - The
hack.workspaceRootPath
config has been renamed tohack.remote.workspacePath
.
- This version may cause breaking changes to your existing setup if you were already using Docker via a custom
- Running the extension with LSP mode disabled is now unsupported. It will be fully removed in a future version of the extension.
v1.2.1
v1.2.0
- Support for
.hack
files — VS Code will automatically classify files with the.hack
extension as Hack, and these files will now syntax highlight correctly even without the<?hh
opener. (.hack
files are supported in HHVM 4.0.0 onward, so you will see typechecker errors if you are using them with an earlier version).
v1.1.0
- Moved project repository to https://github.com/slackhq org and added required notices and docs
- Enabled LSP request tracing for hhast-lint
- Fixed typo in hhast-lint security prompt text
- Language syntax now tracks atom-ide-hack project
v1.0.1
- Add automatic LSP request tracing via new
hack.trace.server
config option (thanks @auchenberg!)
v1.0.0
- Integration with HHAST Linter (thanks @fredemmott!). The extension now supports Hack linting and autofixing via HHAST (v3.27.2 or later required). Set up linting for your project by following instructions in the HHAST library, then look at workspace-specific linter settings in the extension Configuration section.
- Type coverage now uses the language server
- [Fix] Output panel will no longer automatically steal focus on extension errors
v0.8.5
- Only send LSP requests for documents with
file://
scheme - Send LSP initializtion option to use text edit autocomplete (fixes broken variable completion)
v0.8.4
- Syntax highlighting for
.hhconfig
file - Added support for showing related messages for an error when running in non-LSP mode
v0.8.3
- Fixed bug in debug launch mode to correctly recognize extra args passed to HHVM
v0.8.2
- Documents are now recognized as Hack if they start with a shebang pointing to an HHVM executable (e.g.
#!/usr/bin/hhvm
), regardless of extension - Debugger bug fixes (stop debug session from getting stuck on bad socket connection, copy configuration snippet templates correctly)