Unsupported JS import statements & other JS syntax
We have been making use of IntelliJ IDEA's Javascript import syntax, however this prevents us from using the HTTP request files with httpYac because httpYac does not support import statements (it expects require). And unfortunately, httpYac's require syntax is not supported in IntelliJ, so there appears to be currently no cross-IDE solution. Is there any chance for httpYac for VSCode to add support for JS import statements?
Also:
- This JS syntax works in IntelliJ but doesn't work in httpYac:
-
const match = response.body.match(/foo/i)(need to change it toconst match = String(response.body).match(/foo/i)) -
client.log("match", match)(need to change it toclient.log("match: " + match))
-
- The feature comparison says that IntelliJ doesn't have some features although these features actually exist:
- CLI: see documentation
- "Built-in Preview Support": see the small preview button beside the raw response, it allows to see the rendered HTML response. The documentation shows that it's also possible to preview PDF and image responses.
Thanks for building this great tool!
Tested with httpYac 6.16.14
I have also ran into this problem and would like to see IntelliJ-compatible import statements supported.
I can't agree more -- this is a fantastic tool!
+1 here. This would be great to have the compatibility across plugins!