Home Download Buy Blog Forum Support

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

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

Postby Fatbat on Tue Sep 25, 2012 9:07 pm

OK, thanks for the help. I now have a completely new system, built a brand new computer, and so everything is a new installation. I have done everything you've said and F12 is now working with the settings above, but now when I hit F12, Windows doesn't know which program to use to open the file. It's not opening properly in localhost, instead the dialogue to choose which program to open .php files shows up. I tried choosing Chrome, but that only opens the code in the browser window, not the site itself. I'm sure I must just be missing something I had previously setup, but I'm not sure what. I've added my www directory to my Apache httpd.conf file and so when I browse to localhost in my browser I can see my files in "My Projects" list and they open properly from there, but still not from Sublime.

Your thoughts?
Fatbat
 
Posts: 71
Joined: Sun Feb 19, 2012 6:54 pm

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

Postby renholder57 on Wed Sep 26, 2012 2:58 pm

Windows 7 user here. I've found a couple of issues.

1. "Open in new window" currently does nothing.

2. "Open in browser" just opens the file in sublime and nothing else.

I'm sure you'll need more specifics, just let me know and thanks for the plugin.
renholder57
 
Posts: 1
Joined: Wed Sep 26, 2012 2:55 pm

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

Postby mklement on Thu Sep 27, 2012 2:14 pm

I opened an issue at https://github.com/titoBouzout/SideBarEnhancements/issues/41 asking for improvements to the read-me so that people can take full advantage of this useful package without struggling to configure it.

It also contains my (hopefully correct) findings on the specifics and potential pitfalls of the F12 and Open With features.
While written in part from the perspective of OS X, I hope they are useful in general.
mklement
 
Posts: 1
Joined: Thu Sep 27, 2012 1:43 pm

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

Postby tito on Thu Sep 27, 2012 10:14 pm

Hello, many thanks for so detailed issue. I fixed most of the bugs you mentioned about the F12 key.

Now this pluing try to call the browser directy instead of using "webbrowser" module.

If the browser is not found, please post the path to the browser here, I'll be happy to add it.

About updating the readme.md file, i added some of the things you mentioned, but please, fork the project and add anything you think is important. Contributions welcome.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 878
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

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

Postby n1colius on Tue Oct 02, 2012 4:45 am

hello, i just want to ask..

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

Code: Select all
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... :(
i am on windows
n1colius
 
Posts: 1
Joined: Tue Oct 02, 2012 4:41 am

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

Postby Fatbat on Tue Oct 02, 2012 7:35 pm

tito wrote:
Your setting should be something like this:

Code: Select all
{
    "E:\\work\\www":{
        "url_testing":"http://localhost",
        "url_production":"http://domain.tld"
    }
}


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

http://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.
Fatbat
 
Posts: 71
Joined: Sun Feb 19, 2012 6:54 pm

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

Postby tito on Wed Oct 03, 2012 1:27 am

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.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 878
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

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

Postby Fatbat on Wed Oct 03, 2012 3:09 am

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


Code: Select all
{
    "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:

http://localhost/website/filename.php
Last edited by Fatbat on Wed Oct 03, 2012 5:36 am, edited 1 time in total.
Fatbat
 
Posts: 71
Joined: Sun Feb 19, 2012 6:54 pm

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

Postby Fatbat on Wed Oct 03, 2012 5:27 am

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
Fatbat
 
Posts: 71
Joined: Sun Feb 19, 2012 6:54 pm

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

Postby Fatbat on Wed Oct 03, 2012 9:47 pm

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.
Fatbat
 
Posts: 71
Joined: Sun Feb 19, 2012 6:54 pm

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 4 guests