IntelliJ IDEA 2017.3 Help

Extract Partial Dialog

Refactor | Extract Partial

Use this dialog to create a partial view file from the selected fragment of HTML code in a view. The selection must be valid and contain matching opening and closing tags.

Prerequisites

Before you start working with Ruby, make sure that Ruby plugin is installed and enabled. The plugin is not bundled with IntelliJ IDEA.

Also make sure that the following prerequisites are met:

  • Ruby SDK is downloaded and installed on your machine.
  • The required framework SDKs are downloaded and installed on your machine.

Refer to their respective download and installation pages for details:

ItemDescription
NameType the string from which IntelliJ IDEA will generate the resulting partial view name in accordance with the Rails naming conventions. The entered string should not contain extension and the leading underscore.
Last modified: 11 October 2017

See Also