{"id":30754440,"url":"https://github.com/alaxxxx/codepreview","last_synced_at":"2026-06-19T01:31:24.789Z","repository":{"id":312463253,"uuid":"1047587755","full_name":"Alaxxxx/CodePreview","owner":"Alaxxxx","description":"Improves Unity code preview in the inspector","archived":false,"fork":false,"pushed_at":"2026-03-21T18:07:05.000Z","size":107,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-22T07:52:30.478Z","etag":null,"topics":["csharp","unity","unityeditor"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alaxxxx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-30T18:49:55.000Z","updated_at":"2026-03-21T18:07:08.000Z","dependencies_parsed_at":"2025-08-30T20:37:07.465Z","dependency_job_id":"dbdee4c0-b4f9-4cce-b06c-655a79f708f3","html_url":"https://github.com/Alaxxxx/CodePreview","commit_stats":null,"previous_names":["alaxxxx/codepreview"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Alaxxxx/CodePreview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alaxxxx%2FCodePreview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alaxxxx%2FCodePreview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alaxxxx%2FCodePreview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alaxxxx%2FCodePreview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alaxxxx","download_url":"https://codeload.github.com/Alaxxxx/CodePreview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alaxxxx%2FCodePreview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34514282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","unity","unityeditor"],"created_at":"2025-09-04T09:09:36.155Z","updated_at":"2026-06-19T01:31:24.780Z","avatar_url":"https://github.com/Alaxxxx.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodePreview for Unity\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Alaxxxx/CodePreview/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/Alaxxxx/CodePreview?style=flat-square\u0026logo=github\u0026color=FFC107\" alt=\"GitHub Stars\"\u003e\u003c/a\u003e\n  \u0026nbsp;\n  \u003ca href=\"https://github.com/Alaxxxx?tab=followers\"\u003e\u003cimg src=\"https://img.shields.io/github/followers/Alaxxxx?style=flat-square\u0026logo=github\u0026label=Followers\u0026color=282c34\" alt=\"GitHub Followers\"\u003e\u003c/a\u003e\n  \u0026nbsp;\n  \u003ca href=\"https://github.com/Alaxxxx/CodePreview/commits/main\"\u003e\u003cimg src=\"https://img.shields.io/github/last-commit/Alaxxxx/CodePreview?style=flat-square\u0026logo=github\u0026color=blueviolet\" alt=\"Last Commit\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Alaxxxx/CodePreview/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/Alaxxxx/CodePreview?style=flat-square\" alt=\"Release\"\u003e\u003c/a\u003e\n  \u0026nbsp;\n  \u003ca href=\"https://unity.com/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Unity-2021.3+-2296F3.svg?style=flat-square\u0026logo=unity\" alt=\"Unity Version\"\u003e\u003c/a\u003e\n  \u0026nbsp;\n  \u003ca href=\"https://github.com/Alaxxxx/CodePreview/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/Alaxxxx/CodePreview?style=flat-square\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd width=\"60%\" valign=\"top\"\u003e\n      \u003cimg alt=\"CodePreview Screenshot\" src=\"https://github.com/user-attachments/assets/44c5bade-6657-4188-9434-14d1dc6a24e0\"/\u003e\n    \u003c/td\u003e\n    \u003ctd width=\"40%\" valign=\"top\"\u003e\n\n### A powerful and customizable preview for the Unity inspector.\n\n\u003cp\u003eTired of Unity's tiny, unhelpful default inspector for scripts? \u003cstrong\u003eCodePreview\u003c/strong\u003e transforms it into a genuine productivity tool. Quickly understand, navigate, and manage your text-based assets without ever leaving the editor.\u003c/p\u003e\n\n#### ✨ Key Functionality\n- **Theme-Aware Syntax Highlighting:** Read `C#`, `JSON`, `XML` and more with beautiful highlighting that automatically adapts to Unity's Light and Dark themes.\n- **Pleasant Markdown Reading:** Instead of a plain text file, your `.md` files are presented with syntax coloring for headers, lists, and code blocks, making them far easier to read.\n- **Instant Navigation:** Instantly search through any file with highlighted results and jump directly to any line number.\n- **File Statistics:** Get instant insights at a glance: line and word counts, file size, and the last modification date.\n- **Quick Actions Toolbar:** Edit in your IDE, copy the file path, or copy the entire content to your clipboard with a single click.\n\n#### 🎯 Supported Formats\n- `C#` (.cs)\n- `JSON` (.json)\n- `XML` (.xml)\n- `YAML` (.yaml)\n- `Markdown` (.md)\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#-installation\"\u003e\u003cstrong\u003e🚀 Get Started \u0026raquo;\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003cbr\u003e\n\n## ✨ Features\n\n* **🎨 Advanced Syntax Highlighting:** A clean and readable preview for all supported languages, compatible with Unity's Light and Dark themes.\n* **📄 Rendered Markdown Preview:** View your `.md` (README) files rendered directly in the inspector for a much more pleasant reading experience.\n* **🔍 Powerful Navigation:** Instantly find what you need with a built-in search tool that highlights all matches. Jump to any line number with the `Go to Line` feature.\n* **📊 Detailed Insights:** Get a complete overview of your file: line, word, and character counts, file size, and last modification date.\n* **🧠 Smart Header:** Automatically detects and displays the script type (`MonoBehaviour`, `ScriptableObject`, etc.) for immediate context.\n* **⚙️ Highly Customizable:** Adjust the font size, preview height, and other display options in a polished foldout menu.\n* **⚡ Quick Actions:** A handy toolbar to edit the script in your IDE, ping the file, copy its path, or copy its entire content.\n\n\u003cbr\u003e\n\n## 🚀 Installation\n\nChoose your preferred installation method below. The recommended method is via Git URL.\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e1. Install via Unity Asset Store (Recommended)\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr\u003e\nThis is the easiest way to install and receive updates.\n\n1.  Open the \u003ca href=\"https://assetstore.unity.com/packages/slug/339468\"\u003eCodePreview page on the Unity Asset Store\u003c/a\u003e and click \u003cb\u003e\"Add to My Assets\"\u003c/b\u003e.\n2.  In your Unity project, open the **Package Manager** (`Window \u003e Package Manager`).\n3.  In the Package Manager window, select the **\"Packages: My Assets\"** view from the top-left dropdown menu.\n4.  Find **CodePreview** in the list and click the **\"Import\"** button.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e2. Install via Git URL\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr\u003e\n\nThis method installs the package directly from GitHub and allows you to update it easily.\n\n1.  In Unity, open the **Package Manager** (`Window \u003e Package Manager`).\n2.  Click the **+** button and select **\"Add package from git URL...\"**.\n3.  Enter the following URL and click \"Add\":\n    ```\n    https://github.com/Alaxxxx/CodePreview.git\n    ```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e2. Install via .unitypackage\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr\u003e\n\nIdeal if you prefer a specific, stable version of the asset.\n\n1.  Go to the [**Releases**](https://github.com/Alaxxxx/CodePreview/releases) page.\n2.  Download the `.unitypackage` file from the latest release.\n3.  In your Unity project, go to `Assets \u003e Import Package \u003e Custom Package...` and select the downloaded file.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e3. Manual Installation (from .zip)\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr\u003e\n\n1.  Download this repository as a ZIP file by clicking `Code \u003e Download ZIP`.\n2.  Unzip the file.\n3.  Drag the unzipped package folder into your project's `Assets` directory.\n\u003c/details\u003e\n\n\u003cbr\u003e\n\n## 🤝 Contributing \u0026 Supporting\n\nThis project is open-source under the **MIT License**, and any form of contribution is welcome and greatly appreciated!\n\nIf you find `CodePreview` useful in your workflow, the easiest way to show your support is by **giving it a star ⭐️ on GitHub!** It helps a lot with the project's visibility and motivates me to keep improving it.\n\nHere are other ways you can get involved:\n\n* **💡 Share Ideas \u0026 Report Bugs:** Have a great idea for a new feature, a supported language, or found a bug? [Open an issue](https://github.com/Alaxxxx/CodePreview/issues) to share the details.\n* **🔌 Contribute Code:** Feel free to fork the repository and submit a pull request for bug fixes or new features.\n* **🗣️ Spread the Word:** Know other Unity developers? Share this tool with them!\n\nEvery contribution, from a simple star to a pull request, is incredibly valuable. Thank you for your support!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaxxxx%2Fcodepreview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falaxxxx%2Fcodepreview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaxxxx%2Fcodepreview/lists"}