Coder Social home page Coder Social logo

sbward / open-files Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oriolmirosa/open-files

0.0 1.0 0.0 56 KB

Atom package to show the open files in the tree-view panel, mirroring the functionality in Sublime Text

Home Page: https://atom.io/packages/open-files

License: MIT License

JavaScript 95.56% CSS 4.44%

open-files's Introduction

open-files package

apm apmi

If you enjoy the package, please consider supporting my work with a donation (via PayPal)

Donate


This package adds an 'open files' pane above Atom's tree-view, mimicking the functionality of Sublime Text.

open-files package screenshot

This package is basically a fork of the tree-view-open-files by postcasio, so most of the credit should go to him. The fork ports the package from coffeescript to ES6, and makes a number of modifications to make the 'open files' pane look similar to Sublime Text:

  • The pane appears as part of the tree-view, sitting above it. It resizes automatically to show all open files, and it shares the same scroller as the tree-view.
  • The 'open files' panel is collapseable when clicking on the label. An option in the settings tab makes it possible to make the panel uncollapseable.
  • The 'open files' and 'folders' sections of the panel are clearly and elegantly labeled.
  • The file list can be ordered alphabetically using multiple (cascading) criteria: filename (base), extension (ext) and directory (dir). The order of these criteria can be indicated as a (comma-separated) string in the settings. Default is: base, ext, dir. This is the same functionality that can be found in the tab-smart-sort package.
  • The cross to close a file only appears when the mouse hovers over the entry (while the 'edited' marker is always visible).
  • NEW in 0.6.0: In order to prevent the fast sliding down of the tree view when a file is added, there is a delay before the file appears in the 'open files' panel. The delay is configurable in the package's settings (default is 1000 ms, i.e., 1 second).
  • NEW in 0.6.0: Files added and removed from the 'open files' panel are animated. The animation has a default duration of 300 ms, but this is configurable in the package's settings (default is 300 ms).
  • NEW in 0.7.0: When several panels are open, the title for the 'open files' panels now includes PANEL #, with the number showing the order in which the panels were opened. When panels are closed, the numbers of the panels are re-calculated so that they reflect the panels present in the workspace
  • NEW in 0.8.0: The icons mirror those of the tabs for all Atom views in both the file-icons and the seti-icons packages
  • NEW in 0.8.0: The files in the 'open files' panel are automatically re-sorted when there is a file name change or a new file is saved for the first time. The icons also change automatically

TODO

  • Make the files in the 'open files' panel draggable, and keep the tab order in sync with the 'open files' order.
  • Configuration. Ideas and suggestions for further configuration options are welcome.

open-files's People

Contributors

oriolmirosa 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.