Skip to content

Submit as JCL: check for profile before presenting quick pick #2628

@traeok

Description

@traeok

Is your feature request related to a problem? Please describe.

Currently, the "Submit as JCL" in-editor context menu option does not check if the file in the editor is a part of Zowe Explorer's temp files. We also show the quick pick even if a user only has one profile in their Zowe config.

Describe the solution you'd like

Since we store temp. files based on their profile, we could determine the profile without spawning a quick pick for user input.

In addition, for users with only one profile in their config: Since the user would only have one profile, we could avoid the quick pick altogether and just use their single profile to submit the job.

Additional context

Quick pick w/ only one profile:
image

Metadata

Metadata

Labels

enhancementNew feature or requestpriority-lowLegit issue but cosmetic or nice-to-have

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions