ropemacs USAGE tutorial

前端 未结 4 1031
刺人心
刺人心 2020-12-02 03:48

There are many sites with instructions on installing ropemacs, but so far I couldn\'t find any with instructions on how to use it after it\'s already insta

4条回答
  •  不知归路
    2020-12-02 04:30

    For general usage of the rope library that ropemacs depends on, then check out:

    Rope Overview

    It describes in some detail what each of the refactorings does such as extract method. Note that according to the author this doc is a bit outdated. However, it should provide enough of an intro to ropes' features to get started.

    To execute the ropemacs commands in Emacs, you can try one or more of the following:

    1. Use the 'Keybinding' section in the README docs link from freyley's answer as a guide to learn the the mappings.
    2. If you can't remember the keybindings, then execute M-x rope- and fill in the related refactoring name. For example, extract method would be M-x rope-extract-method.
    3. Select in Emacs -> Rope. For example, for extract method then select -> Rope -> Refactorings -> Extract Method. It will also show you the associated keybindings (e.g. C-c r m)

提交回复
热议问题