Skip to main content

TEXT_EXTENSIONS

Constant TEXT_EXTENSIONS 

Source
const TEXT_EXTENSIONS: &[&str];
Expand description

The extensions whose files the hand-off can carry a review on.

This is the hand-off’s set, not the drawing policy. The Files reader draws by the client’s per-format policy - any UTF-8 file is text, an SVG is a picture - while a hand-off keeps its commentable set exactly as it was, so a .rs document still draws as it did and an extensionless Justfile opens read-only. A language added here is one the hand-off should comment, which is a different question from whether the reader can draw it.