in rider/src/main/kotlin/com/jetbrains/aspire/rider/run/file/AspireFileConfigurationSettingsEditor.kt [23:57]
override fun createEditor(lifetime: Lifetime): JComponent {
viewModel = AspireFileConfigurationViewModel(
project,
lifetime,
PathSelector(
AspireCoreBundle.message("run.editor.file"),
"File_path",
FileChooserDescriptorFactory.singleFile().withExtensionFilter("cs"),
lifetime
),
ProgramParametersEditor(
AspireCoreBundle.message("run.editor.arguments"),
"Program_arguments",
lifetime
),
PathSelector(
AspireCoreBundle.message("run.editor.working.directory"),
"Working_directory",
FileChooserDescriptorFactory.singleDir(),
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, "AspireFile").build(viewModel)
}