Git Product home page Git Product logo

docsetutil's Introduction

Use Cocoa/iOS documentations in emacs

emacs-docsetutil-api-doc

Usage

  1. Install

    (require 'docsetutil)

  2. You may consider binding docsetutil-api to a key, for example:

    (define-key help-map "d" 'docsetutil-api) ; C-h d

  3. Choose a docset to use:

    M-x docsetutil-choose-docset

  4. API search with completion:

    M-x docsetutil-api

  5. API browse

    M-x docsetutil-browse-api

  6. Full text search:

    M-x docsetutil-fulltext

Objc/Swift Completions

Function docsetutil-completions provides a decent source for objc/swift completion. It is not true code completion but extremely fast and can save you a lot of typing. Improvement expected in this area.

hippie-exp

If you use hippie-expand, you may want to add try-docsetutil-completions to hippie-expand-try-functions-list

(setq hippie-expand-try-functions-list
      '(try-expand-dabbrev
        try-expand-dabbrev-all-buffers
        try-docsetutil-completions
        try-expand-dabbrev-from-kill
        try-expand-line
        try-complete-lisp-symbol-partially
        try-complete-lisp-symbol
        try-complete-file-name-partially
        try-complete-file-name
        try-expand-whole-kill))

Notes

When you first run docsetutil-api, docsetutil-browse-api or docsetutil-fulltext, it may take a few seconds to build the completion table, which is then cached to disk in the directory docsetutil-cache-directory.

docsetutil's People

Contributors

leoliu avatar

Stargazers

 avatar

Watchers

 avatar  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.