---
title: fileNameExtensionWasHiddenInLastRunSavePanel
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsdocument/filenameextensionwashiddeninlastrunsavepanel
---

# fileNameExtensionWasHiddenInLastRunSavePanel

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

## Declaration

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

## Return Value

Return Value true if a Save panel was presented and the user chose to hide the extension; otherwise, false.

## Discussion

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 true; otherwise, the value is false.

## See Also

### Presenting a Save Panel

- [runModalSavePanel(for:delegate:didSave:contextInfo:)](appkit/nsdocument/runmodalsavepanel(for:delegate:didsave:contextinfo:).md)
- [prepareSavePanel(_:)](appkit/nsdocument/preparesavepanel(_:).md)
- [shouldRunSavePanelWithAccessoryView](appkit/nsdocument/shouldrunsavepanelwithaccessoryview.md)
- [fileTypeFromLastRunSavePanel](appkit/nsdocument/filetypefromlastrunsavepanel.md)
