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
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.
No comments:
Post a Comment