codeclip

noun
UK /ˈkəʊd.klɪp/
US /ˈkoʊd.klɪp/

A codeclip is a small piece of computer code that you can copy and use again.

She saved the codeclip so she could paste it into her new program later.


OTHER MEANINGS

2. A short video clip that shows how to write or fix computer code.

He watched a codeclip to learn how to make a button work.

3. A small tool that holds pieces of code together in a project.

The codeclip kept all the helper functions in one place.

4. A quick copy of a line of code kept for later use.

I made a codeclip of that tricky line so I would not forget it.