New Issue: [Feature Request]: Support more complex refactors for CLS

24748, "jabraham17", "[Feature Request]: Support more complex refactors for CLS", "2024-04-02T19:01:51Z"

We should be able to support more types of automatic refactors for CLS. Currently we support renaming variables and resolving some deprecations.

For example, when writing Python code I can factor out an expression out as a variable
Screenshot 2024-04-02 at 11 58 44 AM

Some ideas for possible refactors

  • factor an expression out to a new variable/constant
  • factor a block of code out into a new function