# Initialize(string)

> Callback to the IExternalCodeEditor when it has been chosen from the PreferenceWindow.

## Definition

* **Type:** Method
* **Namespace:** [Unity.CodeEditor](/engine/6000.5/script-reference/unity/codeeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
void Initialize(string editorInstallationPath)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Path of the chosen code editor.

### Remarks

To check the current selected code editor when registering this instance, use CurrentEditorInstallation.
