# Extract Include File Dialog

`Refactor | Extract Include File`

| Item | Description |
| --- | --- |
| Name for extracted include file | In this field, specify the name of the include file to extract the selected source code to.     > **Tip:** > No extension is allowed.    |
| Extract to directory | In this field, specify the directory to create the include file in. Either accept the predefined directory, or type another one manually, or click Browse ![the Browse button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.general.ellipsis.svg) and choose the desired folder in the [dialog that opens](null).  |

## See also

### Procedures

[Extract Include File](editing-html-files.html#javascript_extract_include_file)

