Skip to content

Samuel-B-D/vscode-tabulous

 
 

Repository files navigation

Tabulous

Adds tabs for each terminal process to the status bar. It works by registering toggleable status bar buttons when terminals are created via the commands below. This extension started its life as terminal-tabs.

This extension provides the following extended functionality over the original:

  • Each tab can be toggled open and closed by clicking the tab in the status bar
  • The active tab is highlighted so you can quickly determine which tab is open
  • Provides full tab naming support. The original extension did not allow naming tabs, only giving a number to the tab
  • Some settings for customisation

This extension provides the original commands that terminal-tabs provided, only renamed that can be keybound in your keybindings.json file:

  • tabulous.createTerminal: Creates a terminal with an icon
  • tabulous.createNamedTerminal: Creates a terminal with an icon that has a name (indicated in the dropdown)
  • tabulous.reloadDefaultTerminals: Disposes of all the currently open terminals and reloads your default terminals set within your config. Good for reloading the defaults when they've been changed, without having to close and reopen VS Code
  • tabulous.showTerminal1: Shows the first terminal
  • tabulous.showTerminal2: Shows the second terminal
  • tabulous.showTerminal3: Shows the third terminal
  • tabulous.showTerminal4: Shows the fourth terminal
  • tabulous.showTerminal5: Shows the fifth terminal
  • tabulous.showTerminal6: Shows the sixth terminal
  • tabulous.showTerminal7: Shows the seventh terminal
  • tabulous.showTerminal8: Shows the eighth terminal
  • tabulous.showTerminal9: Shows the ninth terminal
  • tabulous.showTerminal10: Shows the tenth terminal

Available Settings

This extension provides the following settings:

tabulous.activeTabColor: The colour of the active tab. This must be a valid css colour

tabulous.defaultTerminals: Default terminal settings for automatically opening terminals when VS Code opens. Best used inside .code-workspace settings

tabulous.defaultTerminals example:

{
    "folders": [
		{
			"path": "relative/to/workspace/file",
			"name": "Named Workspace",
		},
        {
			"path": "relative/to/workspace/file",
			"name": "Another Named Workspace",
		},
	],
    "tabulous.defaultTerminals": [{
        "name": "App",
        // Could be absolute path
        "directory": "C:/absolute/path",
        "command": "npm start",
        "executeCommand": false
    }, {
        "name": "API",
        // Could be the name of the workspace folder specified within the .code-workspace
        "directory": "Workspace Folder Name",
        "command": "npm start"
    }, {
        "name": "Watcher",
        // Could be relative path. If multi-root workspace,
        // path will be relative to the .code-workspace directory, otherwise
        // it will be relative to the workspace directory
        "directory": "./relative/path",
        "command": "npm run watch",
        "executeCommand": false
    }]
}

About

Adds tabs for each terminal process to the status bar

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 92.9%
  • JavaScript 7.1%