-
Hey! I been wanting to create a language server that gives code actions for js/ts in general and frontend in frameworks/libs. Mostly inspired by https://github.com/wix-incubator/vscode-glean, https://github.com/xsburg/vscode-javascript-booster and other code transformations from products like the IDEs from Jetbrains. Now my question is, can I use oxc to parse the file and transform the code (something like https://github.com/facebook/jscodeshift can do, parse to an AST, modify the AST and apply those modifications)? I see that there is a package for parsing and transforming the code but from the APIs and features mentioned in the docs is not clear to me if that's possible. If you need more context just let me know, I'm very new to this stuff, sorry if it's not clear from the beginning. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
In Rust yes by using crates. In JavaScript no by using npm package. |
Beta Was this translation helpful? Give feedback.
In Rust yes by using crates. In JavaScript no by using npm package.