This plugin will add rustowl support to Sublime Text using sublime LSP
That plugin will automaticly show lifetime of an variable at your'e cursor position. You can also configure it to use mouse position, or none.
If you set property rustowl.hover_type to "none", you can use next commands at command pallete (ctrl + shift + p):
Rustowl: Analyze lifetimeAnalyzes lifetime of variable at current cursor positionRustowl: ClearClears all lifetime highliting on current view
To configure that plugin open commande pallete (ctrl + shift + p) and enter Preferences: LSP-rustowl Settings
Clone LSP repository and this repository into your'e sublime Package folder.
Instalation (CURRENTLY UNAVAILABLE IN PACKAGE CONTROL, SEE #1)
-
Install
LSPplugin from package control -
Install
LSP-rustowlplugin from package control -
Restart Sublime