|
FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
|

Static Public Member Functions | |
| static void | Initialize (IDefaultSettingsProvider settingsProvider) |
| static void | ImportSettings (SettingsRecord settings) |
| Loads and sanitizes settings from the SettingsRecord object and applies them to the current session. | |
| static void | SaveSettings () |
| Saves the current settings to the settings file if any changes have been made. | |
Static Public Attributes | |
| static readonly string | SettingsFilePath |
| The full path to settings.json. | |
| static readonly string | SftpConnectionsFilePath |
| The full path to sftp.json. | |
| const int | FileSizeUnitLimitLowerBound = 512 |
| const int | FileSizeUnitLimitUpperBound = 9999 |
| const int | AutomaticRefreshIntervalLowerBound = 100 |
| const int | AutomaticRefreshIntervalUpperBound = 60 * 1000 |
| const int | SynchronizerPollingIntervalLowerBound = 250 |
| const int | SynchronizerPollingIntervalUpperBound = 5 * 60 * 1000 |
Properties | |
| static ? Action | OnSettingsChange [set] |
| Executes this function when settings are updated in ImportSettings. | |
| static SettingsRecord | DefaultSettings [get] |
| Returns the default set of settings for the FileSurfer app. | |
| static SettingsRecord | CurrentSettings [get] |
| Returns the current settings in the form of SettingsRecord. | |
| static string | NewImageName [get, set] |
| Default name for the pasted image files. | |
| static string | NewTextFileName [get, set] |
| Default name for the pasted text files. | |
| static string | NewFileName [get, set] |
| Default name for newly created files. | |
| static string | NewDirectoryName [get, set] |
| Default name for newly created directories. | |
| static string | NotepadApp [get, set] |
| The application, the 'Open in Notepad' context menu option will open. | |
| static string | NotepadAppArgs [get, set] |
| The args for NotepadApp. | |
| static string | Terminal [get, set] |
| The preferred terminal app. | |
| static string | TerminalArgs [get, set] |
| The args for Terminal. | |
| static bool | OpenInLastLocation [get, set] |
| Specifies if the app should reopen files or folders in their last accessed location. | |
| static string | OpenIn [get, set] |
| Specifies the default location where FileSurfer opens. | |
| static bool | UseDarkMode [get, set] |
| Indicates whether the application uses a dark theme. | |
| static DisplayMode | DisplayMode [get, set] |
| Defines the view mode for displaying files and folders. | |
| static SortBy | SortingMode [get, set] |
| Specifies the default sorting method for files and folders. | |
| static int | FileSizeUnitLimit [get, set] |
| Numerical limit before FileSurfer uses the next byte unit. | |
| static bool | SortReversed [get, set] |
| Indicates whether file and folder sorting should be reversed. | |
| static bool | ShowSpecialFolders [get, set] |
| Determines if special folders (like "Documents" or "Downloads") should be displayed in the sidebar. | |
| static bool | ShowProtectedFiles [get, set] |
| Controls whether files with protection settings are shown in directory contents and searching. | |
| static bool | ShowHiddenFiles [get, set] |
| Specifies if hidden files are shown in directory contents and searching. | |
| static bool | TreatDotFilesAsHidden [get, set] |
| Decides if files starting with a dot '. | |
| static bool | GitIntegration [get, set] |
| Enables or disables Git integration features within the application. | |
| static bool | ShowUndoRedoErrorDialogs [get, set] |
| Determines if error dialogs should be shown for undo/redo operations. | |
| static bool | AutomaticRefresh [get, set] |
| Indicates whether the file explorer should automatically refresh at intervals. | |
| static int | AutomaticRefreshInterval [get, set] |
| Sets the interval (in milliseconds) for automatic refreshing of the file explorer. | |
| static int | SynchronizerPollingInterval [get, set] |
| Defines the polling refresh rate for directory synchronization. | |
| static List< string > | QuickAccess [get, set] |
| List of directories and files added by the user for quick access. | |
| static bool | SyncHiddenFiles [get, set] |
| Specifies if hidden files should be synchronized in the process of directory synchronization. | |
| static List< SftpConnection > | SftpConnections [get, set] |
| List of SFTP connections defined by the user. | |
Provides application-wide settings management for the FileSurfer application.
Handles the loading, saving, and updating of user preferences and settings.
|
inlinestatic |
Loads and sanitizes settings from the SettingsRecord object and applies them to the current session.

|
inlinestatic |
Loads settings from the settings file and applies them to the current session.
If the settings file does not exist or is invalid, default settings are used and settings.json is rewritten.


|
inlinestatic |
Saves the current settings to the settings file if any changes have been made.
|
static |
|
static |
|
static |
|
static |
|
static |
The full path to settings.json.
|
static |
The full path to sftp.json.
|
static |
|
static |
|
staticgetset |
Indicates whether the file explorer should automatically refresh at intervals.
|
staticgetset |
Sets the interval (in milliseconds) for automatic refreshing of the file explorer.
|
staticget |
Returns the current settings in the form of SettingsRecord.
|
staticget |
Returns the default set of settings for the FileSurfer app.
|
staticgetset |
Defines the view mode for displaying files and folders.
|
staticgetset |
Numerical limit before FileSurfer uses the next byte unit.
|
staticgetset |
Enables or disables Git integration features within the application.
|
staticgetset |
Default name for newly created directories.
|
staticgetset |
Default name for newly created files.
|
staticgetset |
Default name for the pasted image files.
|
staticgetset |
Default name for the pasted text files.
|
staticgetset |
The application, the 'Open in Notepad' context menu option will open.
|
staticgetset |
The args for NotepadApp.
|
staticset |
Executes this function when settings are updated in ImportSettings.
|
staticgetset |
Specifies the default location where FileSurfer opens.
|
staticgetset |
Specifies if the app should reopen files or folders in their last accessed location.
|
staticgetset |
List of directories and files added by the user for quick access.
|
staticgetset |
List of SFTP connections defined by the user.
|
staticgetset |
Specifies if hidden files are shown in directory contents and searching.
|
staticgetset |
Controls whether files with protection settings are shown in directory contents and searching.
|
staticgetset |
Determines if special folders (like "Documents" or "Downloads") should be displayed in the sidebar.
|
staticgetset |
Determines if error dialogs should be shown for undo/redo operations.
|
staticgetset |
Specifies the default sorting method for files and folders.
|
staticgetset |
Indicates whether file and folder sorting should be reversed.
|
staticgetset |
Specifies if hidden files should be synchronized in the process of directory synchronization.
|
staticgetset |
Defines the polling refresh rate for directory synchronization.
|
staticgetset |
The preferred terminal app.
|
staticgetset |
The args for Terminal.
|
staticgetset |
Decides if files starting with a dot '.
' are considered hidden.
|
staticgetset |
Indicates whether the application uses a dark theme.