Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NavigationLocationService

The navigation location service. It also stores and manages navigation locations and recently closed editors.

Hierarchy

  • NavigationLocationService

Index

Constructors

Properties

_lastEditLocation: undefined | ContentChangeLocation
canRegister: boolean = true
logger: ILogger
openerService: OpenerService
pointer: number = -1
recentlyClosedEditors: RecentlyClosedEditor[] = []
stack: NavigationLocation[] = []
MAX_RECENTLY_CLOSED_EDITORS: 20 = 20
MAX_STACK_ITEMS: number = 30

Accessors

  • get stackDump(): string

Methods

  • canGoBack(): boolean
  • canGoForward(): boolean
  • clearHistory(): void
  • debug(message: string | (() => string)): Promise<void>
  • maxStackItems(): number
  • removeClosedEditor(uri: URI): void