Better JS language integration for Pre-Request scripts and Test scripts (#1422)

* Add tern as dependency

* Add build rule to transpile mjs

* Initial implementation of the auto complete engine

* Separate out the tern server code to separate file

* Added extra type defs for tern server

* Boost the pw completion result to the top of the list

* Added acorn and acorn-walk as dependency

* Semantic linting powered by tern

* Fix DeepCode warnings for js-editor

* Remove unused registerLint tern extension

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
Andrew Bastin
2021-01-21 20:34:02 -05:00
committed by GitHub
parent ff418ad55f
commit c5dff96f57
11 changed files with 2433 additions and 35 deletions

View File

@@ -507,6 +507,7 @@
useWorker: false,
}"
styles="rounded-b-lg"
completeMode="pre"
/>
</li>
</ul>
@@ -548,6 +549,7 @@
useWorker: false,
}"
styles="rounded-b-lg"
completeMode="test"
/>
<div v-if="testReports.length !== 0">
<div class="row-wrapper">