Let's craft automated refactorings ourselves!
Main Conference - Hands-on Lab
Tickets
- Speakers
Nicolas Carlo
- Description
Performing safe, pure refactorings can make a big difference in your code maintainability. Some IDEs have automated some moves in some languages.
But what if you are using VS Code with PHP? Or Python? Or JavaScript?
What if you could craft your own refactorings and introduce a new Value Object with a single keystroke?
In this hands-on lab, I will show you how to build a VS Code extension that refactors JavaScript code. You'll learn how to manipulate the Abstract Syntax Tree (AST) to automate code transformations for you!
Prerequisites
- A laptop with git, Node.js, and VS Code installed
- Knowledge of JavaScript and TypeScript would help, but not mandatory
About Nicolas Carlo
Nicolas is a freelance web developer who loves building communities and maintainable software.
When he's not cooking crêpes for his family, he organizes the "Software Crafters Montréal" meetup and develops VS Code extensions.
He shares tips & tricks to work with Legacy Code on his blog: https://understandlegacycode.com