-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does this plugin support script completion? #100
Comments
Code completion for Javascript I have not currently implemented. The implementation means several changes, for which I currently do not find the time. One would have to change the connection from httpyac to VSCode to LSP. From then on you could include the CodeCompletion similar to vetur. This would also allow formatting, .... ### @name example
GET example.org
?foo=value
{{
require('script.js`)(response);
}} module.exports = function (/**@type {import('httpyac').HttpResponse}*/ response) {
console.info(response.parsedBody.data.length);
} |
Okay,thank you for replay😃 There are still some small details that need to be improved like what I have mentioned |
The change is not small:-) But yes, you can still improve quite a bit. If you are interested, I am open to PR, but this change would be rather advanced. But there are still some more construction sites, which I want to attack (RabbitMQ, Debugging Adapter, ...) |
I really want to do it, but unfortunately I'm a back-end engineer.😭 Anyway, thank you for developing such a good plugin |
:-) I thought so too for a long time. And there's a reason why the whole thing doesn't have a GUI, like maybe postman or hoppscotch:-) |
GUI is not very useful.I’d rather test api from file by using ide, it’s more easily faster and freedom |
I am closing the ticket to combine all the requirements related to the implementation of LSP into one issue (#101) |
when i type response key word, there is no code hinting
The text was updated successfully, but these errors were encountered: