brownplt / code.pyret.org

Website for serving Pyret to folks.
Other
24 stars 45 forks source link

Search and replace #159

Open jamy015 opened 7 years ago

jamy015 commented 7 years ago

Search and replace functionality on code.pyret.org would be really great.

schanzer commented 5 years ago

CodeMirror actually has an add-on for this: https://codemirror.net/doc/manual.html#addon_search

It uses an overlay that can be hidden when not in use, so it's actually pretty UI-friendly. This came up in a Data Science workshop today, where several teachers had written some analysis for a particular column, and realized that they wanted to call it something else -- this is a classing find-and-replace task, and automating it would have been really handy