Giter VIP home page Giter VIP logo

vscode-restore-editors's Introduction

Restore Editors

Quickly save and restore all of the open editors.

Editors are saved into a persisted per-folder "slot" for later retrieval. This basically means that saving the open editors for one opened folder, will not overwrite or interfere with saving/restoring/clearing editors in another opened folder.

NOTE: Since VS Code doesn't yet support any API to access opened editors (see vscode #15178), this extension employs what amounts to a hack to gain access to them. As such there are many limitations in what can currently be saved and restored -- it is basically limited to only file-based text documents.

preview

Features

  • Adds a Show Saved Editors command (restoreEditors.showQuickEditors) with a shortcut of ctrl+k ctrl+e (cmd+k cmd+e on macOS) to show a quick pick menu of the currently saved editors

    • Quickly see the set of saved editors; select an editor entry to open it
    • Provides entries to Save Opened Editors, Open Saved Editors when available, and Clear Saved Editors when available
    • Use the alt+right arrow shortcut on an entry to execute it without closing the quick pick menu
  • Adds a Save Opened Editors command (restoreEditors.save) to save all of the open editors

  • Adds a Open Saved Editors command (restoreEditors.open) to open previously saved editors

  • Adds a Restore Only Saved Editors command (restoreEditors.restore) to restore (close all, then re-open) previously saved editors

  • Adds a Clear Saved Editors command (restoreEditors.clear) to clear previously saved editors

Extension Settings

Name Description
restoreEditors.openPreview Specifies whether or not to open single editors in a preview tab

Known Issues

  • Many limitations as noted above
  • #1 - Do you have to cycle through the tabs?

vscode-restore-editors's People

Contributors

eamodio avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.