Hello,
I have modified my keyboard (Dvorak, if that matters) to produce the
following combinations:
Option + C -> č
Shift+Option+C -> Č
Option+S -> š
Shift+Option+S -> Š
(and some more).
This all works wonderful everywhere, except that Shift+Option+S in
TextMate results in something like
cat: /tmp/TextMate-ScratchSnippet.txt: No such file or directory
The same actually happens when pressing that combination on US layout
(except that probably not many TextMate users ever need to type "Í" on
it) and no other key is problematic, only S.
My question is: where to turn that non-working feature off
(Shift+Option+S), so that I will be able to use that key combination
to get my character?
Thanks a lot,
Mojca
Hi all,
Is it possible to give PHP a shortcut in the window which associates
files with a language? Not entirely sure of the technical name of it,
but if you follow the key sequence ctrl+shift+alt+p the list of
available languages are:
1) perl
2) plain text
3) property list
4) python
Any chance of getting PHP on the list?
Thanks!
/sf
Hello All:
I am currently using Ultra Edit on a PC at work and Textmate on my MacBook
for when I am not in the office.
I want to convert to using only my MacBook however, the one progg that is
holding me back is Ultra Edit. I want to be able to convert all my project
files over to TextMates project files.
Please tell me there is a way I can accomplish this,
All the best,
Paul
--
View this message in context: http://www.nabble.com/Want-to-go-all-Mac-but.....-tp15167242p15167242.html
Sent from the textmate users mailing list archive at Nabble.com.
Following positive to enthusiastic reviews, I downloaded TextMate
last week for evaluation. While it is based on powerful concepts and
there are some impressive features in there, I am overall rather
disappointed by its practical usability - many details just don't
work as they should. However, I may be overlooking something, so I'd
appreciate corrections by more experienced users.
My two main file types are Python and LaTeX source code. LaTeX
support is rather nice, once it is properly configured. But I had
expected a more reasonable folding: what I want to fold is sections,
subsections, etc. not begin-end blocks.
Python support is really disappointing. Folding is completely useless
(blocks end at the first blank line), tabs are not handled in a
reasonable way (using hard tabs with an indentation other than 8 is
an invitation for disaster in Python code), leading to indentation
errors, and the error output in PyMate is insufficient (I want the
full traceback).
I looked a bit at the language definitions, and I have the impression
that reasonable folding for LaTeX and Python cannot be implemented in
TextMate, as the beginning and end of a block must be defined by a
regular expression matching a single line. Or did I overlook something?
Konrad.
Is there a way to create a new project from a list of files, such that
the files are automatically grouped by directory?
My problem is that I have a fairly large project directory tree, which I
normally edit by typing "mate ." on the command line. That does exactly
what I want, except that it includes every file in the tree, not just
source files. Assuming it's not a clean directory to start with I get a
lot of binary files. I've set up filters to eliminate obvious
non-source extensions such as *.o, *.so, etc. but I can't filter out the
names without extensions (such as the names of compiled executables).
Also, some of the intermediate files have the same extensions as the
source files. For instance, the Pyrex compiler produces *.c files to
pass to the C compiler. I may have real source *.c files in with the
*.pyx files, and I don't want to see the intermediate *.c files in the
project listing. (More to the point, I don't want "Find in Project..."
to bother searching them!)
Since this is all in SVN I can easily get a list of true source files
via the 'svn ls -R' command. But how do I get that list into TextMate?
I've tried 'mate `svn ls -R`', and it *almost* does what I want.
Unfortunately the files aren't grouped by directory. Even more
unfortunately, since the svn command lists directories under its control
as well as files , I get two copies of each file in the project list:
One at the top-level as explicitly given, and one at a sub-level when
its containing directory is explicitly given. So a directory tree like:
top/
foo.c
bar.c
subdir/
baz.c
qux.c
...ends up giving me a project containing "foo.c, bar.c, baz.c, qux.c"
at the top level, along with a "subdir" grouping which contains "baz.c"
and "qux.c". I want the project groupings to exactly mirror the
directory structure.
Ideas? I can easily write a script to post-process the output of 'svn
ls -R', as long as I know what sort of list will make TextMate happy.
I'm trying to avoid having to output a full-blown XML *.tmproj file, but
I'm afraid that's what it's going to come down to.
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
Hi List,
I've encountered some issues with Ruby Regexp's and interpolation,
specifically Embedded code with #{}.
Ruby allows embedded code inside Regexp literals, but the Ruby Bundle
doesn't seem to recognise that fully. So I've changed the scope
selector for the “Embedded Code…” snippet to
(string.quoted.double.ruby|string.interpolated.ruby|
string.regexp.classic.ruby|string.regexp.mod-r.ruby) - string source
to make it behave like it should.
Unfortunately I don't know enough about TextMate Language Grammars to
correct the erroneous Syntax Highlighting (i assume in the
interpolated_ruby section.
Here's the current situation:
/#{code}/, %r{#{code}} - #{} gets correctly highlighted as
source.ruby.embedded.source
/[#{}]/ doesn't get highlighted (incorrectly)
There's also the /o option to regex which changes how #{} blocks are
interpolated, but that can probably be ignored.
Would be great if someone with more language-grammar-fu could correct
that.
—G
Attention all git users,
I have an alternative active Git.tmbundle repository set up with
active development going on. It's set up to synchronize with
subversion and will continue to get any updates published through
macromates website.
It features quite a few bug fixes that I've encountered while using
it, plus a few new features (one of them being edit conflicts with
file merge).
If you like features, and you like bleeding edge, come'n git it!
Project page:
http://gitorious.org/projects/git-tmbundle
git clone git://gitorious.org/git-tmbundle/mainline.git
Tim
One super-nifty feature of the blogging bundle is the drag-
and-drop image uploading, which sets you up with the
appropriate image code in your blog post. Often, however,
I have received the following error instead of a successful
upload:
Received exception:HTTP-Error: 412 Precondition Failed
It seems to happen with some images and not others.
Anyone seen this and have a solution?