vscode-hack
vscode-hack copied to clipboard
Hack language & HHVM debugger support for Visual Studio Code
This issue was not recently introduced. Hackfmt changed its preferred way of formatting this code. The new style breaks the syntax highlighter, as it seems to miss the end Heredoc...
``` function foo(): T where T super string { return "foo"; } ``` Currently `where` is treated as the name of a type.
Detect issues like #54, #76, #78 earlier
Hey vscode-hack friends! It looks like there is a syntax highlight bug when using shapes as a parameter in a function definition. It seems that if you define a function...
I am using the vscode-hack extension on visual code studio on macOS Big Sur. My settings.json includes following launch configuration: ``` "configurations": [ { "name": "HHVM: Run Script", "type": "hhvm",...
``` class Foo {} class bar {} class :biz {} ``` 
Closes: #94 This didn't end up being as easy as I hypothesized in the issue, but this seems like the best way to support a non-workspace root for Hack code.
I created a proof of concept that uses `hhvm --search` and Code Actions to provide a (rudimentary) namespace suggestions for unresolved symbols. **Demo here:** https://imgur.com/S9zeQue How it works: - Every...
If possible, this should deal with both entrypoint and hacktest files The latest stable vscode has two new relevant features: - 'run without debugger' commands - run/debug current file has...
``` const vec v = vec[0]; function foo(vec $v = vec[0]): void {} ``` The first occurrence of `int` is incorrectly highlighted here.