PeepOpen-Issues
PeepOpen-Issues copied to clipboard
No window from TextMate and PeepOpen 0.3.2
After typing this out, I saw my path to the project has a space in it. This maybe a duplicate of a closed issue (#214), but that was for v0.3.1.
My versions:
Peepopen v 0.3.2 TextMate Version 1.5.10 (1623)
When using command-T, the corresponding menu option highlights for a brief second in TextMate. In the Console.app, I see this:
4/14/11 7:15:34 PM TextMate[24888] PeepOpen: Opening URL (null)
From another post, I saw the suggestion to try:
open 'peepopen://Users/my-user/path/to/project?editor=TextMate'
When I do that, the window does open. The path I used on my system does have a space in it. It does not work from inside TextMate though.
I've tried the following:
- deleting all plugins and peepopen and it's pref's file.
- reinstalling the plugin from peepcode preferences.
- only installing peepopen with no other plug-ins.
I did try another directory with no spaces and it does work as expected.
I think I had skipped a version. Things worked as expected in a previous version (guessing I started with 0.3.0, but I am not sure).
Thanks for the detailed report. I thought we had killed that bug.
I'll try to reproduce it with the current PeepOpen and TextMate plugin.
I'm getting the same error.
PeepOpen: Opening URL (null)
I don't have spaces in my path though.
Is there any way I can temporarily download an older version?
+1. Same error here. I'm on Lion (fresh install) if that matters.
+1 too. Same error here on Lion.
+1. Same here.
Setup: OS X Lion Textmate 1.5.10 (1631 build) Peepopen 0.3.5
This should be fixed in my fork of the TextMate plugin available here: https://github.com/pnomolos/PeepOpen-EditorSupport
I just installed PeepOpen on Lion, encountering the same issue: No search window opens on cmd-T and console shows "PeepOpen: Opening URL (null)". Pnomolos version of the TextMate plugin fixed this for me. Thanks Pnomolos!
Afterwards I was confronted with the fact that the PeepOpen plugin does not really understand TextMate project files. Instead it just searches within the directory the TextMate project file happens to be located in. If you have your TextMate project file outside your project directory, search therefore won't work. The solution is to create a new project file in your project's directory. You probably need to add it to your gitignore file (or similar) afterwards.
What my variant did is if the project has a single folder as the root, it uses that as the project directory. Otherwise if the root is a file/multiple files it uses the parent directory of the first file as the directory to search in. Right now the PeepCode plugin takes a single directory to search in - I could look into feeding it multiple root directories.