do you familiar with any open-source that support.js file + typescript (with some definitions) that parse files + have any API for IntelliSense? After the parsing, I want to send parser any member + '.' and then get a list of method (like IntelliSense on editor support)?
I want to integrate it and show member list dialog on my editor
// exmple :
class User {
myTest() {
alert(this.name);
}
}
let user = new User();
user. // I will get here method myTest()
Regards Oren
Sure thing, there is V8 — the JS engine used in Chrome & Node, developed by Google & open sourced. GitHub mirror is also available. Documentation .
For es6/typescript, typescript language server -https://github.com/sourcegraph/javascript-typescript-langserver For es5, tern js is one library that you can check out - https://ternjs.net/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.