Skip to content
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

Add switch to simple text view instead of UI #18

Open
Chris2011 opened this issue Nov 5, 2024 · 5 comments
Open

Add switch to simple text view instead of UI #18

Chris2011 opened this issue Nov 5, 2024 · 5 comments
Assignees

Comments

@Chris2011
Copy link
Contributor

I really like this plugin and the UI, you made it really great and it is similar to postman, so thanks for this. Also I like the idea of what VS Code is doing with the simple http rest client, where you just open a new *.http file and you have syntax highlighting and code completion for HTTP stuff like METHODS, HEADERS, etc. So I would like to add this to so that it is synced with the UI or just switch between the UI. Atm my prio is just to add a lexer/parser for http files and switch between source and preview like a multiviewelement what you probably know from swing components in NetBeans. You can assign this ticket to me.

@javierllorente
Copy link
Owner

So it would be like a raw mode in which you can compose (or open) a json that defines your request (method, body, etc.), right?

@Chris2011
Copy link
Contributor Author

Yes, but it will be not a json it will be an own language with those HTTP commands, etc. See the vs code rest client here: https://marketplace.visualstudio.com/items?itemName=humao.rest-client

@javierllorente
Copy link
Owner

I've already seen that. To be more precise, JSON-based language :-)
Perhaps there could be two buttons under "Send": "Normal" and ".http" or something similar.
As you know, if you need feedback, let me know. Thanks!

@Chris2011
Copy link
Contributor Author

yeah, smth like that :)

@Chris2011
Copy link
Contributor Author

I just need to handle the ANTLR lexer and parser and everything else. Maybe step by step. First syntax coloring, execution of the request and next code completion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants