Most complete Pycharm tutorial (42) -- Emacs external editor for Pycharm Extension

Source: Internet
Author: User

Most complete Pycharm tutorial (42) -- Emacs external editor for Pycharm Extension

1. Subject

Describes how to define Emacs as a Pycharm external editor.

2. Preparations

(1) The Pycharm version is 2.7 or higher.

(2) download downloadedEmacs and install it correctly

3. Configure Emacs

Open the settings dialog box. Under the IDE settings node, open the External tools page to confirm the installation of Emacs.

First, on the External tools page, click the green plus sign to open the Create/Edit tool dialog box:

Do the following:

(1) enter the Tool Name (Emacs) and brief description (open Emacs)

(2) Specify the menu bar tool group that appears. Put it in the Editors menu group or in the main menu bar.

(3) deselect Open console check

(4) define the location of the Emacs binary file, which can be manually input or viewed and selected

(5) In the Parameters column, enter the default file path $ FilePath $

(6) specify a working directory (for example, $ ProjectFileDir $)

(7) Click OK

The setting takes effect.

4. Open the current file in Emacs

Click the Emacs command in the Editors node in the Tools menu bar:

 

Open a file in the PyCharm editor dialog box, select Editors> Emacs from the Tools menu:

5. Specify the shortcut key

Open the Settings dialog box, find the External Tools node in the drop-down list on the Keymap page, expand Editors, right-click the Emacs node, and select Add keyboard shortcut cut:

Open the Enter keyboard shortcut cut dialog box. Enter Ctrl + Alt + Shift + E combination here:

No conflict prompt. Click OK to complete the shortcut key settings:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.