---
title: isExtensionHidden
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nssavepanel/isextensionhidden
---

# isExtensionHidden

A Boolean value that indicates whether to display filename extensions.

## Declaration

```swift
var isExtensionHidden: Bool { get set }
```

## Discussion

Discussion When the value of this property is false, NSSavePanel shows the filename extension in places where you refer to the file by name. The user can override this value by checking the hide extension menu item, which reflects this value. The default value is true. If a user adds or removes a filename extension in the panel’s name field, the panel updates this property to reflect that choice. note: Setting this property has no effect if the user has chosen to show all file extensions in Finder.

## See Also

### Configuring the Panel’s Behavior

- [canCreateDirectories](appkit/nssavepanel/cancreatedirectories.md)
- [canSelectHiddenExtension](appkit/nssavepanel/canselecthiddenextension.md)
- [showsHiddenFiles](appkit/nssavepanel/showshiddenfiles.md)
- [isExpanded](appkit/nssavepanel/isexpanded.md)
- [Button tags](appkit/button-tags.md)
