Sublime Forum

SideBar Enhanc.. (Clipboard, Open With., Reload renamed)

#75

hello, i just want to ask…

when i use find advanced->in paths containing…
the search result for example like this

4 matches in 1810 files for term "listItem" under 
"E:\www\toko-inventory"

E:\www\toko-inventory\application\controllers\bItem\listItem.php
E:\www\toko-inventory\application\controllers\bItemStock\listItemStock.php
E:\www\toko-inventory\application\views\bItem\listItem.php
E:\www\toko-inventory\application\views\bItemStock\listItemStock.php

how can i open up this couple of file in new tab? what shortcut keys?
been searching for this, but got no answer… :frowning:
i am on windows

0 Likes

#76

[quote=“tito”]

Your setting should be something like this:

{ "E:\\work\\www":{ "url_testing":"http://localhost", "url_production":"http://domain.tld" } } [/quote]

That is what I have in the settings but instead of my browser opening up:

localhost/website/filename.php

it’s opening up:

file:///E:/Work/www/website/filename.php instead.

This is doing my head in. It can’t be this difficult, especially when it worked perfectly fine before.

On a similar but somewhat unrelated note, I had my last computer set up so that when I double clicked a PHP file, it would open in my browser at localhost/website/filename.php and for the life of me I can’t remember how I set that up, but it was immensely useful. If anyone here can tell me how I might have done this previously it would be greatly appreciated because I simply can’t remember and haven’t been able to find the answer on Google.

Regards.

0 Likes

#77

n1colius install “open include”
then CTRL+A (select all)
then ALT+D (open paths found on selection)

Fatbat - the paths in the config file are case sensitive. check again.

0 Likes

#78
{
    "E:\\work\\www":{
        "url_testing":"http://localhost",
        "url_production":"http://domain.tld"
    }
}

is the correct case. But it doesn’t make a difference what case I use. I’ve tried all caps, mixed case, all lower case. In fact it doesn’t matter what I put here. I can type anything, leave it blank, write a poem, etc. the result is the same. Hitting F12 opens the file in Firefox at:

file:///E:/Work/www/website/filename.php

instead of:

localhost/website/filename.php

0 Likes

#79

Also, how do I control what app hitting F12 opens with? Chrome is my default browser but hitting F12 opens files in Firefox instead.

Edit: found it in the second settings file > Preferences >Package Settings > Side Bar > Settings Default

0 Likes

#80

Does anyone have any advice how to make this plugin work? I’ve read though everything on Github but I do not see an obvious answer.

Any help would be greatly appreciated.

0 Likes

#81

blargg

try this:

{ "E:\\Work\\www":{ "url_testing":"http://localhost", "url_production":"http://domain.tld" } }

or this:

{ "e:\\Work\\www":{ "url_testing":"http://localhost", "url_production":"http://domain.tld" } }

Edit the config file and select “chrome”

0 Likes

#82

Is there any way to permanently turn off ‘Instant file search’ because it’s on contrl+alt+f which happends to be ‘’ for me.

0 Likes

#83

Well, it’s working now. I was sure I tried all variations but I guess I hadn’t. Thanks for the help Tito.

0 Likes

#84

Sorry for this stupid question, but I didn’t find anything about it.

I like to use my Editor without a Mouse and I’m wondering if it’s not possible to focus the sidebar?
While writing something in the editor I want to focus the sidebar, navigate with cursor-keys and open the context menu.
Is this possible?

I’m using the latest Version on Mac OS X.

0 Likes

#85

@Fatbat - you are welcome!
@S0und - can you suggest a better keybinding?
@layne - CTRL+0 , i guess CMD+0

0 Likes

#86

[quote=“tito”]
Your setting should be something like this:

{ "E:\\work\\www":{ "url_testing":"http://localhost", "url_production":"http://domain.tld" } } [/quote]

Can you tell me the syntax for OSX? I right clicked my sidebar and pasted the result of the “Copy as Text>Folder Project” and it’s not working
“/Users/warin/Sites/minisite.stator.dev”

Is there a way to enable debug mode ? :smile:

0 Likes

#87

[quote]Is there a way to enable debug mode ?
[/quote]

Great idea, let me check… :stuck_out_tongue:

0 Likes

#88

regarding @layne’s question.

I can focus the sidebar with cmd + 0 but I want to be able to open the context menu with a keyboard shortcut as well. Is that possible?

edit

looks like alt+f2 will open the context menu when I’ve got a file open but I’d like to open the sidebar enhanced context menu when I’m traversing the sidebar.

0 Likes

#89

Errr… I’ve just uninstalled this extension and now the context menu does not appear when I right click any file in the sidebar. :S what can I do?

0 Likes

#90

For anyone who might encounter this issue, the solution is here:

github.com/titoBouzout/SideBarE … /issues/18

Now, @tito, a few questions/suggestions…

  • perhaps it might be worth removing F2 as a binding to Rename. It conflicts with Sublime’s default binding to Next Bookmark (in windows at least), rename isn’t a routine function for most users (imo), it’s available from the palette for those who want it, and people can always assign their own keys if they want to.
  • ctrl+alt+f fast find file is really nice, but I’m missing the option to open the results (files) in the results window and to reveal them in the sidebar. These two additions would round the function off beautifully.
  • On the subject of the error above, perhaps just renaming the original Side Bar and Side Bar Mount Point files is a better idea. Maybe offer your own uninstall script available through the palette?
  • It might also be worth contacting wbond to get some kind of package uninstall script standard agreed for package control to deal with these kinds of situations as well?

Nice work btw :smile:

S

0 Likes

#91

hi,fatbat, I tried all your variations like you do, but it doesnt working ~i need your help~contact me: liyuanwei1982@gmail.com

0 Likes

#92

@qgates

[quote]- perhaps it might be worth removing F2 as a binding to Rename. It conflicts with Sublime’s default binding to Next Bookmark (in windows at least), rename isn’t a routine function for most users (imo), it’s available from the palette for those who want it, and people can always assign their own keys if they want to.
[/quote]

No, sorry F2 is rename. :smile:

[quote]- ctrl+alt+f fast find file is really nice, but I’m missing the option to open the results (files) in the results window and to reveal them in the sidebar. These two additions would round the function off beautifully.
[/quote]

Reveal in sidebar… not sure …
Open in tabs, can be done with package called “open include”

About this topic, i’m not imaginative/motivated right now, if someone want to submit a pull request, these are welcome.

Regards, thanks for your time and suggestions.

0 Likes

#93

Hello guys,

I am a big fan of the sidebar enhancement package for sublimetext2 but today the F12 key (url testing) and the Alt + F12 key (url production) stop working. I didn’t do any changes with the package content nor update anything. It just stop working and it doesn’t open the default firefox browser.

Are you guys experiencing the same problem? Is there any bug on both testing and production key?

  • Windows XP User.

Thanks!

0 Likes

#94

Hi please, paste the content of the json file,
Thank you

0 Likes