#85 open
Martin Frost

Automatically detect and use current filetype when saving a new file

Reported by Martin Frost | December 25th, 2010 @ 05:47 PM

The save dialog seems to restrict what filetypes I can use for my files based on what file type I choose in the "File format" dropdown menu. This is quite annoying for me, since I usually prefer not having to use a mouse.

What I did:

I created a new ruby class, and pressed cmd+s for save. In the filename field in the save dialog I entered foo_bar.rb, and then I pressed enter.

What I expected to happen:

I expected the file to be saved as a ruby file (with a .rb extension).

What actually happened:

I got an error message saying: 'You cannot save this document with extension ".rb" at the end of the name. The required extension is ".adb"'.

Comments and changes to this ticket

  • rsms

    rsms December 31st, 2010 @ 03:24 PM

    • Title changed from “auto-detect filetype on save” to “Automatically detect and use current filetype when saving a new file”
  • rsms

    rsms December 31st, 2010 @ 03:24 PM

    • State changed from “new” to “open”
    • Tag set to saving, ui, ux
  • Anet1961

    Anet1961 August 24th, 2019 @ 05:44 AM

    It is a very good technique that you have shared with us. I must say i have saved many of my documents saved with the same names that got me trouble for a long time. You need to follow this cheapwritingservice.com to gain more and more discount in your products. I must say that after this i will not waste my time on finding the document.

  • howardellis

    howardellis August 19th, 2021 @ 05:17 PM

    The most recent games may be found in the io games aggregator list.
    NightZ.io is an online multiplayer game that may be played alone or with others. In order to live against deadly zombies, you must acquire, improve, and build your base..io games

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket

Tags

Pages