Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Forest: Structural Code Editing with Multiple Cursors

ACM SIGPLAN via YouTube

Overview

Explore a novel approach to code refactoring in this 35-minute conference talk from ACM SIGPLAN. Dive into Forest, a structural code editor that bridges the gap between interactive code editors and expressive refactoring scripts. Learn about its unique structural multi-cursor design, enabling complex refactorings by performing simultaneous actions across multiple program locations. Discover how Forest combines the interactivity of text-based editors with the power of tree-based program manipulation. Examine the evaluation of Forest's capabilities in performing edits from real-world refactoring scripts and understand its potential for small-scale specialized refactorings. Gain insights into the motivation behind Forest, its comparison with find-replace and multi-cursor text editors, and its hierarchical cursor system. Conclude with a summary of Forest's strengths and potential impact on structural editing for code refactoring.

Syllabus

Motivation
Find-replace with regular expressions
Multi-cursor text editor
AST-based refactoring scripts
Multi-cursor features of Forest
Hierarchy of cursors
Evaluation
Summary

Taught by

ACM SIGPLAN

Reviews

Start your review of Forest: Structural Code Editing with Multiple Cursors

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.