Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wraith13/unsaved-files-vscode

Easy access to unsaved files for vscode.
https://github.com/wraith13/unsaved-files-vscode

visual-studio-code visual-studio-code-extension vscode vscode-extension

Last synced: about 1 month ago
JSON representation

Easy access to unsaved files for vscode.

Awesome Lists containing this project

README

        

# Unsaved Files README

Easy access to unsaved files for vscode.

## Features

* show unsaved files from command pallete
* show unsaved files from status bar
* show unsaved files from view on explorer

![screen shot: View on Explorer](./images/screenshot3.png)

![screen shot: Show](./images/screenshot.png)

![screen shot: Show Next/Previous](./images/screenshot2.png)

> This extension only shows unsaved files, does not save nor close.

## Tutorial

### 0. โฌ‡๏ธ Install Unsaved Files

Show extension side bar within VS Code(Mac:Command+Shift+X, Windows and Linux: Ctrl+Shift+X), type `unsaved-files-vscode` and press Enter and click Install. Restart VS Code when installation is completed.

### 1. โœจ๏ธ Show Unsaved Files

Click `unsaved:*` in status bar or launch Command Palette(Mac:F1 or Shift+Command+P, Windows and Linux: F1 or Shift+Ctrl+P), Execute `Unsaved Files: Show` command and select a unsaved file as you like.

### 2. ๐Ÿ”ง Next step

You can change [settings](#extension-settings) by `settings.json`.

Enjoy!

## Commands

* `Unsaved Files: Show` : show unsaved files
* `Unsaved Files: Show Next` show next unsaved file
* `Unsaved Files: Show Previous` show previous unsaved file
* `Unsaved Files: Show View` show view on explorer
* `Unsaved Files: Hide View` hide view on explorer

## Extension Settings

This extension contributes the following settings by [`settings.json`](https://code.visualstudio.com/docs/customization/userandworkspace#_creating-user-and-workspace-settings)( Mac: Command+,, Windows / Linux: File -> Preferences -> User Settings ):

* `unsaved-files.statusBar.enabled`: set Enable/Disable unsaved files count in status bar
* `unsaved-files.statusBar.noUnsavedFilesStatusLabel`: set no unsaved files's label
* `unsaved-files.statusBar.anyUnsavedFilesStatusLabel`: set any unsaved files's label
* `unsaved-files.statusBar.label`: set unsaved's label
* `unsaved-files.viewOnExplorer.enabled`: set Enable/Disable unsaved files in view on explorer

You can embed icons in the label text by leveraging the syntax:

`My text $(icon-name) contains icons like $(icon'name) this one.`

Where the icon-name is taken from the [octicon](https://octicons.github.com) icon set, e.g. `light-bulb`, `thumbsup`, `zap` etc.

You can specify unicode characters ( include emoji ) as label text too.

## Keyboard shortcut Settings

In default, Unsaved Files's commands doesn't apply keyboard shortcuts. Althogh,
you can apply keyboard shortcuts by [`keybindings.json`](https://code.visualstudio.com/docs/customization/keybindings#_customizing-shortcuts)
( Mac: Code -> Preferences -> Keyboard Shortcuts, Windows / Linux: File -> Preferences -> Keyboard Shortcuts).

Command name on `keybindings.json` is diffarent from on Command Pallete. See below table.

|on Command Pallete|on keybindings.json|
|-|-|
|`Unsaved Files: Show`|`unsaved-files.show`|
|`Unsaved Files: Show Next`|`unsaved-files.showNext`|
|`Unsaved Files: Show Previous`|`unsaved-files.showPrevious`|

## Release Notes

see ChangLog on [marketplace](https://marketplace.visualstudio.com/items/wraith13.unsaved-files-vscode/changelog) or [github](https://github.com/wraith13/unsaved-files-vscode/blob/master/CHANGELOG.md)

## Support

[GitHub Issues](https://github.com/wraith13/unsaved-files-vscode/issues)

## License

[Boost Software License](https://github.com/wraith13/unsaved-files-vscode/blob/master/LICENSE_1_0.txt)

## Download VSIX file ( for VS Code compatible softwares )

[Releases ยท wraith13/unsaved-files-vscode](https://github.com/wraith13/unsaved-files-vscode/releases)

## Other extensions of wraith13's work

|Icon|Name|Description|
|---|---|---|
|![](https://wraith13.gallerycdn.vsassets.io/extensions/wraith13/background-phi-colors/3.1.0/1581619161244/Microsoft.VisualStudio.Services.Icons.Default) |[Background Phi Colors](https://marketplace.visualstudio.com/items?itemName=wraith13.background-phi-colors)|This extension colors the background in various ways.|
|![](https://wraith13.gallerycdn.vsassets.io/extensions/wraith13/blitz/1.10.0/1600673285404/Microsoft.VisualStudio.Services.Icons.Default) |[Blitz](https://marketplace.visualstudio.com/items?itemName=wraith13.blitz)|Provide a quick and comfortable way to change settings by quick pick based UI.|
|![](https://wraith13.gallerycdn.vsassets.io/extensions/wraith13/zoombar-vscode/1.2.1/1563089420894/Microsoft.VisualStudio.Services.Icons.Default) |[Zoom Bar](https://marketplace.visualstudio.com/items?itemName=wraith13.zoombar-vscode)|Zoom UI in status bar for VS Code.|

See all wraith13's expansions: