Comments (2)
This isn't going to work because a lot of Hack codebases (including at Slack) have a large number of .php
files (.hack
as an extension was added relatively recently). A good workaround is to add a file association in your workspace config in the PHP-only project. This way the files will be detected as PHP and picked up by the PHP extension(s).
"files.associations": {
"*.php": "php"
},
from vscode-hack.
Thanks for the workaround Pranay, I'll give that a try.
from vscode-hack.
Related Issues (20)
- Add 'run/debug current file' configuration (new features in latest vscode update)
- Suggestion: Namespace suggestions
- Bad syntax highlighting of `final abstract class`
- Bad syntax highlighting of XHP class definitions HOT 1
- Syntax not highlighting correctly with shape as parameter HOT 1
- Visual code debugger adapter immediately dies when used with vscode-hack debugger extension HOT 1
- Remove trust mechanism
- No highlighting of enum definitions
- Publish the extension to Open VSX HOT 10
- Not working on Windows 11 with Docker HOT 1
- [Syntax Highlighting] Heredoc and nowdoc blocks don't end when it is a wrapped argument
- Highlight `where` as a keyword
- HA SIB HOT 1
- Doesn't show source code with Docker setup on Mac
- Enable Hack language server with .hhconfig not in root HOT 2
- "Variables" pane broken in debugger
- Can't find terminal output when using run-without-debug (ctrl+F5)
- Newlines added after each bit of terminal output in debugger
- Inject into text.html.markdown to support fenced code blocks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-hack.