View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.4.0
- Last updated
- First released
- Unity version
- 6000.3.8 or later
- Package size
- 43 KB
- Files
- 20
- Favorites
- 20
- Views in the past week
- 9
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
CodePreview
A enhanced code preview for the inspector with syntax highlighting, search & stats.
Price Free
Get it free on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 3
CodePreview screenshot 1
About this asset
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 Features
- Syntax 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 Formats
- C# (.cs)
- JSON (.json)
- XML (.xml)
- YAML (.yaml, .yml)
- Markdown (.md)
The asset is free & open-source.
From the publisher's Asset Store listing.
Technical details
Technical Details
- Unity 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).
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.3.8f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.