Vixen
02b45cc4
csharp
public sealed class EditorPreferences

The editor's own preferences, which belong to the user rather than to the project.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ What is not here is the point. Doc 20's A4 is explicit that the three scene-navigation preferences stay as ticked commands and the preferences window shows the same commands rather than a second copy of their state — two writers to one setting is how a preferences window and a menu tick come to disagree. The same rule keeps the theme out of this type: view.toggle-theme owns it, and the Appearance page draws that command.

So what is here is the set that has no command, and every one of them has a reader: ExternalEditor is what a double-clicked console line opens, UndoDepth is every command stack's capacity, RestoreOpenDocuments decides whether a saved arrangement reopens the asset editors it names, and RecentProjects bounds the startup browser's list.

Fields and properties (8)

  • public string ExternalEditor

    The command line that opens a source file, or empty for the file manager.

  • public int UndoDepth

    How many steps every undo history keeps.

  • public bool RestoreOpenDocuments

    Whether a restored arrangement reopens the asset editors it names.

  • public int RecentProjects

    How many projects the startup browser lists.

  • public bool ProjectGridView

    Whether the Project panel opens as a grid of tiles rather than as a tree.

  • public string ProjectTileSize

    How big the Project panel's tiles are, by the name AssetGrid.TileSizes gives.

  • public List<string> ComponentOrder

    What order the inspector's component foldouts are shown in, by component name.

  • public List<ViewportPreferences> Viewports

    What each viewport pane was drawing, in reading order.

Used by (3)

  • Describes_Vixen_Editor_App_EditorPreferencesVixen.Editor.App
  • EditorApplicationVixen.Editor.App
  • TypeRegistrationVixen.Editor.App