Hi all, I've tried searching for this, and my google-fu is weak.
Does anyone know how I would be able to change the indentation behavior for
just parenthesis in Javascript?
Basically, our code convention is so that when you have multiple arguments
on new lines (for instance, passing an anonymous function as a closure), the
closing parenthesis aligns to whatever the current tabbing level is.
Currently, the curly brackets do this now, and would like to mimic the
behavior, but can't make heads or tails of doing it with the current
indentation patterns.
Here's what I would like:
var xyz = (
\t
)
Here's how it actually currently is:
var xyz = (
\t)
Here are my current indenation rules, could anyone help me get what I'm
looking for, or have I been looking in the wrong place?
{ decreaseIndentPattern =
'^(.*\*/)?\s*(\}|\))([^{]*\{)?([;,]?\s*|\.[^{]*|\s*\)[;\s]*)$';
increaseIndentPattern = '^.*(\{[^}"'']*|\([^)"'']*)$';
}
Thanks in advance all!
--
View this message in context: http://www.nabble.com/Javascript-indentation-tp16985640p16985640.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I’ve been looking through the bundle help, but I haven’t been able to
find any information about my problem.
While I am usually using pdflatex to compile my files, I’m currently
working on a project containing a little pstricks. As we’re several
people working on the file, I’fd rather avoid using %! comments in the
beginning of the file. I was thus wondering if there was some way to
set a project-wise environment variable to override the default engine.
Thank you very much,
Édouard GILBERT
edouard.gilbert(a)gmail.com
On 15-May-08, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
> On May 15, 2008, at 11:00 AM, Arcana wrote:
>
>> When I open Textmate, for some reason it opens X11 as well. I don't
>> know why this happens and I can't get it to stop. The X11 icon
>> appears in the dock.
>>
>> How can I stop Textmate from loading X11? Thanks.
>>
>> -- Arcana
>> Suikoden Interactive Fiction: http://suikoden.mine.nu
>
> Do you have any plugins or special bundles installed?
>
> If so, try to remove them one by one and to revert to default bundles.
>
> <http://wiki.macromates.com/Troubleshooting/RevertToDefaultBundles>
>
> Most likely, this is caused by some plugin/bundle that uses the X11-
> Libs. This causes X11 to start automatically (on Leopard).
How do I know what plugins I have installed, if the problem is
probably not bundles?
-- Arcana
Suikoden Interactive Fiction: http://suikoden.mine.nu
Hi,
what do I have to set up in the bundle editor to achieve the following:
- Word is selected, e.g. TextMate
- use a key equivalent to get: \ind{TextMate}
That all needs to work with the LaTeX-Bundle.
Thanks
Christian
When I open Textmate, for some reason it opens X11 as well. I don't
know why this happens and I can't get it to stop. The X11 icon appears
in the dock.
How can I stop Textmate from loading X11? Thanks.
-- Arcana
Suikoden Interactive Fiction: http://suikoden.mine.nu
Hello everyone :)
Often, bookmarks accumulate in my files and soon enough, well there's too
much of them and it becomes tedious to jump to the one I want :-D
I don't know if it is possible for the time being but I would like to be
able to delete all bookmarks from a file, to clean completely the file.
TIA
--
View this message in context: http://www.nabble.com/Clean-bookmarks-in-a-file-tp17252984p17252984.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I want to ask if there's anything like GitMate that does folder icons
same as SVNMate?
2nd thing is if it would be possible to share same shortcut ⌃⇧A for
SVN, GIT and all versioning bundles.
Since they are exclusive -> folder may either contain just .git
or .svn subfolder, the ⌃⇧A menu could display/trigger its items
relatively to presence of those folders somehow.
Regards,
--
Adam Strzelecki |: nanoant.com :|
The behavior of double-click and option-arrow have recently changed for
me (only in TextMate), and I'm finding the new behavior really annoying.
For example, if I have the following Python code:
def my_function(parameter_name, defaults=None):
#This is a test + another test ...
...then, 1) if I double-click on the "my" part of the function name, it
select the string "def my"; 2) if I double-click on the word "test", it
selects "This is a test ". Previously, #1 would have selected either
"my" or "my_function" (I forget which) and, #2 would have selected only
the word "test".
The option-left-arrow and option-right_arrow keys use similar "word"
breaks when moving the cursor: if the cursor is in the word "test", for
instance, option-left-arrow moves it to the beginning of the word "This".
It's not just a Python change, either. If I have the following text:
ALTER TABLE `my_table_name` MODIFY COLUMN `column_name` FLOAT NOT NULL;
...then double-clicking on the word "MODIFY" selects " MODIFY COLUMN ",
for instance.
What might have changed to cause this annoying behavior, and how do I
fix it?
I'd appreciate any suggestions,
Mike
Hi,
When I open a new document with TM, it's allways a plain text document. But
I wish often a html document.
What can I do in order to obtain an empty html document ?
Thanks in advance.
--
Bernd