Right-click the file in the Project Manager.
Code refactoring is the process of improving the source code of a program without changing the overall result. Generally, code refactoring improves code readability and maintainability.
The VS Code extension supports various refactoring techniques like renaming, searching, and previewing of CFCs, CFMs, and UDFs at the project and workspace levels.
Refactor CFC or CFM filenames
When you rename a CFC or CFM, you can refactor all valid instances of the CFM or CFC, including all references to the CFM or CFC.
Check where the refactored UDF or CFC or CFM has been used in the project.
Right-click the file and select Find File References.
Refactor function or variable
When you rename a function or variable, you can refactor all valid references of the function or variable.