Skip to content

Don't prompt for file name for new file until save #249909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PKirch-SE opened this issue May 27, 2025 · 2 comments
Open

Don't prompt for file name for new file until save #249909

PKirch-SE opened this issue May 27, 2025 · 2 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@PKirch-SE
Copy link

With a previous version I was able to open a json editor and paste in json for viewing without specifying a file name. This was really useful for reviewing json output from a log. I got formatting and coloring and so on. Now, it seems I have to specify a file name, which slows me down and clutters my file system since I have no need to persist this temporary data. I have to specify the json editor and then I also have to specify a json extension in the file name; otherwise, I just get a texxt editor. This workflow has gotten significantly more complicated. I'd prefer to go back to being able to defer specifying a file name until I decide that I want to save the data. This is the way it works when opening a new text file. Consistency in the new file workflows would be good. I don't know if the change in workflow was intentional/by-design or not, but for me this has been a regression.

@TylerLeonhardt
Copy link
Member

What you describe should work. You shouldn't need to save the file. Can you provide clear repro steps with sample data?

@TylerLeonhardt TylerLeonhardt added info-needed Issue requires more information from poster and removed triage-needed labels May 27, 2025
@PKirch-SE
Copy link
Author

  1. From the menu select 'File', and then 'New File...'.
  2. Prompted for file type or file name. Enter 'json'.
  3. 'Create File' dialog pops up prompting for new file name.
  4. The default file name is 'json', which if not changed will just create a text file, not a json file. Enter 'json.json'.
  5. Select button Create File. (Only other choice is 'Cancel', which cancels the whole operation.
  6. json file created.

I'm using version 1.100.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants