Open jaybosamiya opened 5 years ago
I think this is F* side; we just jump to the position it reports. But we could work around it on our side if needed. Here's I'd go about it (I don't have time to dive into it myself atm, but I think you could give it a try):
I would predicate the last part on a setting, but I wouldn't object to making jumping to the fsti the default.
Currently,
M-.
(fstar-jump-to-definition
) jumps to the fst of the module, when we do it over anopen ModuleName
, even if anfsti
exists. I think it would be better if it were to jump over to the fsti and rely on a user to pressC-c C-a
(fstar-visit-interface-or-implementation
) if need be to jump over to the implementation.Not sure if this is something that needs to be fixed on the compiler side or on the
fstar-mode
side, but it would be a nice QoL improvement.