Giter Club home page Giter Club logo

atom-double-click-tree-view's Introduction

double-click-tree-view package for atom editor

By default, the atom tree-view for browsing files/directories will open a file or collapse / expand a directory listing just by single-clicking on the entry.

This package allows the user to choose single or double click on a file to open it, or on a directory to expand/collapse it. This effectively turns a single-click into just selecting the item clicked on, which is the default behavior in most editors.

Tips: if Allow Pending Pane Items in Settings/Core is set to false and Enable on file of this package setting is set to false, single click on file will open the file.

To install:

apm install dbclick-tree-view

Big thanks to mattsfrey and h2so5 for writing the original projects that this has been forked from.

https://github.com/h2so5/atom-chary-tree-view

https://github.com/mattsfrey/atom-double-click-tree-view

atom-double-click-tree-view's People

Contributors

alexesprit avatar hszhsh avatar mattsfrey avatar picohz avatar yubaoquan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

yubaoquan uzitech

atom-double-click-tree-view's Issues

Version wrong in atom.io

You have published the version 1.5.0 in atom.io, but the actual release in this repo is 1.5.1, so users will fail to update this package.

Tree-view not visible when reloading a project

When there are no windows open in Atom:

  1. Open a new window
  2. Reopen or open a project

If "dbclick-tree-view" is enabled the tree-view pane keeps empty and there is a error output in the console:

Uncaught (in promise) Error: The workspace can only contain one instance of item [object Object]
at ItemRegistry.module.exports.ItemRegistry.addItem (/Applications/Atom.app/Contents/Resources/app/src/item-registry.js:11:21)
at PaneContainer.didAddPaneItem (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:269:29)
at PaneContainer.didAddPane (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:242:18)
at Pane.module.exports.Pane.setContainer (/Applications/Atom.app/Contents/Resources/app/src/pane.js:162:32)
at PaneContainer.setRoot (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:137:21)
at PaneContainer.deserialize (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:58:16)
at Dock.deserialize (/Applications/Atom.app/Contents/Resources/app/src/dock.js:378:30)
at Workspace.deserialize (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:416:40)
at /Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1263:35

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.