I'm getting "source" scope where it shouldn't be, I having some hard time
discovering what's going on (example attached: the file is ~/.tm_properties)
Any ideas?
Thanks
Elia
—
☁ @elia <http://twitter.com/elia> (twitter) ✎ elia(a)schito.me (gtalk)
☎ (+39) 348/9051393 perlelia(a)gmail.com (FaceTime)
I need some help about code complete in bash and php.
bash
-------
VAR_EXAMPLE=1
echo $VAR_EXAMPLE # when I use a variable for the first time,
autocomplete won't work when I hit $VAR[ESC]
php
------
class C {
private $_a_example = 0;
public function foo()
{
echo $this->_a_example; # when I use a class's property for
the first time, autocomplete won't work when I hit $this->_a[ESC]
}
}
Is there any solution for this or I have to tweak the syntax file?
--
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
This is not really that important but I'm recording it for posterity.
If you open a directory in TM2 so that you have a window showing the file
browser and an empty "untitled" document, then click on a file in the
browser that is not UTF-8 encoded you will get the dialog asking for which
encoding to use. If you click "cancel" in that dialog the entire window
is closed. Unlike when you close the last tab and you get a new
"untitled" document.
example text:
(helloword)
When use vim to select a enclosing typing pair, you can choose to
select the punctuation or not, by using command 'i' and 'a'. eg 'vi('
'va('
When use Textmate, select Enclosing Typing Pairs command will make the
selection with punctuations like vim's 'va(' does.
Is it possible to make the selection without punctuations like vim's 'vi(' does?
--
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
Not sure in what build that started happening because I haven't edited a
java properties file in some time. But with my current build (9307) when I
set the file scope to "java.properties" I'm seeing incorrect scoping. In
a empty file if I type ctrl-shift-P it displays the follow scopes:
source.java.properties
kvp.multiline.properties
string.kvp.multiline.properties
attr.untitled
attr.os-version.10.7.4
The source.java.properties is expected, but I'm not sure where
kvp.multiline.properties is getting picked up.
It is wreaking havoc with my properties files and assigning a scope of
kvp.dangling.space.between.key.and.equalsign.properties when I enter a
valid property value.
Any idea where these kvp scopes are being applied?
I searched all of the files (using ack --all kvp) in:
/Users/curt/Library/Application Support/Avian/Prinstine Copy
/Users/curt/Library/Application Support/Avian/Bundles
/Users/curt/Library/Application Support/TextMate/Pristine Copy
/Users/curt/Library/Application Support/TextMate/Bundles
/Library/Application Support/TextMate/Bundles
This did not find a single instance of "kvp".
Dear all,
I have a strong feeling that this has come up before, but I can't seem
to find it in the mailing list archives. Can I ask why the
TM_PROJECT_DIRECTORY isn't set to the top-level directory by default?
(I'd like to use it to set my windowTitle to just the last element in
that path, as in TM1, without needing a .tm_properties file in every
project. So if that's possible by another route, I'd be glad to hear
about that too...)
Thanks,
Jon
Hi list,
I have a question related to TM2 and the mate command line. I have upgraded to TM2 (most recent version on OS 10.6.8) and removed/installed the command line tool through the preferences dialogue. This has put an executable called 'mate' into /usr/local/bin. So far all good.
In the old TM (v1.x), 'mate' is a symlink in /Applications/TextMate.app/Contents/Resources/ pointing to /Applications/TextMate.app/Contents/SharedSupport/Support/bin/mate
If I now try to run 'mate' after my upgrade to TM2 and 'mate' installation I get:
/usr/local/bin/mate: line 2: /bin/find_app: No such file or directory
/usr/local/bin/mate: line 2: /Contents/Resources/mate: No such file or directory
Looking at 'mate' this is a shell script:
#!/bin/sh
"$("$TM_SUPPORT_PATH/bin/find_app" com.macromates.TextMate.preview)/Contents/Resources/mate" "$@"
pointing to $TM_SUPPORT_PATH (ie for TM2 this should be "/Applications/TextMate\ 2.app/Contents/SharedSupport/Support" I believe, going by the TM1 setup).
In the new TM2 alpha, however, /Applications/TextMate\ 2.app/Contents/Resources does not contain a 'mate' executable, neither does the folder /Applications/TextMate\ 2.app/Contents/SharedSupport/Support/ exist. In fact, I could not find the 'mate' executable at all in the application bundle.
So my question is: where is 'mate' in TM2 located and how do I fix the sync with Skim?
Thanks,
Chris
Hi TM2 folks,
I would like to request the following feature in TM2:
* In a selected portion, matching identical words. ALthough this can be done by Find in selection menu, it would be more
handy if just by double clicking on a word we could find identical words.
* Editing these identical words by introducing simultaneous carrots.
Sometimes this feature becomes very useful in checking and editing a code.
Cheers,
Riki
Sitting on Textmate 2 9305 and the folding indicators seems to big and
offcenter, or at least offcenter, the same with the icon showing that an
area is folded. Im running this on a Macbook Pro Retina with the native
resolution.
Folded[image: Inline image 1]
Unfolded
[image: Inline image 2]