CodePreview 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

by Opal (opens in new tab)

5.0 / 5 · 7 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 7
4 stars 0
3 stars 0
2 stars 0
1 star 0

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

USD
Price history for CodePreview, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov Version 1.4.0 released 19 May 2026 v1.4.0

Asset preview

1 / 3

CodePreview screenshot 1

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.

https://github.com/Alaxxxx/CodePreview

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

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
6000.3.8f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.