Coder Social home page Coder Social logo

atom-dxr-search's Introduction

Atom DXR Search

Atom DXR Search is an Atom package for performing DXR searches. It allows users to search DXR from within the Atom interface and jump to matches if they've got the matching tree open within the editor.

Note: This package requires you to be able to connect to a running DXR instance, which usually means you need internet access to use it.

Screenshot of package

Usage

Hit Cmd-Alt-J/Ctrl-Alt-J to open the search dialog. Enter your query and hit Return to submit the search. The results will be displayed below the search bar. If there are more results than the per-page limit configured in the package settings, there will be a "Show More" button at the bottom of the results that will load more results when clicked.

If you have the tree you're searching open in the current project, clicking on any of the filenames or matching lines will open that file in a new tab.

You can also remap the command to any key you want. For example, add the following to your keymap to map Ctrl-Alt-G to open the dialog:

'atom-workspace':
  'ctrl-alt-g': 'atom-dxr-search:toggle'

Settings:

Server
Base URL of the server to query when searching. Defaults to `https://dxr.mozilla.org`.
Tree
Name of the code tree to search. Defaults to `mozilla-central`.
Results Per Page
Number of files to show per page of results. Defaults to `10`.

License

Licensed under the MIT License. See LICENSE for details.

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.