A enhanced code preview for the inspector with syntax highlighting, search & stats.CodePreview transforms default inspector for scripts & text assets into a productivity tool, allowing you to understand, navigate, and manage your files without ever leaving the editor.Key FeaturesSyntax Highlighting: Read your code with clean highlighting.Powerful Navigation: Instantly search through any file with highlighted results or jump directly to a specific line number to find what you need.Detailed File Statistics: Get key insights at a glance: line, word, and character counts, file size, and the last modification date.Smart Header: For C# scripts, it automatically detects and displays the class type (MonoBehaviour, ScriptableObject, etc.) for immediate context.Quick Actions Toolbar: A handy toolbar to open the file in your external IDE, ping it in the project view, or copy its full path/content to your clipboard with a single click.Customizable View: Easily adjust the font size, preview area height, and toggle line numbers to fit your workflow.Supported FormatsC# (.cs)JSON (.json)XML (.xml)YAML (.yaml, .yml)Markdown (.md)The asset is free & open-source.https://github.com/Alaxxxx/CodePreviewTechnical DetailsUnity Version: Requires Unity 2021.3 or newer.Dependencies: No external dependencies are required.Supported Platforms: As an editor tool, it is compatible with all platforms supported by the Unity Editor (Windows, macOS, and Linux).AI is used for translation & documentation




