Giter Site home page Giter Site logo

off-plugin's Introduction


Looking for maintainers, who want to take over the development!


Open File Fast

Introduction

Open File Fast is a plugin for Netbeans IDE which allows you to quickly find and open files in your projects.

It is inspired by Textmate's quick open file dialog. However, it has a lot more features. Basically it works like this: you type only several characters of filename you are searching for and you get list of all files matching your pattern. For example, when you are looking for FooBar.java you can type fbj and you will find it. It really helps navigating through the project (especially bigger ones) as you don't need to use a mouse nor locate a filename visually in project tree but just use filename shortcuts.

Download

You can download the plugins from the releases page.
The NetBeans plugin can be downloaded from the NetBeans Plugin Portal ≤8.0, ≥8.1

Key features of Open File Fast

  • Quick finding and opening any file from selected project
  • Two matching modes:
    • Smart (like in Textmate, matching filenames must contain all typed characters, they can be separated by other characters)
    • Exact (like Netbeans' Go-To-File, matching filenames must contain exact phrase)
  • Matching from start of filename or anywhere in filename
  • Support for * wildcard in exact mode
  • Changing minimum entered pattern length needed for searching (default: 3)
  • Changing delay (time from last keystroke) after which searching starts (default: 300ms)
  • Optional cleaning of search input field when O-F-F window opens
  • Hiding files you don't work on (matching specified regular expresions) from results
  • Moving less important files (matching specified regular expresions) to the bottom of results list
  • Results sorted by:
    • File popularity (files opened frequently at the top of list)
    • Match accuracy (distance between characters from search phrase in matched filenames)
  • Opening multiple files at once (selected with ctrl/shift + mouse)
  • Switching between search history entries by CTRL-Up/CTRL-Down

Usage

Open File Fast plugin installs itself in Netbeans' Navigate menu as Open File Fast. I recommend creating a keyboard shortcut for it in Tools/Options/Keymap/Project.

When invoked, it opens a search dialog. Type some characters from filename you want to find. Some as you may skip any characters you want. Use * as a placeholder for any text. You can narrow down the search to files in specified directory by typing a directory prefix followed by slash and then a filename pattern.

For example, type:

  • user when looking for user.rb or UberServer.java
  • ush when looking for users_helper.rb
  • *.js when you want to list all javascript files (* is not needed here if "Matching from start of filename" is turned off in preferences)
  • a/m/ when you want to list all files in app/models directory
  • a/v/s when you are looking for show.html in app/views directory

Configuration

Open File Fast can be set up to your own preferences and to match your own workflow. You can configure it under Open File Fast tab in Netbeans' Miscellaneous options.

Updates

1.3.1.0

  • [Bugfix]: Fixed issue in PHP projects, where the source dir was not within the project dir (use source roots for filtering instead)

1.3.0.5

  • [Feature]: Allow manual indexing (introduced reindex button)
  • [Feature]: Switch between search history using CTRL-Up/CTRL-Down
  • [Feature]: Searching for directories should also start at source-/resource roots of the project
  • [Feature]: Sort project dropdown
  • [Feature]: Icons for project drop down
  • [Feature]: Add mnemonics to search dialog (improved keyboard support)
  • [Feature]: Add mnemonics to options dialog (improved keyboard support)
  • [Task]: Rename action to "Go to File (Fa&st)..." to match the other GoTo actions
  • [Task]: Add link to github in options/link to plugin portal
  • [Bugfix]: Fixed: Use selected project from Node/File, when opening search dialog
  • [Bugfix]: Fixed: Project drop down list, shouldn't be closed after selecting an other project (improved keyboard support)
  • [Bugfix]: Fixed: Action is enabled, even if there are no open projects
  • [Bugfix]: Fixed NPE when opening dialog
  • [Bugfix]: Fixed exceptions when switching projects too fast
  • [Bugfix]: Fixed NPE when uninstalling plugin
  • [Bugfix]: Don't disable controls while indexing
  • [Bugfix]: Fixed: Reopening the dialog with the same project selected triggers reindexing
  • [Bugfix]: Fixed: Selection border color too light for dark themes
  • [Bugfix]: Fixed: Dialog opens on the wrong monitor (dual monitor setup)

Building from source

  • You will need a NetBeans installation that includes the NetBeans Platform SDK.
    • This is included by default in the standard Java SE and Java EE variations.
    • If you're using the C/C++ or HTML5 & PHP bundles, you will probably need to install the NetBeans Plugin Development plugin.
  • Clone this repo.
  • In NetBeans, go to FileOpen Project…, navigate to the netbeans subdir in the repo and open it.
    • The dir should have a special icon. If it doesn't, your installation probably doesn't have the NetBeans Plugin Development plugin.
  • Right click on the project and select Create NBM.
  • If all goes well, this should create a net-sickill-off.nbm file in the netbeans/build dir of the repo.

Provide defects, request for enhancements and feedback at https://github.com/sickill/off-plugin/issues

Compatible to >=NB 8.0.2

Legal disclaimer: Code is licensed under MIT

off-plugin's People

Contributors

ku1ik avatar mjomble avatar markiewb avatar claytonrcarter avatar sreinst1 avatar warhammerkid 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.