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

Improve Gatling's scripts auto-completion #12

Open
geraldpereira opened this issue Jun 12, 2019 · 1 comment
Open

Improve Gatling's scripts auto-completion #12

geraldpereira opened this issue Jun 12, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request frontend

Comments

@geraldpereira
Copy link
Contributor

Add auto-completion for :

  • asJson
  • headers
  • Http Proxy configuration
  • SSE
  • WebSockets
  • JMS

Use a Scala parser?

Use JS version instead?
https://github.com/antlr/antlr4/blob/master/doc/javascript-target.md

Install Antlr locally https://www.antlr.org/download.html
Generate the parser java -Xmx500M -cp antlr-4.7.2-complete.jar org.antlr.v4.Tool -Dlanguage=JavaScript Scala.g4
Use the genrated code
https://stackoverflow.com/questions/40463441/typescript-how-to-import-a-class-from-a-javascript-fil

@geraldpereira geraldpereira added enhancement New feature or request frontend labels Jun 12, 2019
@geraldpereira
Copy link
Contributor Author

Must also set the embedded documentation to the proper cheat sheet entry when an autocomplete is done.

@geraldpereira geraldpereira self-assigned this Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend
Projects
None yet
Development

No branches or pull requests

1 participant