Source Code viewer from Microsoft

Microsoft have released a viewer which displays various source code file formats with syntax-coloring in the preview pane. This is part of their PowerToys bundle:

The viewer supports light and dark mode, based on the system-wide theme.

(Note that the thumbnail is not from PowerToys, and instead comes from Opus's TextThumbs plugin. Only the preview pane on the right is relevant here.)

:warning: Beware - PDF viewing: :warning:

PowerToys also installs a PDF viewer which is terrible.

(It will only display 10 pages, renders everything at a very low resolution where text is barely readable, and does not render properly when you scroll some documentes.)

If you install PowerToys for its other functionality, we recommend disabling the PDF viewer part of it. You can do so from PowerToys itself, or you can do it for just Opus (and also assign PDF back to some other viewer) via Preferences / Viewer / Plugins and configuring the ActiveX + Preview + Office + Web plugin, which acts as a proxy for preview handlers in general.

I was very pleasantly surprised to discover that the Monaco-based previewer worked for FTP sites in DOpus.

2 Likes

Opus takes care of that by downloading the file before sending it to the viewer.

1 Like