rescript-compiler
rescript-compiler copied to clipboard
Add completion for throw keyword
rescript
npm i https://pkg.pr.new/rescript-lang/rescript@7905
@rescript/darwin-arm64
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7905
@rescript/darwin-x64
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7905
@rescript/linux-arm64
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7905
@rescript/linux-x64
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7905
@rescript/runtime
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@7905
@rescript/win32-x64
npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7905
commit: 7dc6ff1
Maybe this should more autocomplete JsError.throwWithMessage("Hello!") and JsExn.throw("some non-error value!") instead. (docs)
I cannot ever remember those things and I basically want to have something show up when I type the throw keyword. (Or I'm typing toward that keyword, should trigger on thr as well).
I'm okay with leaving the camels behind.