Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Tabs In FocusNew to Visual Studio Code? Get it now.
Tabs In Focus

Tabs In Focus

Davejavu4u

|
21 installs
| (0) | Free
Automatically repositions tabs with modified content for better tab management
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tabs In Focus for Visual Studio Code

Enhance your tab management in Visual Studio Code with Tabs In Focus! This extension automatically repositions tabs with modified content, making them easily accessible, especially when dealing with a multitude of open files.

Features

  • Intelligent Tab Movement: Once you modify content in a tab, Tabs In Focus will automatically move it closer to the left or right edge of your tab list, depending on your preference.

  • Respect for Pinned Tabs: If you've pinned certain tabs to ensure they remain in specific positions, Tabs In Focus will recognize this and ensure that these pinned tabs aren't disturbed by any automatic movements.

  • Configurable Fixed Tab Positions: You can specify a set number of tabs that always remain at the beginning or end of your tab list. These tabs will not be impacted by the automatic tab movement behavior of Tabs In Focus.

How It Works

  1. Upon a content modification in any tab, the extension triggers the tabs-in-focus.moveTab command.

  2. Tabs In Focus then checks your specified configurations to determine the desired behavior.

  3. Before executing the move, it takes into account any pinned tabs and calculates the right position for the modified tab.

  4. The tab is finally repositioned using the VS Code moveActiveEditor command.

Configuration Options

tabs-in-focus.moveLeft

  • Type: Boolean
  • Default: true
  • Description: Determines the direction of movement for the modified tab.
    • If set to true, the modified tab will be moved towards the beginning (left side) of the tab list.
    • If set to false, the tab will be moved towards the end (right side).

tabs-in-focus.fixedTabs

  • Type: Integer
  • Default: 5
  • Range: 1-9
  • Description: Specifies the number of tabs that should always remain fixed either at the start or end of the tab list. This depends on the moveLeft value. Tabs within this fixed group will not be automatically moved, even if their content is modified.

tabs-in-focus.debounceDelay

  • Type: Number
  • Default: 300
  • Range: 0 - 5000
  • Description: The delay in milliseconds between checking for tab content changes and calling the tabs-in-focus.moveTab command. It ensures that frequent content changes do not trigger excessive tab movement, improving the user experience. Set to 0 to disable this.

tabs-in-focus.reactionEvent

  • Type: String
  • Default: onedit
  • Options: onedit, onfocus, onsave, onopen, none
  • Description: Specifies the event that triggers the tab to move:
    • onedit: The tab will move whenever its content is edited.
    • onfocus: The tab will move whenever it gains focus.
    • onsave: The tab will move whenever the content is saved.
    • onopen: The tab will move when a new window is opened only.
    • none: Disable extension.

Installation

  1. Open Visual Studio Code and Navigate to Extensions.
  2. Search for "Tabs In Focus".
  3. Click install and enjoy enhanced tab management!
  4. Or, launch VS Code Quick Open (Ctrl+P), paste ext install tabs-in-focus, and press enter.

Feedback and Contribution

Your feedback is valuable! If you have any suggestions, issues, or would like to contribute, please raise an issue on our GitHub repository.

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft