1) I'd like the indication(s) that a file has unsaved changes to be more
visible.
I think that the first release just indicated this by changing the
'saturation' of the icon in the file browser. The new beta release seems
to have brought the 'dot' back to the tabs, but it's still hard for to see
with the eyes of someone who has been programming for 40+ years.
While I'm on the subject of unsaved changes, one of my fears is that
Apple's new approach to versioned files, while it might work well for
things like word processors and spreadsheets and the like will be a
disaster for editors used for programming. I want to have control over
WHEN changes to a file are visible outside of the editor. I use things
like guard to automatically do things like running tests when I save a
file, and I don't want the editor (or OS X) deciding when a file should be
saved.
So I'd like to have TM2 either not do autosaving, or allow it to be
turned off.
2) I was hoping that TM2 would treat text insertions/replacements as a
whole to be the unit of undo. (Like TextEdit does). One of my long term
gripes with TM1 is that I have to hit Cmd-Z ones for EACH keystroke. I
hope that this is just something that the developer(s) haven't yet gotten
to.
3) I see that someone pointed out the lack of highlighting the selected
line. This is one of those things which my old eyes need help with. I do
notice that the latest beta is highlighting the selected line number(s) in
the gutter, which I might get used to.
Thanks for finally getting Avian out into the light of day!
--
Rick DeNatale
Google+: +Rick DeNatale <https://plus.google.com/102541178931067955550>
Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
I've imported the SCSS TM1 bundle (https://github.com/kuroir/SCSS.tmbundle.git) to TM2, and .scss files load correctly as source.scss files. However, I do not have access to the CSS bundle's snippets when editing an SCSS file.
I worked around this on TM1 by adding source.scss as a scope selector for EVERY snippet in the bundle, which took an absolute age — and the multilevel design of the TM2 bundle editor means it's probably going to take even longer!
Adding .scss to the file types for the CSS bundle means I lose the use of the SCSS bundle with these, as .scss files now show up as source.css rather than source.scss. (Incidentally, when I hit the + button under file types, should the cursor not go to the just-added entry so I can start typing the extension? As it stands, TM2 just adds a blank line and it looks like nothing happened…)
What I really want is a way to cascade definitions in the bundle editor — to set up SCSS files in the SCSS bundle so that they get all the benefits of being source.scss AND source.css.
Is this even possible? Hacking the CSS bundle seems like an ugly and labour-intensive way of doing this…
Thanks
--
John Yeates
Hi,
Sorry i don't know how to do for reply to a topic in the textmate digest,
But i would like to tell you about slow things on TM2, i have found a issue
:
Open textmate on a directory where there is more than 5 or 6 folder do not
expand them on the file browser try to open file with ⌃T, all working fine
and fast, now expand directory you have now like 30-40 folder maybe more,
double clic on a file or just ⌃T a new file and see what's append take like
0.5sec to open and be parse, and more if you open more file, i think it's
because the file browser search the file to add the little cross on the
right to close it.
Maybe this can help or not :D
Sorry for my english i'm french :)
... but has the annoying nag message:
`/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/process.rb
:194: warning: Insecure world writable dir /usr/local in PATH, mode 040777`
every time you run a script been fixed in TextMate 2 (can't upgrade at the
moment, too busy)?
Cheers,
Phil...
--
Nothing to see here... move along, move along
Can I please suggest we have the option to position the navigation bar in the
file browser at the bottom? Aesthetically, I think this would look much
better, besides being what I'm used to in TM1. I will never use the
backwards and forwards buttons, because I open other projects in a new TM
window. If I did traverse multiple projects/files in the one TM session, I
could see how having the nab bar at the top would make sense; but since
there is no way to tell which folder an open file belongs to except by
floating over the tab, it makes it quite confusing.
Also the icons in the navigation bar the final version? I find them a little
fuzzy.
--
View this message in context: http://old.nabble.com/Testmate-2%3A-File-browser-navigation-bar-tp32996378p…
Sent from the textmate users mailing list archive at Nabble.com.
Tab Bar - Position
I think the tab bar should be placed only above the right-hand edit pane,
not above the file browser sidebar. This would mean that the file browser
would be the full-height of the window.
I think this would make more visual sense...
The tabs relate to the files open in the edit pane, so should be attached to
this part of the screen, not sneaking out over to the left. Also, when the
sidebar is opened/closed the tabs would always be above the edit pane,
whatever the state of the sidebar.
Tab Bar - Text Colour
The non-selected tabs are quite hard to read (with black text on a dark grey
background). Maybe a lighter text colour would be clearer
File Browser and Gutter - Theme
Please allow the file browser and the gutter (containing the line numbers)
to have an optional dark 'theme' - the white/light grey background is quite
jarring when you're using a dark theme for the editor
Indentation Level Markers
It would be great to have some indication of the current indent level (to
help line things up vertically).
(Sublime Text 2 does this really nicely, with feint, visible lines
indicating the indent levels, that brighten in the area that the cursor is
positioned in - thus being both subtle and visibly useful when editing an
area of text)
Regards
SC
--
View this message in context: http://old.nabble.com/A-couple-of-UI-suggestions-tp32995036p32995036.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I follow the instruction at http://blog.macromates.com/2011/locating-bundles/ to get my fav Wombat theme working. I have done exactly as the #Converting a Theme section describes.
I didn't get it to work as the theme is not showing in View - Themes.
Any idea on what I am doing wrong?
In case you need to look at the theme, it's here Wombat.tmtheme (http://ttanh.us/3n1c3e2T0V001r133B3s)
Thank you in advance.
--
Tuan Anh Tran
Hello guys!
I recently switched to os x from ubuntu and now I miss a gedit's like
autocompletion. It shows a popup with suggestions along with typing without
pressing some special keys and it's really comfortable. The way it finds
suggestion is similar to textmate's. It show all possible variants found in
current open documents sorted by distance from current position.
I was roaming over internet for a few hours and couldn't actually find how
to archive something like this in textmate.
Is it possible? Maybe there's some ready to use bundle?
I had this same issue, it results from pasting the script into your
terminal window which will sometimes cause newlines to be inserted before
the end of a long line. Use sftp or something to upload the file rather
than pasting it and you should be fine.
Brandon
Turns out that this was a problem with my version not liking
the --ignore-submodules=dirty flag that Textmate was using in its git diff
command to find files to flag. Updating the version of git to the latest
with the marvellous homebrew did the trick.
I think this flag was brought in in version 1.7.2 of git.May be worth
listing as a requirement.
Liking what I see of TM2 so far.
Anthony
On 17 December 2011 22:10, Anthony Underwood <email2ants(a)gmail.com> wrote:
> >* When I open a folder which is a git working repo the SCM status icons do not*>* show and the go to SCM status folder does not work either by pressing the*>* puprple cog folder or the menu item. I’ve fixed a previous git issue where*>* TM2 was not finding git by adding TM_GIT = "/usr/local/bin/git" to a*>* ~/.tm_properties file. However the SCM status problems still persist.*
> Due to an unfortunate default setting of TM_GIT in TextMate.app/…/Defaults.tmProperties you MUST set TM_GIT in ~/.tm_properties to override (in r8930) — that the Git bundle works is no indication of TM_GIT having been set properly as Git bundle is more forgiving (and use the new shell command requirement system to find required commands).
>
> If you have verified that TM_GIT is set in ~/.tm_properties then another issue could be that you are using a non-standard file system. One user was reporting missing Git badges and SCM status view on his AES-encrypted folders (using Espionage).
>
> I suggest you a) try a git repository on your startup (HFS+ formatted) drive and b) try a subversion repository as well (since this should work w/o any setup required).
>
>
>
If I may add to the wish list for TM2:
My fork of the TM1 "ProjectPlus" bundle[1] shows some additional SCM states (for git at least) that I believe are quite useful. Best explained with a screen shot:
Additional info shown:
- Repository roots (the folders saying "git")
- Local repository ahead of upstream repository (the black bar behind "git" in the C-Tools folder)
- Folders reflect if they (or a subfolder) contain any files with uncommitted changes (purple folders)
- Untracked files (the orangish "UntrackedFile.h")
- Ignored files (the white "SVNVersion.h")
This helps me greatly to remember where I was, to be more diligent wrt source control etc.
Thanks
Gerd
[1]: https://github.com/gknops/projectplus
Hi,
My .tm_properties looks like this:
TM_GIT = "/usr/local/git/bin/git"
fontName = "monaco"
fontSize = 16
But nothing is being taken from it (the file is writable). Font is still 10
and the git status icons are not displaying. Anyone else having these
issues.
Using r8949.
Thanks.
--
View this message in context: http://old.nabble.com/Nothing-being-read-from-tm_properties-tp32994855p3299…
Sent from the textmate users mailing list archive at Nabble.com.
Been a hectic week here with all the user feedback and at the same time
our christmas celebrations which served as a nice distraction, but
yesterday I found time to address some of the initial feedback and r8949
is now available as a “beta build” — in retrospect this option is
mislabeled — though go to Preferences → Software Update and switch
to beta builds to see the update. Release notes below.
I haven’t devised a strategy yet as for regular vs beta builds, but I
expect most updates to also be pushed out as regular builds — it’s
more that beta builds could have some overlooked issue that prompts a
quick re-release of a proper build, where the “regular builds”
option should hopefully never see such issues (but still be alpha
software).
- - -
# Release Notes
## 2011-12-16: r8949
* HTML output can open in its own window: `defaults write
com.macromates.TextMate.preview htmlOutputPlacement window`.
* Anti-alias can be disabled: `defaults write
com.macromates.TextMate.preview disableAntiAlias -bool YES`.
* File browser can be placed on the right side: `defaults write
com.macromates.TextMate.preview fileBrowserPlacement right`.
* With multiple carets, ⌘-clicking one of them removes it (i.e. it’s
a toggle).
* Carriage returns (`<CR>`) on the general clipboard are converted to
regular newlines when pasting.
* Rename help book to “TextMate 2” which fixes issues where _Help
→ TextMate Help_ showed TextMate 1.5’s help book.
* TextMate 1.x and 2.0 can run at the same time.
* Setting `TM_HG` and `TM_GIT` in Preferences is no longer eclipsed by
the default properties (which set them to point at `/opt/local/bin`).
* Fix potential crash when deleting bundles on disk (`rm -rf`).
Hello
Firstly I would to say that TM2 seems great. We will certainly need some time to get used to new methods but first tries are fine.
I would to know if it's actually possible to use a personal bundle. It's about LaTeX with my language grammar and my theme.
Best regards
Alain Matthes
In 2.0 alpha, the "Anti alias" option is gone. Please keep it. I am one of
those unlucky people who cannot work long in front of anti alias fonts
(probably before there is a retina display Macbook).
--
View this message in context: http://old.nabble.com/Please-keep-the-option-to-turn-OFF-%22Anti-alias%22-t…
Sent from the textmate users mailing list archive at Nabble.com.
Hi Charles,
I solved my Citation (Ref-TeX Style) completion command problem in the latexbundle. It didn't have anything to do with BibDeskTMCompletions or the BibDesk DO Completions command, but with LaTeXUtils.rb. Sorry for the noise about BibDesk. I needed to change a couple lines in LaTeXUtils.rb to adapt it to biblatex method of bib input. I had to change line 244 to
addbib_regexp = /^[^%]*\\addbibresource\s*\{([^\}]*)\}/
and line 248 to
scanner.extractors[addbib_regexp] = Proc.new do |filename, line, groups, text|
--Gildas
* Charles Turner (vze26m98(a)gmail.com) scripsit:
|> On Thu, Dec 15, 2011 at 10:16 PM, Gildas Hamel <gweltaz(a)ucsc.edu> wrote:
|>
|> > I have a question re Citation (Ref-TeX Style) completion or BibDesk. The completion doesn't occur in TM2, while it continues to work fine in TM1, without having to open BibDesk, via the BibDeskTMCompletions script which I put in a ~/bin folder.
|> >
|> > Any suggestion as to why it doesn't work in TM 2 alpha? Is it because tooltips might not be working yet, or do I need to point the LaTeX bundle towards my bib files (and how?)? Any hint greatly appreciated by this non-coder.
|>
|> You mean the completions script available here?
|>
|> <https://public.me.com/amaxwell>
|>
|> I'll take a look at it on Tuesday after the semester is done if you
|> don't get a response on the TM list.
|>
|> Best, Charles
Hello,
I was able to get the bundled rmate script that comes with the just released alpha version of TM2 to work great on one of the servers I am often on which is a really nice thing. The other server that I do a lot of work on is being more of a pain however. Whenever I run the script I get the following error:
/cluster/home/jstjohn/bin/rmate:45: syntax error, unexpected '=', expecting '}'
= v }
^
/cluster/home/jstjohn/bin/rmate:47: syntax error, unexpected '=', expecting '}'
= v }
^
I have not made any modifications to the script.
Here is my ruby version:
ruby --version
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
It is a centos 5 server if that means anything to anyone.
Thanks for your time!
John
hello, recommend me pls a dark color scheme like "All Hallows Eve" or
"IR_Black" but in which will be different backgrounds to determine which
block is where for the:
php code
javascript
html
css
so all these document parts will have a bit different background, so i can
visually determine where one of these blocks ends but not all in one black
background or
Thanks.
--
View this message in context: http://old.nabble.com/recommend-me-color-scheme-tp32988808p32988808.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
this is a quick list I've made after half a day of TM2 usage, hope it can
be helpful:
1. Wrap Column with Soft Wrap deactivated doesn't show any wrap marker (on
TM1.5 we got a vertical line and a ligher or darker background color on the
right side of it, which was a very nice 'hint').
2. I don't know how to reproduce it, but sometimes when you open a folder
dragging it over the icon, the file browser opens all the folders in it
(and it takes a lot of time!)
3. Double clicking a file in the file browser to open a file? Why not a
single click as before?
4. Chosen font is not preserved.
5. The bookmark flag icon replacing the simple star icon is plain horrible
:) Moreover, if you have an old bookmark from TM1, you can still see the
star icon.
6. The new search is very, very nice. Non the less, a button to batch check/uncheck
results would be appreciated when you have to do mass replace.
7. Personally, I found the last two icons on the top bar of the file browser
kind of useless (the Home and the Computer), while the smart folder with
SCM status is pretty cool, but why not adding SCM badge
directly in the main file browser view (a-la XCode)?
8. Selecting some chars and then Folding Current Block causes the selected
text to be replaced by a three points char and is not possible to "unfold"
it, even if you close and reopen the file.
9. As far as I can tell, there's no way to add a new file to an existing
folder within the file browser (You can double click an empty space in the
tab bar, but it's not obvious and if you have a lot of
open tabs, there might be no empty space). Even the New Folder command is
rather hidden. The old icons to add a new file and a new folder from the
project drawer were much better.
10. If you have a single file opened, you can't close it without closing
the whole application.
11. Projects are gone, still you have a Go->Project Folder command
I will update the list as I find other issues, meanwhile thank you very
much for this alpha :)
Hi,
I try to mark a task as complete by get the following errors:
/Users/tomd/Library/Application
Support/TextMate/Managed/Bundles/Taskmate.tmbundle/Support/lib/taskmate/file.rb:7:in
`initialize': can't convert nil into String (TypeError)
from /Users/tomd/Library/Application
Support/TextMate/Managed/Bundles/Taskmate.tmbundle/Support/lib/taskmate/file.rb:7:in
`open'
from /Users/tomd/Library/Application
Support/TextMate/Managed/Bundles/Taskmate.tmbundle/Support/lib/taskmate/file.rb:7:in
`readlines'
from /Users/tomd/Library/Application
Support/TextMate/Managed/Bundles/Taskmate.tmbundle/Support/lib/taskmate/file.rb:12:in
`line_at'
from /Users/tomd/Library/Application
Support/TextMate/Managed/Bundles/Taskmate.tmbundle/Support/lib/taskmate.rb:169:in
`toggle_completed'
from Toggle Completed:10
Thanks.
--
View this message in context: http://old.nabble.com/Taskmate-Errors--TM2--tp32987898p32987898.html
Sent from the textmate users mailing list archive at Nabble.com.
Each time I try to compile a LaTeX document, even in a newly creaated user account, I receive the following message. Any ides on what I might be doing wrong?
Traceback (most recent call last): File
"/Users/admin/Library/Application
Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py",
line 465, in tmPrefs = tmprefs.Preferences() File
"/Users/admin/Library/Application
Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/tmprefs.py",
line 45, in __init__ self.prefs.update(self.readTMPrefs()) TypeError:
'NoneType' object is not iterable
Regards,
cme
Chad Michael Eyer
eyer(a)eyer.us
http://www.eyer.us
T: +1-321-422-3428
F: +1-219-228-8882
download vCard
Please see the example in the link below:
http://cl.ly/CfIT
Chinese characters are not wrapping correctly. You can paste in some 中文 to try. I doubt this happens to all CJK cases.
Lucifr
>
> If by event you refer to the ?event specifier? then this is a legacy thing
> that I wanted to have removed before the public alpha.
Gotcha, now it all makes sense.
Most appropriate would be ?callback.document.binary-import? ? commands with
> that (semantic) class are called prior to TM doing anything with the file
> attempted opened.
So the "callback.document.binary-import" is called on any file regardless
if it is marked as 'binary' (i.e. vs plain text) by TextMate? I was under
the impression tm_proj files are plain-text plist files.
Furthermore you want to use attr.rev-path.tmproj as the scope selector so
> that your command is only invoked for *.tmproj files.
Could I ask what "rev-path" stands for? Just curious.
This however being an import filter, TM expects your command to provide the
> file?s content on stdout, so this isn?t designed to do exactly what you
> want.
> I don?t know if you can take it all the way with the info above, but I
> figured this info would be useful regardless of this specific situation and
> it might not require many tweaks to support your desired behavior (e.g. TM
> could be made to act on an ?exit_discard? from your command, and trust your
> command did the proper thing).
Oh I sure hope I can figure it out from that! :) Thank you so much, I
have quite a few plans for bundles so pretty much any info at all regarding
the new features is helpful at this point. A list of semantic classes that
are internally recognized by TM would make my day but if it's not easily at
hand or it will be changing a lot don't worry about it.
I'll post to the list when I have something working to my satisfaction. If
I have something worth committing how do you recommend I go about that?
Brandon
In TextMate 2 I'd like to exclude the contents of a number of folders from my project-wide searches. I'm using the following in my project's ".tm_properties" file:
excludeDirectories = "{$excludeDirectories,log,vendor,tmp}"
However, it doesn't seem to be excluding files from those directories in my project-wide searches. What am I missing?
-Tyson
In the Find results window, after e.g. a Find in Project search, I really miss (in TM 1.5 too) not having a panel within the same results window that shows the relevant section of code when any results line is selected.
In normal use, I have one or more other windows open, and for a reason--I'm looking at them or soon will be. I find it a nuisance that clicking on a Find results hijacks the project window just to show me the relevant code. Frequently, I need to have both that window and the search result visible at once. I can see that this could be a personal preference, so it would be wonderful to have this as a user pref.
Also, I don't find it useful to display a results line twice when the search process has found two matches in the same line. It is adequate (even less confusing, less clutter) to display the results line once, but bold-facing the multiple matches in that single line.
Jerry
I've not looked at TM2 yet, however there is a ton of Q & As hitting the list currently and I suspect lots of wheels are going to be re-invented, tips re-discovered etc...
Any chance of starting a wiki or similar for TM2 so that this stuff can be recorded there and found without needing to sift through the archives of a suddenly very high volume list...
[One way to start one up quickly is to make a blank github project and add a wiki to that...]
Nigel.
--
[ Nigel Metheringham ------------------------------ nigel(a)dotdot.it ]
[ Ellipsis Intangible Technologies ]
I have a question re Citation (Ref-TeX Style) completion or BibDesk. The completion doesn't occur in TM2, while it continues to work fine in TM1, without having to open BibDesk, via the BibDeskTMCompletions script which I put in a ~/bin folder.
Any suggestion as to why it doesn't work in TM 2 alpha? Is it because tooltips might not be working yet, or do I need to point the LaTeX bundle towards my bib files (and how?)? Any hint greatly appreciated by this non-coder.
N.B. Two "likes". I very much appreciate TM2's highly configurable browser window from which I can start TeXShop on whatever file I want to work on, with latexmk giving me automated processing. And the input of Greek, Hebrew, etc. is working beautifully. No need for other editors for that purpose now.
--Gildas
>
> Not in the Bundles directory, but I do sync my TexMate directory with
> Dropbox. ~/Library/Application Support/TextMate is a symlink to
> ~/Dropbox/Library/Application Support/TextMate
Well, that explains why Avain never picked up any of my TM bundles
(although I didn't symlink TextMate, only the subdirs, to avoid syncing the
.pid file). I actually prefer it though since I've collected quite a few
useless and outdated bundles over the years and this gives me a fresh start.
This might be something to mention somewhere since it's probably a pretty
common practice and not something I had considered might be causing an
issue.
Brandon
Hi,
In followup to this posting:
TextMate Blog » Locating Bundles
http://blog.macromates.com/2011/locating-bundles/
Please consider changing (or removing) the "Copy" part in the folder name component of this pathname so it's not confused with Finder's Duplicate suffix:
~/Library/Application Support/Avian/Pristine Copy/Bundles/
Something like "Pristine Versions" or "Pristine Copies" or simply "Pristine" (my choice) would be preferable.
Thanks,
-sjk
I have been testing the TextMate 2 Alpha the past couple of days and have had
issues with bundles being loaded. I can install the bundles via the app
preferences, but the bundles are not loaded. As per Michael's recent blog
post (http://blog.macromates.com/2011/locating-bundles/), all bundles should
be installed to ~/Library/Application Support/Avian/Bundles. Instead, they
are installed to ~/Library/Application Support/TextMate/Managed/Bundles and
are not loaded. Moving bundles to the ~/Library/Application
Support/Avian/Bundles alleviates the problem with the bundles being loaded,
but I don't believe updates will work correctly at this point. Is this
intended behavior for alpha or is there something else going on? I am
running 10.7.2.
--
View this message in context: http://old.nabble.com/TM2%3A-Bundles-Not-Loading-tp32982201p32982201.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
it is great that finally Japanese is shown correctly in TextMate but the input has some problems and differs from the rest of the system.
When I enter only one character like 私 (watashi), I type "watashi", hit space, select the character and hit enter. The final result is 私 and the cursor is set after the character.
In TM2 the enter will delete the character, as if it is selected and do a line break.
When I enter a whole sentence, I press space when I am ready and the system will do some auto-conversion. Then I will get to to the first sentence-element and can press space to change the conversion to something different (loads of homonymes in Japanese). With cursor left and right I can go through the text elements and narrow the selection what a certain text element is with shift+left or widen it with shift+right. I end conversion-mode with pressing enter, when everything is in the state as I want it.
When I press left or right in TM2 the conversion-mode ends and the cursor goes to the right but conversion-mode should only end after pressing enter (and only an extra enter should create the line-break).
Niels
Hi, I'm going to give a whack at transforming a .tm_proj file into
'Favorites' and .tm_project files upon opening them (or if they exist
navigate there). Couple of questions:
This seems like an event thing. However, in the Avian bundle, all the
similar commands define themselves as a callback in the semantic class
field, rather than specifying an event. I'm not understanding the
reasoning behind this, since it seems to blur the distinction between
'events' and 'classes'. Is there any way to determine whether we should be
targeting an event or adding a class of 'callback'?
Which semantic class (or other options) do I need to use to target only
opening tm_proj files by extension?
Thanks!
Brandon
Hello all,
we encountered two main issues using TM2 alpha:
- First of all, I'm unable to globally set TM2 to use soft tabs, "Edit -> Mode -> Soft Tabs (Use spaces instead of tabs)" menu is not selectable, I also tried exporting TM_SOFT_TABS = yes as in TM1 but it doesn't work.
- Trying to select text going down out of page to select more than one page text, produce a strange behavior, sometimes it goes at crazy speed (happened with python code), other times I see some video corruption: blue selection band persist after deselection, blue selection band seems interrupted inside selection (happened with C source code).
Moreover, Ctags bundle really need some improvements, for example I can't go backward as in vim, multiple tags selection window is uncomfortable, Help menu command doesn't work, there is no way to specify more than one tags file, and so on...
Another thing, is that there is no way to know who use some function, I can go to the function definition but if I want to know who use that I can't.
Thanks you very much for this alpha, rmate command make me very happy.
Giordano
>Clearly, its a mistake to delete TM1.
In my Console app, I can see Avain pulling bundles and other things from
App Support/TextMate as well as App Support/Avain, so I'd say it isn't
quite ready to stand on it's own yet. In my opinion this makes debugging
things way more difficult right now, but I'm guessing unless it is an
outright bug there is a good reason for it.
I think ideally TextMate and Avian shouldn't touch each other's files, but
I can't really judge considering I write primarily dynamic scripting
languages, the slow pitch softball of programming.
Hi,
I work with a lot of tab-separated files.
Now most of the times when I open a tab-separated file, the lines are unfortunately not properly aligned.
I get something like:
xx xxxxx
xxxx xxxxx
Is there a way to align this in textmate, so that I get a clean "table-like" view (without adding tabs of course)?
thanks for any help!
>
> to let you know that some TextMate users rely on projects and don't want
> to see it be cut
I believe that's been established a few times.
Something I just thought of: maybe a quick workaround would be to cause
opening a .tm_proj in TextMate to take the file browser to the Project
Directory (or the first one at least). Since a lot of my projects ARE just
one directory, that would definitely alleviate my current problem of all my
project data being contained in a lot of proprietary tm_proj files that
only work with one program. ;)
Maybe a good way for someone to test out the open file event handlers?
Seems doable within the current system depending on the scriptability of
the file browser.
Brandon
On 15 Dec 2011, at 12:25, Allan Odgaard wrote:
> As for the philosophy, which you questioned, you work with Git, LaTeX, and Dropbox which share the same philosophy: LaTeX use plain text files that all text editors understand and have done for 20+ years, Git works on a folder that all file browsers understand, Dropbox is just a folder that all applications understand.
That doesn't mean I have to use a workflow that is dictated by technologies from 20 years ago. I also no longer manage photos in folders by hand, even though I technically could. But managing and editing photos in Aperture is a lot faster and allows me to do things that were previously impossible.
In my alternate reality, instead of juggling with TextMate, GitX and FileMerge to recover the paragraph I've deleted, it'd be much easier to do all that efficiently in TextMate 2.
> I don’t want you to spend time managing your project in TextMate and [...]
Please don't worry about me or other users »wasting our time«. We know enough to take it upon ourselves to decide how to collaborate with others. I for one haven't run into trouble stemming from me using projects. (I did run into problems, because I wasn't adding hard line breaks by hand in my code, though ;-)
And as long as using projects is *optional* as it is now, I don't see a problem for anyone. Why not let us have the cake and eat it, too?
> As for precluding myself from future enhancements such as Versions: You are (technically) wrong here.
The point is not to have a feature, but to have a feature that people can find and use. (Apple's current implementation of how to browse versions is IMHO horrible since most people will not discover how to use them.)
> whether you think my philopsophy is narrow-minded or less modern than Apple’s is not worth spending time discussing.
I am not interested in a philosophical discussion. The only reason I see it worth my time is to let you know that some TextMate users rely on projects and don't want to see it be cut. And that there is a case to be made to for keeping them. Or to at least make sure that you design TextMate 2 so that someone else can add a Project add-on later. That's all.
Max
I've been trying TM2-alpha while continuing to work (mostly XeLaTeX-ing) with TM1. I have encountered two TM2/LaTeX issues relating to biblatex and latexmk which I've been using without problem with TM 1.x for at least a year now.
1. in my preferences/Variables, I set PATH as in TM1 and set BIBINPUTS (to) /Users/myname/Library/texmf/bibtex/bib where I keep my bib files. But when I try to complete a citation with Citation (Ref-TeX Style) by using ^{ , the completion doesn't occur in TM2, while it does in TM1. I tried to put BIBINPUTS = "/Users/gweltaz/Library/texmf/bibtex/bib" and that didn't help either. Is some other language needed?
2. this is regarding the LaTeX bundle: I loaded the latest latexmk.pl (Dec 2011) and slightly edited texMate.py in LaTeX.tmbundle/Support/bin bibtex to biber in a few places. This works fine with TM1, i.e., the biber engine is found, and latexmk does its thing, but nothing happens in TM2/LaTeX.tmbundle. Suggestions? [note: I normally use TM1 + TeXShop for automatic typesetting via (xe)latexmk, will gladly continue, but wonder how this can be accomplished in TM without having to set up and use TeXShop]
With much appreciation for TM1 + TM2.
--Gildas Hamel
Here's a solution:
. "${TM_SUPPORT_PATH}/lib/bash_init.sh"
"$TM_LILYPOND" "$TM_FILENAME" 2>&1 | pre
1) In TM2, bash_init.sh needs to be loaded?
2) In TM2, stdout and stderr are differentiated? (Lilypond writes to
stderr, so combining it before the pipe to pre works. Wasn't needed,
apparently, on TM1.5)
If anyone has better information or fix, please share.
Thanks! Charles
On 15 Dec 2011, at 11:00, Allan Odgaard wrote:
>> […] not gluing yourself to the file system layout also give you the opportunity to do things that go beyond what you can think of when relying on the filesystem alone.
> Given TextMate’s philosophy it’s the opposite.
I don't understand that comment: I reckon you mean to say that TextMate's philosophy is to rely solely on the filesystem?
> When you use the file system for your project then SCM works fine because it is told that “this folder is a project”, TextMate commands work fine with the project, because they have a single root project folder, backing up the project works fine because tar can be told about a single project folder, etc.
Still, me and many others prefer to use a different method to organizing work. And not every workflow can be like yours. After all, I do use the »filesystem view« for some things because that is easier when you add a lot of files on a regular basis.
Furthermore, as said before, many apps are moving away from merely »viewing files« (and this is encouraged by Apple!), including professional apps (such as Aperture) and apps aimed at developers. Gitbox, for instance, is a nice example: there you browse repositories and commits. Integrating some of that into TextMate would make a lot of sense to me. (Or at least keep the TextMate flexible enough so that someone else can program something like that as a bundle.)
Lastly, the focus on the file system would also make it harder for you to implement access to some of Apple's future technologies (e. g. Versions; while I use git professionally, I wouldn't mind having versions when writing letters and such, stuff where git is overkill).
So I think you exclude TextMate from a lot of innovation if you don't allow a project view that is independent from the file system.
> Anyway, I think enough have been said about projects. My initial letter may have come off too strong: I was listing what can be used now in the “project context”, I was not saying everything is frozen and nothing will change:
I'm not so sure whether you got it across the wrong way, everything you have written reinforces my impression that Projects (the way we have them in TextMate 1.5) will be axed as a feature and that you dislike working with them. (I remember posts of yours to this effect on this mailing in the past.)
It's quite natural that people who like Projects would object.
> But definitely I am of the opinion that one should work with the file system because that is the “portable” way to represent a project.
I think this view of this aspect is a bit outdated and narrow-minded: Portability can mean a lot of things, but in my experience the problems rarely lie with transferring files. Quite the contrary, that's typically the easiest part (I use Dropbox to collaborate with others). In my case it's mostly making sure LaTeX code compiles on my coworker's machines. Which usually means they have to install additional packages or alter the code a little.
Max
It seems that many many people have jumped on the TM2 alpha. The
consequence of this is that there has been a rush of TM2 questions,
some of which ignore Allan's request not to post general feedback,
some of which would be answered if the poster would read the message
on textmate-dev Allan linked in a post yesterday, some of which would
be answered in the blog or release notes.
I don't think I've seen a question yet that, bearing in mind this is
*alpha* software, is sensible to post or meets the criteria of being
what the devs want to know about.
Would the powers that be consider a new mailing list? "TM2
testers" (or similar) so that the "TM users" list can concentrate on
issues, or queries users have with only the current release of TM.
This would naturally migrate once TM2 is released to the world.
I'm not going to upgrade to alpha software, I'll also avoid early beta
releases too, as I'm sure many others, like myself, who do not have
time to deal with the inevitable problems of using such 'new',
software will do. Allan and the dev team have my full support, and
I'll be glad to test release candidates when they say it's almost
ready for public consumption. But in the mean time, this list is going
to become, at best distracting, at worst very difficult to use for
those trying to get help with TM1 issues if so many posts are related
to an unreleased version.
--
Justin C, by the sea.
Wow, just wow. Lots of awesome stuff going on. Every corner is packed
with new, exciting features. A couple of ideas:
I agree with keeping the file browser window (or formerly-known-as-project
window) open after the last tab is closed. I keep frustrating myself
by accidentally closing it, then I have to hit command+n, then rebrowse to
my folder.
Here's my suggestions for improving this behavior:
- Allow command+t to work without a window open. The list could be
populated with the files under File->Open Recent.
- Open the file browser to the last folder I was using, rather than home.
If anyone knows how to navigate the file browser / favorites using only the
keyboard, I would be eternally grateful for that information.
###
I'm also having some issues with the .tm_properties files. They only seem
to be working intermittently for excluding files/directories from my
project. Sometimes the files will disappear as soon as I save my edits,
somes times not. Sometimes they will come back later. I am not under my
home directory (I'm in /Library/WebServer/Documents/...) which I have a
hunch might be causing the problems. Anyone experienced anything similar
or have any info on that?
###
About Projects: I can understand not reintroducing projects if a few other
features are stepped up. One small feature I find improves the experience
quite a bit is when you open a project, it restores the tab state and puts
you in the file you left off in. If that could be replicated with the
existing features (on a per folder or per favorite basis) I think it would
go a long way towards reducing the desire to return to .tm_proj files.
Is it possible to only keep the file browser open when closing files?
If I close the last open file it automatic close the window with the file browser.
Also I would love to see an option to keep the Tab-bar visible even if I only have one file open in file browser view.
I just downloaded TM2 build 8930, but it seems that the projects are gone?
I can open old projects (.tmproject files), but it's just showing an XML and
also it's not possible anymore to create new projects..
Are they gone in TM2? If so, that would be a real bummer...
--
View this message in context: http://old.nabble.com/Projects-are-gone-in-TM2--tp32970824p32970824.html
Sent from the textmate users mailing list archive at Nabble.com.
For several of the bundles in TextMate 2, I am getting duplicate items
in the select dialog. For example, in the following screenshot, you
can see the Git bundle with double entries:
http://cl.ly/2B0E2i3E0D0e2g1L1T2N
Any idea as to the cause of this?
I've never much cared for the way TM populates the tab bar by creating a tab for every open folder. After only a few windows are open (over any interval of time, even days or weeks), the available space is used up and one must click on the "overflow" menu to see more tabs which partially reduces the effectiveness of the tab concept. It's even worse when a tab that you want has disappeared into the the menu. I am constantly closing many tabs at once just to clean up.
Also, the Command-1, Command-2 is really great, but once a window appears in another-numbered tab, suddenly you have to re-learn the new key combination.
Maybe a better organizer is a kind of favorites bar that can be populated manually (but keeping the Command-N concept) while keeping a file history list as a separate entity. In my view, merging the tab concept with a file history, which is pretty much the present situation, is awkward.
Lastly, it would be cool to be able to drag a window's proxy icon (I think that's the right name) to the project window's tab bar to cause that window to close but to then be accessible by a tab. (Merge All Windows is usually too aggressive.) OK too would be just a menu command, Merge Front Window, but this would assume that the program knows where in the tab bar to make the new tab, but it won't know, necessitating a separate drag operation within the tab bar.
Jerry
I am a new user (purchased yesterday) of TextMate. In the past, I used
a great program on Windows called Advanced Find and Replace. It
allowed me to search through multiple files within a folder (I see
that I can do that by a project in TextMate too). But, what I cannot
figure out is if it will allow me to replace things like:
1. Ignoring white space in HTML so that it will find all text to
replace even if it is on a separate line and with tabs.
Example:
<p>This is a paragraph</p>
vs.
<p>
This is a paragraph
</p>
If it cannot search and find both of these then it is not quite as
powerful as I had hoped.
2. Advanced Find and Replace also could find text *between* two
strings and either replace it or delete it. For instance, if I wanted
to search through this:
I want to replace the word that is between these question marks in
multiple documents. ?Delete Me? and ?Delete Me Too?
You would end up with:
I want to replace the word that is between these question marks in
multiple documents. ?? and ??
Sorry, not a great example :-( but it gets the point across.
This function though could allow you to delete all tables in an HTML
document without actually knowing what was in the table....or many
other uses. It can delete text before a string or after a string too.
Can TextMate perform these more complicated Search/Replace functions?
If not, I still love the app but does anyone know of a comparable app
that is similar to Advanced Find and Replace on the Mac since this
program is not available for the Mac OSX?
Thank you,
Linda