in rider/src/main/kotlin/com/jetbrains/aspire/rider/run/host/AspireHostConfigurationSettingsEditor.kt [27:68]
override fun createEditor(lifetime: Lifetime): JComponent {
viewModel = AspireHostConfigurationViewModel(
project,
lifetime,
project.runnableProjectsModelIfAvailable,
ProjectSelector(
AspireCoreBundle.message("run.editor.project"),
"Project"
),
StringSelector(
AspireCoreBundle.message("run.editor.tfm"),
"Target_framework"
),
LaunchProfileSelector(
AspireCoreBundle.message("run.editor.launch.profile"),
"Launch_profile"
),
ProgramParametersEditor(
AspireCoreBundle.message("run.editor.arguments"),
"Program_arguments",
lifetime
),
PathSelector(
AspireCoreBundle.message("run.editor.working.directory"),
"Working_directory",
FileChooserDescriptorFactory.createSingleFolderDescriptor(),
lifetime
),
EnvironmentVariablesEditor(
AspireCoreBundle.message("run.editor.environment.variables"),
"Environment_variables"
),
FlagEditor(
AspireCoreBundle.message("run.editor.podman.runtime"),
"Use_podman_runtime"
),
ViewSeparator(AspireCoreBundle.message("run.editor.open.browser")),
TextEditor(AspireCoreBundle.message("run.editor.url"), "URL", lifetime),
BrowserSettingsEditor("")
)
return ControlViewBuilder(lifetime, project, "AspireHost").build(viewModel)
}