Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>WhatTheDuckNew to Visual Studio Code? Get it now.
WhatTheDuck

WhatTheDuck

WhatTheDuck

|
24 installs
| (0) | Free
WhatTheDuck is an AI-powered assistant designed to boost your refactoring experience in VSCode. Not only is it a powerful tool, but it also takes the form of a Rubber Duck: the iconic problem-solving companion every developer needs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WhatTheDuck README

WhatTheDuck is an AI-powered assistant designed to boost your refactoring experience in VSCode. Not only is it a powerful tool, but it also takes the form of a Rubber Duck: the iconic problem-solving companion every developer needs.

Features

WhatTheDuck is capable of applying one or multiple refactorings at once to a particular Java file, namely:

  • Rename Variables
  • Inline Temporary Variables
  • Extract Variables
  • Extract Methods
  • Rename Methods
  • Inline Methods
  • Replace Temp with Query
  • Remove Assignments to Parameters
  • Remove Parameter
  • Replace Magic Number with Symbolic Constant
  • Consolidate Duplicate Conditionals
  • Remove Nested Conditionals

Moreover, it is possible to preview WhatTheDuck's changes before applying them to your code! You can then accept or reject those changes. Below, we present a preview of WhatTheDuck's capabilities so far:

Example

Release Notes

0.0.1 - 0.04

  • Initial release of WhatTheDuck
  • RenameVariables refactoring is implemented
  • Fixed issue with extension logo
  • Fixed README

1.0.0

  • Multiple refactoring options were added
  • It is possible to select one or multiple refactoring options to apply at once to your Java file
  • You can now preview the changes before accepting or rejecting them

Contributions

This project is being equally developed by:

  • João Fernandes
  • Pedro Madureira (PO)
  • Sofia Pinto (SM)
  • Tomás Gaspar
  • Tomás Palma
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft