Open yyoncho opened 6 years ago
@sebastiencs there is a check in lsp-ui-sideline--stop-p
in which the sideline is not updated when there is an active region. As a result, LSP UI does not display actions which act on selected region(e. g. Extract method). When I commented this line everything seems to work.
Can you share your thoughts?
I've set this condition because the informations on the sideline are conflicting with the region background color:
Do you want to display only actions
when the region is active or the hover
informations too ?
My main concern is that actions that require selection are not displayed(losing functionality). As for hover
info we might hide it/display information only for the region/leave it as it is, it is not a major issue for me. If you don't have a time to work on the issue, can you share your thoughs what the proper fix must be as assign the issue to me.
Some of the actions depend on selection(e. g. extract method) so they must be updated when selections changes.