Add an optional limited editor mode

Open
#73 1 comment 0 reactions 1 assignee View on GitHub

@moon-jam is already working on this.

Since Sep 21, 2026.

Assessment

This issue has not been assessed yet.

Description

Motivation

PR #59 added automatic indentation to make writing code during an interview more convenient.

However, some interview environments provide less assistance. For example, candidates may be asked to write code in Google Docs, where automatic indentation and syntax highlighting may not be available, the editor may not use a monospace font, and there may be no way to compile or run the code.

For practice, it could be useful to reproduce these constraints instead of always providing the full editor experience.

Proposal

Add a selectable limited editor mode while keeping the current editor behavior as the default.

The limited mode could restrict features such as:

  • automatic indentation
  • syntax highlighting
  • code execution
  • monospace font

The exact set of restrictions could be decided separately. The main idea is to provide an option that more closely resembles interview environments with limited coding tools.

I'd also like to hear any thoughts on potential issues or trade-offs with this approach.

Dominant language
Rust
Stars
54
Forks
8
Avg merge
11h 57m
Merged PRs (30d)
44

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sysprog21/codetrial

All issues in sysprog21/codetrial

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.