Home Download Buy Blog Forum Support

Dired: Simple directory browser

Re: Dired: Simple directory browser

Postby gabriev82 on Fri Dec 30, 2011 4:47 pm

Awesome plugin! :)
but I have problem on expand folder command, I get this error on console.
I have Windows with ST2 build 2150
Code: Select all
Traceback (most recent call last):
  File ".\sublime_plugin.py", line 257, in run_
  File ".\dired.py", line 85, in run
  File ".\dired.py", line 8, in find_view
TypeError: cannot concatenate 'str' and 'NoneType' objects


Thanks
gabriev82
 
Posts: 22
Joined: Sat Nov 26, 2011 3:10 pm

Re: Dired: Simple directory browser

Postby hibbelig on Sat Dec 31, 2011 10:24 am

gabriev82 wrote:Awesome plugin! :)
but I have problem on expand folder command, I get this error on console.


I pushed a fix. Please "hg pull -u".
hibbelig
 
Posts: 77
Joined: Wed Dec 21, 2011 11:24 pm

Re: Dired: Simple directory browser

Postby gabriev82 on Sat Dec 31, 2011 1:45 pm

Yes now it work perfect thank you very much! :D
gabriev82
 
Posts: 22
Joined: Sat Nov 26, 2011 3:10 pm

Re: Dired: Simple directory browser

Postby hibbelig on Sat Dec 31, 2011 3:06 pm

Great. Let me know if you have ideas for features, or find bugs.
hibbelig
 
Posts: 77
Joined: Wed Dec 21, 2011 11:24 pm

Re: Dired: Simple directory browser

Postby gabriev82 on Sat Dec 31, 2011 6:04 pm

Great. Let me know if you have ideas for features, or find bugs.


Feature requests:
- a shortcut for “go up to parent folder” mapped on backspace key
- different colors to distinguish between files and folders

Bugs:
- when you press "i" shortcut (dired_expand_directory) multiple times, you get duplicate results on files list.

Code: Select all
   
   0:      4.0k | ../
   1:      0.0b | extraspace-d1b55e23/
   2:     66.0M | extraspace-d1b55e23\extraspace_d-6a6ee50b.ipch
   3:     66.0M | extraspace-d1b55e23\extraspace_d-6a6ee50b.ipch
   4:     66.0M | extraspace-d1b55e23\extraspace_d-6a6ee50b.ipch
   5:     66.0M | extraspace-d1b55e23\extraspace_d-6a6ee50b.ipch


Thank you very much!
gabriev82
 
Posts: 22
Joined: Sat Nov 26, 2011 3:10 pm

Re: Dired: Simple directory browser

Postby hibbelig on Sun Jan 01, 2012 12:05 am

Thank you, gabriev82. I fixed both of them.
hibbelig
 
Posts: 77
Joined: Wed Dec 21, 2011 11:24 pm

Re: Dired: Simple directory browser

Postby sindresorhus on Sun Jan 29, 2012 1:33 am

You should add it to Package Control: http://wbond.net/sublime_packages/package_control
sindresorhus
 
Posts: 5
Joined: Sun Jan 29, 2012 1:31 am

Re: Dired: Simple directory browser

Postby lopo on Fri Jun 01, 2012 9:24 am

Hi,

I'm new with sublime so excuse me if my question is dumb :) but somehow dired is not working for me.

I'm running it on w7.
I've downloaded the zip file with dired package and moved the folder "hibbelig-dired-3d20bab34130" to "C:\Users\Palo\AppData\Roaming\Sublime Text 2\Packages".

The console is showing that the plugin was loaded:
"Reloading plugin C:\Users\Palo\AppData\Roaming\Sublime Text 2\Packages\hibbelig-dired-3d20bab34130\dired.py"

I found that this shortcut is in the default shortcuts for duplicating line - { "keys": ["ctrl+shift+d"], "command": "duplicate_line" },
So I commented it out but after pressing the shortcut nothing happend. When it was uncommented the shortcut was just duplicating lines.

If anyone could advise I'll really greatfull since sublime seems to be really great but I miss a simple directory browser feature.

Thanks
lopo
 
Posts: 1
Joined: Fri Jun 01, 2012 9:00 am

Re: Dired: Simple directory browser

Postby cognominal on Mon Jun 18, 2012 3:48 am

I am new to ST2 and don't know much about python. Installed dired. Trying to run dired from the menu.
Got in the python console :

File "/Applications/Sublime Text 2.app/Contents/MacOS/sublime_plugin.py", line 339, in run_
return self.run()
TypeError: run() takes exactly 2 arguments (1 given)

Help plz!
cognominal
 
Posts: 1
Joined: Mon Jun 18, 2012 3:44 am

Re: Dired: Simple directory browser

Postby quodlibet on Tue Jun 19, 2012 6:32 am

Sama here. The console shows:
Code: Select all
  File ".\sublime_plugin.py", line 339, in run_
    return self.run()
TypeError: run() takes exactly 2 arguments (1 given)

When I try to open Dired from the Command Palette.

Any ideas?
quodlibet
 
Posts: 499
Joined: Sat Jun 18, 2011 5:53 pm

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: meigallodixital and 6 guests