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 lifetime
Analyzes lifetime of variable at current cursor positionRustowl: Clear
Clears 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
LSP
plugin from package control -
Install
LSP-rustowl
plugin from package control -
Restart Sublime