Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sirmspencer/vscode-autohide


https://github.com/sirmspencer/vscode-autohide

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

## *This project is in maintenance mode. It does everything I need. I will accept PRs for new features, but I won't be adding any new features myself

# Auto Hide

Extension install page:

## Features

### Auto-hide side bar

Causes the side bar to be hidden whenever the user clicks into the text editor.

I highly recommend trying the sidebar on the right side. The side bar does not so when on the left, the editor text will shift when the side panel opening and closing.

![Auto-hide side bar](Images/Features/AutoHideSideBar.gif)

### Auto-hide bottom panel

Same thing as above, except for the bottom panel (output, terminal, etc. are contained in the panel).

## Settings

* `autoHide.autoHideSideBar`: Hide the side bar when the user clicks into a text editor. [boolean, default: `true`]
* `autoHide.autoHidePanel`: Hide the panel (output, terminal, etc.) when the user clicks into a text editor. [boolean, default: `true`]
* `autoHide.autoHideReferences`: Hide the References panel (`Go to References`) when the user clicks into a text editor. [boolean, default: `true`]
* `autoHide.sideBarDelay`: How long to wait before hiding the side bar. A delay prevents text from being selected. A longer delay allows the horizontal scroll to adjust to the change in selection before the side bar hiding causes the horizontal scroll to adjust, avoiding conflicts. [number, default: `450`]
* `autoHide.panelDelay`: How long to wait before hiding the panel. Same as for the side bar when the panel is on the side. If the panel is on the bottom, there is no need for delay. [number, default: `300`]
* `autoHide.hideOnOpen`: Hide side bar and panel when VSCode first opens. [boolean, default: `false`]

## Commands

* `autoHide.toggleHideSideBar`: Toggle `autoHide.autoHideSideBar` setting for current workspace. Use this command to pin/unpin the side bar.
* `autoHide.toggleHidePanel`: Toggle `autoHide.autoHidePanel` setting for current workspace. Use this command to pin/unpin the panel.

## Developing

1) Clone/download repo:
2) Make code changes in "src" folder.
3) Run "npm run compile". (this will start compiler in watch mode) [if editing in vscode, Ctrl+Shift+B also works]
4) In vscode, open the Debug panel and launch the extension from there.

## Publishing

### Get access token

### login

```sh
vsce login [username]
```

### Publish package

```sh
vsce package
vsce publish
```

n>

## Credit to 'VTools for Visual Studio Code'

This extension is a heavily modified version of: