Comments (3)
What part of it are you trying to reuse?
You should be able to open it by triggering commands from your package, and the UI is largely done by extending SelectListView.
from fuzzy-finder.
I would like to extend the ProjectView class for a package I am writing.
from fuzzy-finder.
If you want to require the ProjectView
directly you can use the following code:
path = require 'path'
packagePath = atom.packages.resolvePackagePath('fuzzy-finder')
ProjectView = require path.join(packagePath, 'lib', 'project-view')
You probably want to wrap the require
in a try/catch in case the fuzzy-finder package is disabled or not installed.
I think once this package matures a bit more we can explore exporting the classes directly on the package object.
from fuzzy-finder.
Related Issues (20)
- Flaky test: Timeout in test "toggling when the project has multiple paths socket files on #darwin or #linux does not interfere with ability to load files" HOT 2
- Uncaught TypeError: Cannot read property 'sendCrawlEvent' of undefined
- Cannot find module fuzzy-native.node when opening FFinder HOT 6
- Uncaught Error: Cannot find module '/usr/lib/atom/node_modules/@atom/fuzzy-native/build/fuzzy-nat... HOT 3
- Suggestion: Make the fuzzy finder classes exposed/exported for other plugins to use HOT 3
- Copy full path in the dialog HOT 1
- Uncaught TypeError: Cannot read property 'sendCrawlEvent' of undefined HOT 8
- `Fast` scoring doesn't match underscore as path separators on Windows HOT 6
- Can't open multi file in search box HOT 1
- Fuzzy search cannot index project HOT 8
- Make the limit of results configurable or remove it
- Could be great to get a fuzzy-finder:toggle-folder-finder, or toggle-directory-finder
- An option to allow for project-relative absolute paths?
- Uncaught Error: /usr/lib/atom/node_modules/@atom/fuzzy-native/build/Release/fuzzy-native.node: un... HOT 2
- Uncaught Error: The module '/usr/lib/atom/node_modules/@atom/fuzzy-native/build/Release/fuzzy-nat...
- Build system information
- Cannot find module 'atom' (crashed by linter-stylelint)
- Insert project, relative or absolute path of selected file
- Open in external default program
- Uncaught Error: write EPIPE HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuzzy-finder.