atom / tree-view Goto Github PK
View Code? Open in Web Editor NEW๐ณ Explore and open project files in Atom
License: MIT License
๐ณ Explore and open project files in Atom
License: MIT License
The Ignored Names setting requires a direct match and does not support wildcards, making it a bit useless. I would like the functionality to add *.foo
to this area, and then hide all files with the extension .foo
See atom/atom#981
Hi,
I don't understand why some people can even like having directories grouped/sorted together, then files grouped/sorted together, but I respect that.
However, coming from a Mac only background, I'm very used to having all items in the tree view sorted alphabetically, regardless of their type, to have for example the config
directory just near my config.ru
file.
Is there a setting to do that ?
If not, it should be :)
Thanks a lot for making Atom and letting us play with it while in beta.
If I want to hide a folder such as *.xcdatamodeld . The Tree View cannot hide those folder.
Because I usually drag a project folder inside the Tree-View... but for now that open a new window Editor. That's mean I have an editor with my project folder and the tree-view and a editor with nothing...
I've found that single clicking files in the tree view will open the file in a tab. This has been causing a lot of tab clutter as I am browsing through the files.
I'd like to see a single click not open a new tab but rather just preview the file contents.
A double click would open the file as a tab.
This functionality can be found in the Sublime Text tree view.
it seems to me that the indentation of sub-folder in the tree view is too big.
I thinks it could be reduce of the half without make it difficult to follow the tree
It would be ๐ to be able to double-click on the border between the tree-view and editor so that tree view resizes itself to fit the currently visible tree contents.
The tree-view does not update the git status status-changed
, status-added
, etc. when files in repo are edited. Also it looses the change if a file is added. It shows it only initially but if you selected it in tree-view the status disappears.
The screenshot shows changes in the file but nothing appears in the tree-view. File in questions mailchimp.js
:
If you inspect the element the CSS classes is missing, so it is not a styling issue (IMO).
Atom version: 0.64.0
Tree View version: 0.72.0
See atom/atom#159
Repro: run atom
from the command line in a git directory with some changes.
The tree doesn't have the orange/green/etc diff highlights.
The highlights work as expected if I use File -> Open on the directory instead.
If I option-click a disclosure triangle (in the tree view, for instance) it should expand/collapse all its children as well.
Moved over from atom/atom#1232
Suggestion: Hide Ignored Names Default To Checked.
Moved from atom/atom#1289
Does not focus, just opens and closes.
Working on a Jekyll project at the moment. It places generated files into __site/_.
I added site/ to my .gitignore, then ran jekyll build
to generate it. The folder generates, but it doesn't show up in Atom's treeview. Presumably this has something to do either with file watching or how Atom representes .gitignored files.
It would be nice if there was a package option to change the tree-view font size independently from the Atom settings.
See atom/atom#624
It is absolutely necessary to be able to select many files, to be able to do things like staging changes for many files with Git, deleting many files at once, copying or cutting many files at once, sending many files in a single gist at once with a package and many other things. Selecting many files should be supported with the Ctrl
or the Command
keys, depending on the operating system, and using Shift
to select many adjacent files at once should be supported. The API should of course make it possible for packages to get a list of the files selected, since this is particularly useful for commands added by packages.
I'd like to be able to right-click an open file in the editing pane and have it revealed and focussed in the tree view.
Uncaught Error: Buttons need to be array
TypeError: Buttons need to be array
at Object.module.exports.showMessageBox (/Applications/Atom.app/Contents/Resources/browser/api/lib/dialog.js:99:15)
at callFunction (/Applications/Atom.app/Contents/Resources/browser/atom/rpc-server.js:108:19)
at Ipc.<anonymous> (/Applications/Atom.app/Contents/Resources/browser/atom/rpc-server.js:202:14)
at Ipc.EventEmitter.emit (events.js:106:17)
at process.<anonymous> (/Applications/Atom.app/Contents/Resources/browser/api/lib/ipc.js:50:27)
at process.EventEmitter.emit (events.js:106:17) /Applications/Atom.app/Contents/Resources/renderer/api/lib/remote.js:80
When you delete a file in a directory using the hotkeys, it'd be nice if the highlight focus moved to the next file or at least to the top of the directory that you were in so that you don't have to click back to where you were or scroll all the way down using the arrows. Right now the highlight focus disappears so if you press the down arrow, the highlight starts back at the top of the directory
m
For now it's annoying to Toggle the view each time I open Atom.
Currently the tree view hides on โ+W and ESC if it was the most recent item in the interface that was interacted with. This seems odd to me and is unlike any editor that I've used. I would recommend sticking to โ+\ to toggle the tree view and keep โ+W for closing the active tab, regardless of what panel was most recently active.
In general, compiled files (*.pyc, *.o, etc) don't need to be seen in the tree. This is semantically different than what's ignored (although these files will often be ignored as well).
Use case:
I have a project. In that project I have a few folders that are used often.
I'd like to access these quickly (and optionally be able to hide the others). I solved this in other editors by having the frequently used folders as root folders in the filetree.
Here is an example (of an typical Ruby on Rails project) how I'd do this:
_ app/
|_ assets/
|_ controllers/
|_ models/
|_ views/
_ javascripts/
|_ templates/
|_ models/
|_ application.js
_ stylesheets/
|_ application.css
_ my_project/
|_ app/
|_ config/
|_ db/
|_ README
This is much easier to browse and also takes up less horizontal space then:
_my_project/
|_ app/
|_ assets/
|_ javascripts/
|_ templates/
|_ models/
|_ application.js
|_ stylesheets/
|_ application.css
|_ controllers/
|_ models/
|_ views
|_ config/
|_ db/
|_ README
But both do the same thing, deciding if it should create a file or folder depending upon the existence of a trailing '/'.
It would be nice to also have a way to toggle open/close directory with "o" as in vim's NERDTree plugin.
Would be awesome to be able to drag and drop files between folders in the file tree right in Atom. I like the text-based rename feature that lets you move files between folders, but drag and drop feels more natural to me having gotten used to it in TextMate.
In Ruby apps I always install gems to vendor/bundle
. I have that path ignored in my global .gitignore
(~/.gitignore
). However, tree-view always shows that path in green as a new folder. If I add it to the root's .gitignore
it no longer shows up in tree-view. Could the plugin search up and down from the root to find additional .gitignore
files to read in?
One of the features I miss in Atom is the 'smart tabs' concept. In sublime when you click on an item in the file tree, unless you start modifying it, or double click on the file, it previews the file without opening the tab completely. Therefore if you click on another file without officially opening it it doesn't stay open.
You'll see I browse through a few files, make a change and the tab opens and shows changes have been made in the tab color. Later in the gif I double click on the file and it opens it officially in a tab.
Would love to see how we can add this into Atom
There is a Rename
option in the context menu. However it is not an exposed command. There is no exposed shortcut to rename the current file.
However I don't think this should be added to this package. The MoveDialog
class and the Rename/Move command should be extracted to a new package. The tree-view
package should be just that - a Tree View. It should just present a sidebar with files and connect the UI with the underlying commands for file system manipulation.
That being said other commands like Delete should be extracted as well.
I suggest creating a package enclosing all commands related to the file system.
Duplicating a file by selecting "Duplicate" from the context menu would be great!
@zcbenz If we see this Duplicate Key
error from pathwatcher, what does it actually mean happened? It definitely doesn't happen every time, only occasionally on CI.
>> TreeView
>> file modification
>> tree-view:move
>> when a file is selected
>> when the path is changed and confirmed
>> when all the directories along the new path exist
>> it moves the file, updates the tree view, and closes the dialog
>> Error: Duplicate key
>> at HandleWatcher.start
>> (/private/tmp/atom-build/Atom.app/Contents/Resources/app/node_modules/pathwat
>> cher/lib/main.js:65:29)
>> at new HandleWatcher
>> (/private/tmp/atom-build/Atom.app/Contents/Resources/app/node_modules/pathwat
>> cher/lib/main.js:29:12)
>> at new PathWatcher
>> (/private/tmp/atom-build/Atom.app/Contents/Resources/app/node_modules/pathwat
>> cher/lib/main.js:115:30)
>> at Object.exports.watch
>> (/private/tmp/atom-build/Atom.app/Contents/Resources/app/node_modules/pathwat
>> cher/lib/main.js:172:12)
>> at
>> Directory.module.exports.Directory.subscribeToNativeChangeEvents
>> (/private/private/var/lib/jenkins/workspace/atom-615ee4b3dc03/src/directory.c
>> offee:107:6)
>> at
>> /private/tmp/atom-build/Atom.app/Contents/Resources/app/src/directory.js:26:2
>> 2
>> at
>> /private/tmp/atom-build/Atom.app/Contents/Resources/app/node_modules/emissary
>> /lib/emitter.js:113:30
>> at Array.forEach (native)
>> at Directory.module.exports.Emitter.emit
>> (/private/tmp/atom-build/Atom.app/Contents/Resources/app/node_modules/emissar
>> y/lib/emitter.js:112:47)
>> at Directory.module.exports.Emitter.on
>> (/private/tmp/atom-build/Atom.app/Contents/Resources/app/node_modules/emissar
>> y/lib/emitter.js:32:16)
>>
>>
>> Finished in 9.056 seconds
>> 88 tests, 350 assertions, 1 failure, 0 skipped
>>
>> Tests failed
Is there any way to copy paste files from one folder to another or one project to another? Cmd+C/Right click doesn't seem to work.
For now there is no setting item for tree-view's postion. I prefer right of the editor where treeview is.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.