One simple thing that makes a big difference for me, and most definitely others coming to rescript too:
go:
func createUser(email string, password string) {
//...
}
tooltip:
func createUser(email string, password string)
rescript:
let createUser = (email: string, password: string) => {
//...
}
tooltip
(string, string) => unit
So which is username and which is password?
Are variable names not available to the language server? I think this would be a big improvement if its not too much of a hassle.
Yes I know rescript has named parameters and and go doesn’t, but if there are only 2 or 3 parameters (which is very common), naming them adds way too much noise.
Here’s some more:
rust:
fn createUser(email: &str, password: &str) {
//...
}
hover:
fn createUser(email: &str, password: &str)
typescript:
function creatUser(email: string, password: string) {
//...
}
hover:
function creatUser(email: string, password: string): void