Code Monkey home page Code Monkey logo

findreferencesinproject2's Introduction

Find References In Project 2

Find asset references super fast in Unity project. Both on macOS and Windows.

Snapshot

Usage

  1. Select asset in Project view and click Ctrl+Alt+Shfit+F.
  2. Right click asset in Project view and select Find References In Project in popup menu.

Feature

  1. It's super fast on macOS and Windows if using SSD.
  2. Show searching progress, max waiting time is 300s.
  3. Show every reference in Console and you can click message to select object.
  4. Show result in warning and summarize all references.

Speed

macOS

It only takes less than 2 seconds to complete search, it uses mdfind to utilize Spotlight index to speed up searching.

Windows

It use the fastest ripgrep to search text and do a lot of optimization on file size and count.

So it would takes about 5 seconds to search ~700M and ~7000 files on SSD.

Install

macOS

  1. Clone repository into Assets/Editor directory.

Job done! It just uses the mdfind built in macOS and has no other dependencies.

Windows

  1. Clone repository into Assets/Editor directory.
  2. Download ripgrep from Latest release · BurntSushi/ripgrep and extract rg.exe to Tools\FindReferencesInProject2 directory.
  3. Click Unlock file in rg.exe Properties, or you will find it takes too long time to start first time.

Note: It seems that x86_64-pc-windows-msvc has a smaller size in ripgrep release page.

Environment

  • Windows 10
  • macOS 10.13.6 and 10.14
  • Unity 2017.4.2f2 and 2018.2.0f2
  • ripgrep 0.10.0

Acknowledgement

findreferencesinproject2's People

Contributors

networm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.