OctoPerf / kraken

The Load Testing IDE
https://kraken.octoperf.com/
Apache License 2.0
115 stars 56 forks source link

Improve Gatling's scripts auto-completion #12

Open geraldpereira opened 5 years ago

geraldpereira commented 5 years ago

Add auto-completion for :

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 commented 5 years ago

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