PrestoSoft Blog :: Home

Friday, January 06, 2023

ExamDiff Pro 14.0: Portable Version

Version 14.0 will introduce the ability to run ExamDiff Pro as a portable application. This means that you'll be able to run it without installing it, and without modifying your Windows configuration in any way (i.e. without moving any files anywhere or making any changes to your Windows Registry). Portable mode can be useful in situations in which you want to run ExamDiff Pro on a computer that is not yours, if you want to run ExamDiff Pro off a USB drive, etc.

The portable version of ExamDiff Pro will be a separate ZIP file that you download separately from the regular, non-portable version. Here's what the contents of this ZIP file look like:

The portable version of ExamDiff Pro supports all of the same features as the regular version of ExamDiff Pro except for the Windows Explorer Shell extension, which requires installation to function.

You can tell if you are currently running the portable version of ExamDiff Pro from the Help | About dialog:

Labels: , ,

Wednesday, January 04, 2023

ExamDiff Pro 14.0: Automatic Programming Language Detection

ExamDiff Pro 14.0 will introduce a much-requested feature: automatically detecting document types based on file content. In other words, ExamDiff Pro will now automatically detect programming languages for source code files, in turn enabling features like syntax highlighting and the scope bar. This feature works for all built-in document types in ExamDiff Pro and is powered by the the open-source Guesslang machine-learning library.

Automatic document type detection is turned on by default and can be toggled in Options | Document types:

Now, if we paste some TypeScript code into a blank comparison window and it will automatically get detected as TypeScript, with syntax highlighting and scope bar features enabled:

More precisely, auto-detection will happen in the following situations (when the Automatically detect file type for unknown extensions option is enabled):
  • a file is compared either without a extension or with an extension that doesn't correspond to any known ExamDiff Pro doctype
  • a comparison is initiated from clipboard contents
  • text is pasted into a comparison window from the clipboard
Note that plain-text files (or any other files that Guesslang isn't sure about) will be auto-detected as the Default/Plain Text doctype, which disables features like syntax highlighting. This means that for files that aren't source code, ExamDiff Pro will continue to work as usual even with doctype auto-detection turned on.

Even if you have disabled the Automatically detect file type for unknown extensions option, you can also manually trigger doctype auto-detection at any time by selecting Set Document Type | Auto Detect from the context menu.

Lastly, note that this feature is already enabled in DiffNow, our free online file comparison tool powered by ExamDiff Pro. Simply paste any source code into it and DiffNow will auto-detect the doctype during comparison.

Labels: , , ,