Hi Folks,
TmCodeBrowser is now available as tmplugin, with a number of enhancements:
- Keyboard navigation and search, similar to the 'Go to File...' panel - Compatible with OS X 10.3.9 and later - Support for Objective-C
If you currently have the old TmCodeBrowser2 installed, please de- install it first:
- Quit TextMate - Drag the ~/Library/InputManagersManager folder into the trash - Drag the ~/Library/InputManagers/InputManagersManager folder into the trash Note: You will not be able to empty the trash until you logout or restart!
Then install the new TmCodeBrowser.tmplugin available here:
http://www.cocoabits.com/TmCodeBrowser/
Note: Once unpacked, TmCodeBrowser.tmplugin will look like a Folder (Allan has not added tmplugin to the CFBundleDocumentTypes in the Info.plist file). Simply drag the TmCodeBrowser.tmplugin onto TextMate, and TextMate will install the plugin. CodeBrowser will then be available in the menu under 'Windows/Show CodeBrowser' (you may need to restart TextMate for that entry to appear).
Gerd
On 03/11/2005, at 22.26, Gerd Knops wrote:
Note: Once unpacked, TmCodeBrowser.tmplugin will look like a Folder (Allan has not added tmplugin to the CFBundleDocumentTypes in the Info.plist file).
Ups… I actually had, but forgot that my Info.plist is generated from a template (thus added it to the generated file).
I've been using this during the past week (old version) and have to say: awesome. I'm hooked. Just saw this post and installed the new plugin version on a different machine, but here were some issues I ran into:
- in config, the "Manual" button doesn't do anything - Cmd+Ctrl+T was already in use by the Transmit package (I use the subversion bundles). So... there was no way I could bring up the plugin via the keyboard. - I temporarily disabled the Transmit commands (just locally!) but then TextMate would spin the beach ball and just hang whenever I pressed Cmd+Ctrl+T. I am on rev 687, OS X 10.4.2 -- is anyone else getting this hang?
hope that helps. -Kumar
On 11/3/05, Gerd Knops gerti@bitart.com wrote:
Hi Folks,
TmCodeBrowser is now available as tmplugin, with a number of enhancements:
- Keyboard navigation and search, similar to the 'Go to File...' panel - Compatible with OS X 10.3.9 and later - Support for Objective-C
If you currently have the old TmCodeBrowser2 installed, please de- install it first:
- Quit TextMate - Drag the ~/Library/InputManagersManager folder into the trash - Drag the ~/Library/InputManagers/InputManagersManager folder into
the trash
Note: You will not be able to empty the trash until you logout or
restart!
Then install the new TmCodeBrowser.tmplugin available here:
http://www.cocoabits.com/TmCodeBrowser/
Note: Once unpacked, TmCodeBrowser.tmplugin will look like a Folder (Allan has not added tmplugin to the CFBundleDocumentTypes in the Info.plist file). Simply drag the TmCodeBrowser.tmplugin onto TextMate, and TextMate will install the plugin. CodeBrowser will then be available in the menu under 'Windows/Show CodeBrowser' (you may need to restart TextMate for that entry to appear).
Gerd
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Ehm, the .tmplugin just acts as a normal folder ... and I have the latest version of TM (687).
Andreas
Exactly as the 'Download and Installation' instructions pointed out, right?
I could swear that wasn't there, but I'm sure it was. Sorry.
So, is this wishtime? Auto de-fold (is that the name)? Anyways, I want all the views expanded however it seems to keep this setting rather well. Inclusion of DIV's in the html view.
otherwise, this is pretty cool :)
Andreas
On Sat, Nov 5, at 3:42 AM, Andreas Wahlin wrote:
So, is this wishtime? Auto de-fold (is that the name)? Anyways, I want all the views expanded however it seems to keep this setting rather well.
Actually TmCodeBrowser remembers which categories are expanded on a per-language base. That seems to be the most sensible solution, as certain categories are rather long in some language without providing much value in terms of navigating, while the same category for another language may be quite useful.
Inclusion of DIV's in the html view.
Easy: Add this line to the end of the html section in the ~/.ctags.tmcodebrowser file:
--regex-html=/<div[ \t]+class[ \t]*=[ \t]*"([^"]+)/\1/Div/i
otherwise, this is pretty cool :)
Thanks!
Gerd
Noob alert! I did append the text, and then the CodeBrowser displayed nothing, not even when removing the extra line. So I removed the config file and reinstalled the plugin, just to reset it. However, the plugin now works, except the ~/.ctags.tmcodebrowser file does not exist (not just empty, non-existing).
any ideas at all?
Andreas
On Nov 5, 2005, at 20:56 , Gerd Knops wrote:
On Sat, Nov 5, at 3:42 AM, Andreas Wahlin wrote:
So, is this wishtime? Auto de-fold (is that the name)? Anyways, I want all the views expanded however it seems to keep this setting rather well.
Actually TmCodeBrowser remembers which categories are expanded on a per-language base. That seems to be the most sensible solution, as certain categories are rather long in some language without providing much value in terms of navigating, while the same category for another language may be quite useful.
Inclusion of DIV's in the html view.
Easy: Add this line to the end of the html section in the ~/.ctags.tmcodebrowser file:
--regex-html=/<div[ \t]+class[ \t]*=[ \t]*"([^"]+)/\1/Div/i
otherwise, this is pretty cool :)
Thanks!
Gerd
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Sun, Nov 6, at 3:54 AM, Andreas Wahlin wrote:
Noob alert! I did append the text, and then the CodeBrowser displayed nothing, not even when removing the extra line. So I removed the config file and reinstalled the plugin, just to reset it. However, the plugin now works, except the ~/.ctags.tmcodebrowser file does not exist (not just empty, non-existing).
any ideas at all?
As the change log explains:
- Changed handling of .ctags.tmcodebrowser: If ~/.ctags.tmcodebrowser does not exist, fall back to internal default. That way users without a customized ~/.ctags.tmcodebrowser will benefit from updates to the internal default file
And the manual references the default file, a copy is at:
http://www.cocoabits.com/TmCodeBrowser/Manual/default_ctags.txt
Gerd
Andreas
On Nov 5, 2005, at 20:56 , Gerd Knops wrote:
On Sat, Nov 5, at 3:42 AM, Andreas Wahlin wrote:
So, is this wishtime? Auto de-fold (is that the name)? Anyways, I want all the views expanded however it seems to keep this setting rather well.
Actually TmCodeBrowser remembers which categories are expanded on a per-language base. That seems to be the most sensible solution, as certain categories are rather long in some language without providing much value in terms of navigating, while the same category for another language may be quite useful.
Inclusion of DIV's in the html view.
Easy: Add this line to the end of the html section in the ~/.ctags.tmcodebrowser file:
--regex-html=/<div[ \t]+class[ \t]*=[ \t]*"([^"]+)/\1/Div/i
otherwise, this is pretty cool :)
Thanks!
Gerd
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Thu, Nov 3, at 10:37 PM, Kumar McMillan wrote:
I've been using this during the past week (old version) and have to say: awesome. I'm hooked. Just saw this post and installed the new plugin version on a different machine, but here were some issues I ran into:
- in config, the "Manual" button doesn't do anything
Fixed in 1.02
- Cmd+Ctrl+T was already in use by the Transmit package (I use the
subversion bundles). So... there was no way I could bring up the plugin via the keyboard.
Not sure what I can do about that. I cleared the Cmd+Ctrl+T shortcut with Allan, but am open to suggestions. pretty impossible these days to find a reasonable shortcut that is not already in use at some place!
- I temporarily disabled the Transmit commands (just locally!) but
then TextMate would spin the beach ball and just hang whenever I pressed Cmd+Ctrl+T. I am on rev 687, OS X 10.4.2 -- is anyone else getting this hang?
Can't comment on that.
Gerd
On 05/11/2005, at 0.21, Gerd Knops wrote:
- Cmd+Ctrl+T was already in use by the Transmit package (I use the
subversion bundles). So... there was no way I could bring up the plugin via the keyboard.
Not sure what I can do about that. I cleared the Cmd+Ctrl+T shortcut with Allan, but am open to suggestions. pretty impossible these days to find a reasonable shortcut that is not already in use at some place!
I'll just move the Transmit actions to ctrl-shift-cmd T.
Bundle items are supposed to be on ctrl-shift T and secondly (when that's already taken), ctrl-shift-cmd T -- so the Transmit key is the wrong one.
- I temporarily disabled the Transmit commands (just locally!) but
then TextMate would spin the beach ball and just hang whenever I pressed Cmd+Ctrl+T. I am on rev 687, OS X 10.4.2 -- is anyone else getting this hang?
Can't comment on that.
Gerd
Excellent! upgraded to 1.03 and rev 715 of TextMate and it is no longer hanging on key command. FYI to Allan on the Transmit key commands: these are still conflicting with ^Ctrl-T for me (using rev 2103 of Bundles checkout).
thanks for your work on this useful plugin. K
... just a little quirk:
It seems TmCodeBrowser does not display UniCode characters correctly. The accented characters from my LaTeX sections o not show up in the panel.
Berndt
According to Gerd Knops:
- Compatible with OS X 10.3.9 and later
Uh uh, YES, Thanks a lot! :)
be available in the menu under 'Windows/Show CodeBrowser' (you may need to restart TextMate for that entry to appear).
Tested it with LaTeX, works fine. Is the window supposed to disappear when I click on a section though?
According to Ollivier Robert:
Tested it with LaTeX, works fine. Is the window supposed to disappear when I click on a section though?
Sorry, wrong shortcut, ignore this message.
Looks great Gerd, great work!
One question though: I have a project full of LaTeX files, and one of them is the master file, which is set as TM_LATEX_MASTER, and it has a bunch of \include commands to include other tex files, one for each "chapter". What would be great is if the CodeBrowser can see all those at once, no matter which single file I am looking at. Would this be possible somehow?
On Nov 3, 2005, at 3:26 PM, Gerd Knops wrote:
Haris
On Fri, Nov 4, at 3:45 PM, Charilaos Skiadas wrote:
Looks great Gerd, great work!
Thanks!
One question though: I have a project full of LaTeX files, and one of them is the master file, which is set as TM_LATEX_MASTER, and it has a bunch of \include commands to include other tex files, one for each "chapter". What would be great is if the CodeBrowser can see all those at once, no matter which single file I am looking at. Would this be possible somehow?
I don't see an obvious and efficient solution to that, but will think about it.
Gerd