zhaoyu_ma 68a4e06694 1 copy原工程. 9 месяцев назад
..
i18n 68a4e06694 1 copy原工程. 9 месяцев назад
images 68a4e06694 1 copy原工程. 9 месяцев назад
lib 68a4e06694 1 copy原工程. 9 месяцев назад
src 68a4e06694 1 copy原工程. 9 месяцев назад
typings 68a4e06694 1 copy原工程. 9 месяцев назад
.gitignore 68a4e06694 1 copy原工程. 9 месяцев назад
CHANGELOG.md 68a4e06694 1 copy原工程. 9 месяцев назад
LICENSE 68a4e06694 1 copy原工程. 9 месяцев назад
README.en.md 68a4e06694 1 copy原工程. 9 месяцев назад
README.md 68a4e06694 1 copy原工程. 9 месяцев назад
jsconfig.json 68a4e06694 1 copy原工程. 9 месяцев назад
package.json 68a4e06694 1 copy原工程. 9 месяцев назад

README.en.md

References Finder

Introduction

[Cocos Creator Editor Extension]

Find asset references in seconds by one press.

Open Source

This extension is an open source project, here is the git repository: https://gitee.com/ifaswind/ccc-references-finder

If you like this project, don't forget to star star!

If you have any usage problems, just create an issue on Gitee or add my WeChat im_chenpipi and leave a message.

Screenshots

screenshot-1

screenshot-2

settings-panel

Environment

Platform: Windows、macOS

Engine: Cocos Creator 2.x

Download & Installation

Install from Cocos Store

You can find this extension in Cocos Store now, click on Extension -> Cocos Store option to open the Cocos Store.

Enter "References Finder" in the search bar, find it and then install it.

cocos-store

References Finder: https://store.cocos.com/app/detail/2531

Download from git repository

Click here or go to the release panel, download the latest version package of this extension.

And then unzip the package:

  • Windows: Unzip to C:\Users\${your username}\.CocosCreator\packages\
  • macOS: Unzip to ~/.CocosCreator/packages/

For example, on my Windows computer, the full path of package.json file should be C:\Users\Shaun\.CocosCreator\packages\ccc-references-finder\package.json.

Usage

Find Asset References

  1. Select any asset(s) in Asset Panel.

  2. Press the hotkey (The default is F6) or click on Extension -> References Finder -> Find Selected option to find references.

  3. Then all references of asset would be printed on Console Panel.

Settings

Click on Extension -> References Finder -> Setting option to open the setting panel.

  • Show Details: Show more details(node, component, property)
  • Fold Result: Fold result in one log

In the Hotkey option, you can choose a hotkey(shortcut, for finding references of current selected asset) in preset list, or you can customize one in Custom option by yourself.

One thing you should know, not every keys/keys-combinations can be used, because some keys/keys-combinations have been used by the system or Cocos Creator.

Accelerator reference: https://www.electronjs.org/docs/api/accelerator

🥳 Enjoy!


公众号

菜鸟小栈

😺 我是陈皮皮,一个还在不断学习的游戏开发者,一个热爱分享的 Cocos Star Writer。

🎨 这是我的个人公众号,专注但不仅限于游戏开发和前端技术分享。

💖 每一篇原创都非常用心,你的关注就是我原创的动力!

Input and output.