Clipboard and document icon with a paste arrow, representing copy-paste limits in the CodeGrade code editor
July 27, 2026

You Can Now Limit Copy-Pasting in the CodeGrade Code Editor

Students can paste a complete solution into an editor in one keystroke. It might come from ChatGPT, a classmate, or Stack Overflow. Either way, the work you wanted them to do never happens.

CodeGrade now lets you do something about it. As of July 13, you can set a paste limit on any assignment that uses the in-browser code editor. You decide how much text students may paste at once, from a generous cap all the way down to blocking pasting entirely.

How it works

The setting lives in the assignment configuration, so you make the call per assignment, not per course.

  • Set a paste size limit. Choose the maximum amount of text a student can paste in one go. Small snippets still work. Wholesale solutions do not.
  • Or block pasting entirely. For assignments where every character should be typed, set the limit to zero.
  • Or leave it off. Nothing changes for an assignment until you configure a limit. Existing assignments behave exactly as before.
  • It applies inside the CodeGrade editor. The same browser-based editor students already use, embedded in Canvas, Blackboard, Moodle, and Brightspace, with no extra software to install.

What this means for your course

Different assignments need different rules, and you hold the lever for each one.

In an intro course, typing the code is part of learning the code. A tight paste limit nudges students to engage with every line instead of shuttling text between tabs.

In a coding exam, a paste block adds one more layer to session lockdown, IP restrictions, and access passwords. A student cannot dump a prepared solution into the editor in one move.

In a project course, you might not want a limit at all. Reusing boilerplate is normal engineering. Leave pasting open where it makes sense. CodeGrade does not decide this for you. You do, per assignment.

What didn't change

Be clear about what this feature is: deterrence, not surveillance.

The limit applies to pasting inside the CodeGrade code editor. CodeGrade does not monitor the rest of the browser or the clipboard outside the editor. A determined student can still retype code they found elsewhere. That is why paste limits work best alongside plagiarism detection, which compares the structure of submissions across your class, and exam mode, which locks the CodeGrade session. For full browser lockdown, CodeGrade integrates with proctoring tools like Lockdown Browser.

The editor itself is unchanged. Same syntax highlighting, same autograder feedback inline, same zero-setup experience for students.

Try it

Paste limits are live now in the assignment configuration. Set one on your next assignment and see how it fits your course.

Start free. Free for courses up to 50 students. No trial, no expiration.

Set up your fall course for free!

Continue reading

Everything CodeGrade Shipped in Q2 2026

See all 14 CodeGrade releases from Q2 2026: simpler login and enrollment, faster AutoTest setup, a context-aware AI assistant, and exam fixes. Start free.

What is Gradescope?

What is Gradescope? An honest explainer of what it does, what it is good at, and when a code-first alternative like CodeGrade fits better. Start free up to 50.

Exam Heartbeat: Live Monitoring for Proctored Coding Exams

Exam Heartbeat detects when students leave the exam window mid-session. Live monitoring for proctored coding exams, no extra setup.

Sign up to our newsletter