An open API service indexing awesome lists of open source software.

https://github.com/ichenpipi/cocos-quick-finder

[Cocos Creator 编辑器扩展] 按下快捷键打开搜索栏,输入文件名称即可快速定位文件,对于场景和预制体可以直接在编辑器中打开。
https://github.com/ichenpipi/cocos-quick-finder

cocos-creator

Last synced: 12 months ago
JSON representation

[Cocos Creator 编辑器扩展] 按下快捷键打开搜索栏,输入文件名称即可快速定位文件,对于场景和预制体可以直接在编辑器中打开。

Awesome Lists containing this project

README

          

# Quick Finder

## Introduction

[Cocos Creator Editor Extension]

**Press the hotkey to open the search bar, enter the file name then you can locate the file immediately, for scenes or prefabs you can open it directly.**

> ⚠ Attention
>
> Current branch is for **Cocos Creator 2.x**, if you're looking for **Cocos Creator 3.x** version ,please switch to branch `ccc-v3`, Click [here](https://gitee.com/ifaswind/ccc-quick-finder/tree/ccc-v3/) to switch branch immediately.

## Open Source

This extension is an open source project, here is the git repository: [https://gitee.com/ifaswind/ccc-quick-finder](https://gitee.com/ifaswind/ccc-quick-finder)

If you like this project, don't forget to star [![star](https://gitee.com/ifaswind/ccc-quick-finder/badge/star.svg?theme=dark)](https://gitee.com/ifaswind/ccc-quick-finder/stargazers)!

*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](https://gitee.com/ifaswind/image-storage/raw/master/repositories/ccc-quick-finder/screenshot-1.png)

![screenshot-2](https://gitee.com/ifaswind/image-storage/raw/master/repositories/ccc-quick-finder/screenshot-2.png)

![screenshot-2](https://gitee.com/ifaswind/image-storage/raw/master/repositories/ccc-quick-finder/screenshot-3.png)

![search-bar](https://gitee.com/ifaswind/image-storage/raw/master/repositories/ccc-quick-finder/search-bar.png)

![setting-panel](https://gitee.com/ifaswind/image-storage/raw/master/repositories/ccc-quick-finder/setting-panel.png)

## 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 "**Quick Finder**" in the search bar, find it and then install it.

![cocos-store](https://gitee.com/ifaswind/image-storage/raw/master/repositories/ccc-quick-finder/cocos-store.png)

*Quick Finder:[http://store.cocos.com/app/detail/2745](http://store.cocos.com/app/detail/2745)*

### Download from git repository

Click [here](https://gitee.com/ifaswind/ccc-quick-finder/releases) 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 `main.js` file should be `C:\Users\Shaun\.CocosCreator\packages\ccc-quick-finder\main.js`.

## Usage

### Search and open scene/prefab

1. Press the hotkey (The default is `F1`) or click on *Extension -> Quick Finder -> Search* option to open the search bar.

2. Enter the keyword then you'll get a list of results.

3. Scroll the mouse wheel to scroll through the list; press the `Up Arrow` or `Down Arrow` to select file; press the `Left Arrow` or `Right Arrow` to locate the current selected file in Assets Panel.

4. Find and select your target file, click on it or press `Enter` to open(only for scenes and prefabs) or locate it in Assets Panel(for other files).

And then, click on anywhere outside the search bar or press `ESC` to close the search bar.

### Settings

Click on *Extension -> Quick Finder -> Settings* option to open the setting panel.

In the setting panel, you can choose a hotkey(shortcut, for opening the search bar quickly) in preset list, or customize one 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](https://www.electronjs.org/docs/api/accelerator)*

🥳 Enjoy!

## Change log

[Releases](https://gitee.com/ifaswind/ccc-quick-finder/releases)

## Dependencies

- [cocos-creator](https://github.com/cocos-creator)
- [electron](https://github.com/electron/electron)
- [vue](https://github.com/vuejs/vue)
- [node-fetch](https://github.com/node-fetch/node-fetch)

## License

This project is licensed under the [MIT license](https://opensource.org/licenses/MIT).

---

# 公众号

## 菜鸟小栈

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

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

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

> Input and output.

![](https://gitee.com/ifaswind/image-storage/raw/master/weixin/official-account.png)