Skip to content

Inline variable gone from suggestions #2791

Closed

Description

It seems the option to inline a variable is gone from the available suggestions. It used to be available I am sure but cannot find it anymore when displaying suggestions.

Environment
  • Operating System: Linux
  • JDK version: 11
  • Visual Studio Code version: 1.73.0
  • Java extension version: 1,12,0
Steps To Reproduce
  1. In a java function write:
var x=1;
var y=x+1;
  1. go to x in the second line and trigger suggestions
  2. find there is no option to inline variable x
Current Result

inline variable option is not available

Expected Result

inline variable option is available

Additional Informations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions