Skip to content

Releases: slackhq/vscode-hack

v2.0.0

06 Mar 20:38
c845b16
Compare
Choose a tag to compare
  • 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 to hack.remote.workspacePath.
  • 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

20 Feb 00:02
Compare
Choose a tag to compare
  • Fixed #40 — Syntax highlighting breaks for .hack files that contain <?hh.

v1.2.0

12 Feb 19:53
Compare
Choose a tag to compare
  • 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

12 Nov 18:25
Compare
Choose a tag to compare
  • 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

27 Jul 05:17
Compare
Choose a tag to compare
  • Add automatic LSP request tracing via new hack.trace.server config option (thanks @auchenberg!)

v1.0.0

19 Jul 20:36
Compare
Choose a tag to compare
  • 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

10 Jul 05:39
Compare
Choose a tag to compare
  • 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

05 Jun 04:58
Compare
Choose a tag to compare
  • Syntax highlighting for .hhconfig file
  • Added support for showing related messages for an error when running in non-LSP mode

v0.8.3

30 May 20:35
Compare
Choose a tag to compare
  • Fixed bug in debug launch mode to correctly recognize extra args passed to HHVM

v0.8.2

28 May 19:10
Compare
Choose a tag to compare
  • 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)