<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSDocument/fileNameExtensionWasHiddenInLastRunSavePanel",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSDocument(py)fileNameExtensionWasHiddenInLastRunSavePanel"
  },
  "title" : "fileNameExtensionWasHiddenInLastRunSavePanel"
}
-->

# fileNameExtensionWasHiddenInLastRunSavePanel

A Boolean value that indicates whether the user chose to hide the document’s filename extension.

```
nonisolated var fileNameExtensionWasHiddenInLastRunSavePanel: Bool { get }
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if a Save panel was presented and the user chose to hide the extension; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

The Save panel includes an option to hide a document’s filename extension. If the user selects this option, AppKit sets the value of this property to <doc://com.apple.documentation/documentation/Swift/true>; otherwise, the value is <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)