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:

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:
