Hi,
As I've watched some of Allan's screencasts, I noticed he often switches between the bundle editor and a document window in order to try out changes to snippets, commands, etc. It looks like he's using the keyboard to switch back and forth. I know I can switch between windows using Command-` , but any changes I've made in the bundle editor's text field don't seem to take effect when I switch windows.
For example, I start editing a snippet. I add or remove some text in the snippet. Then press Command-` to switch to my document window. I trigger the snippet (using tab triggers in my recent experiments), but I get the old contents of the snippet, without the changes I just typed.
If I click elsewhere in the bundle editor (in the list on the left, in the scope selector text field, etc.) before switching windows, then the changes I've made to the snippet take effect when I switch to my document window.
I've been skimming some of the archives of this list, and I've seen it mentioned that switching windows is supposed to commit changes to the text field in the bundle editor. Which means just pressing Command-` to switch windows should be enough. Am I doing something wrong?
I'm running TextMate build 1405 on Mac OS X 10.4.10 on both Intel and PowerPC machines.
Thanks, -Mark
Take a look at the TextMate bundle > Install “Edit in TextMate…” command. When you run it you'll be presented with a html dialog, the intro section explains all.
On 19 Jul 2007, at 22:21, Mark Day wrote:
Hi,
As I've watched some of Allan's screencasts, I noticed he often switches between the bundle editor and a document window in order to try out changes to snippets, commands, etc. It looks like he's using the keyboard to switch back and forth. I know I can switch between windows using Command-` , but any changes I've made in the bundle editor's text field don't seem to take effect when I switch windows.
For example, I start editing a snippet. I add or remove some text in the snippet. Then press Command-` to switch to my document window. I trigger the snippet (using tab triggers in my recent experiments), but I get the old contents of the snippet, without the changes I just typed.
If I click elsewhere in the bundle editor (in the list on the left, in the scope selector text field, etc.) before switching windows, then the changes I've made to the snippet take effect when I switch to my document window.
I've been skimming some of the archives of this list, and I've seen it mentioned that switching windows is supposed to commit changes to the text field in the bundle editor. Which means just pressing Command-` to switch windows should be enough. Am I doing something wrong?
I'm running TextMate build 1405 on Mac OS X 10.4.10 on both Intel and PowerPC machines.
Thanks, -Mark
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
I've got that installed, but I don't see how that applies. I'm not having a problem editing the snippet itself. (Using Edit in TextMate seems like overkill, and just adds steps when editing small snippets or commands.) The problem is switching to a document to *use* (test) the snippet, and the changes I've made to the snippet don't take effect unless I click outside of the text field, or press Control-Tab to move focus to a different text field, etc.
-Mark
On Jul 19, 2007, at 3:35 PM, Simon Gregory wrote:
Take a look at the TextMate bundle > Install “Edit in TextMate…” command. When you run it you'll be presented with a html dialog, the intro section explains all.
On 19 Jul 2007, at 22:21, Mark Day wrote:
Hi,
As I've watched some of Allan's screencasts, I noticed he often switches between the bundle editor and a document window in order to try out changes to snippets, commands, etc. It looks like he's using the keyboard to switch back and forth. I know I can switch between windows using Command-` , but any changes I've made in the bundle editor's text field don't seem to take effect when I switch windows.
For example, I start editing a snippet. I add or remove some text in the snippet. Then press Command-` to switch to my document window. I trigger the snippet (using tab triggers in my recent experiments), but I get the old contents of the snippet, without the changes I just typed.
If I click elsewhere in the bundle editor (in the list on the left, in the scope selector text field, etc.) before switching windows, then the changes I've made to the snippet take effect when I switch to my document window.
I've been skimming some of the archives of this list, and I've seen it mentioned that switching windows is supposed to commit changes to the text field in the bundle editor. Which means just pressing Command-` to switch windows should be enough. Am I doing something wrong?
I'm running TextMate build 1405 on Mac OS X 10.4.10 on both Intel and PowerPC machines.
Thanks, -Mark
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
Ahh. I see. In effect you're talking about a lack of directly affecting a save (apple-s) from within the bundle editors item edit window. Or the rather abstract way to go about effecting the save. I've been working with TM for that long I don't really notice anymore, I always close the bundle editor after a change to make sure that the item I've edited is saved..... so what really is going on in those screen casts? Anyone?
On 19 Jul 2007, at 23:54, Mark Day wrote:
I've got that installed, but I don't see how that applies. I'm not having a problem editing the snippet itself. (Using Edit in TextMate seems like overkill, and just adds steps when editing small snippets or commands.) The problem is switching to a document to *use* (test) the snippet, and the changes I've made to the snippet don't take effect unless I click outside of the text field, or press Control-Tab to move focus to a different text field, etc.
-Mark
On Jul 19, 2007, at 3:35 PM, Simon Gregory wrote:
Take a look at the TextMate bundle > Install “Edit in TextMate…” command. When you run it you'll be presented with a html dialog, the intro section explains all.
On 19 Jul 2007, at 22:21, Mark Day wrote:
Hi,
As I've watched some of Allan's screencasts, I noticed he often switches between the bundle editor and a document window in order to try out changes to snippets, commands, etc. It looks like he's using the keyboard to switch back and forth. I know I can switch between windows using Command-` , but any changes I've made in the bundle editor's text field don't seem to take effect when I switch windows.
For example, I start editing a snippet. I add or remove some text in the snippet. Then press Command-` to switch to my document window. I trigger the snippet (using tab triggers in my recent experiments), but I get the old contents of the snippet, without the changes I just typed.
If I click elsewhere in the bundle editor (in the list on the left, in the scope selector text field, etc.) before switching windows, then the changes I've made to the snippet take effect when I switch to my document window.
I've been skimming some of the archives of this list, and I've seen it mentioned that switching windows is supposed to commit changes to the text field in the bundle editor. Which means just pressing Command-` to switch windows should be enough. Am I doing something wrong?
I'm running TextMate build 1405 on Mac OS X 10.4.10 on both Intel and PowerPC machines.
Thanks, -Mark
__ 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
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 20. Jul 2007, at 01:11, Simon Gregory wrote:
Ahh. I see. In effect you're talking about a lack of directly affecting a save (apple-s) from within the bundle editors item edit window. Or the rather abstract way to go about effecting the save. I've been working with TM for that long I don't really notice anymore, I always close the bundle editor after a change to make sure that the item I've edited is saved..... so what really is going on in those screen casts? Anyone?
99% of the time I use ⌘W to close the bundle editor and then just re- opens it with ⌃⌥⌘C/L/S (for Edit Commands/Languages/Snippets).
In the past, edits in the bundle editor were committed prior to executing a bundle item, so you may have watched a screencast from that era -- this behavior will be re-introduced, but not for 1.x.
On Jul 20, 2007, at 5:17 AM, Allan Odgaard wrote:
99% of the time I use ⌘W to close the bundle editor and then just re-opens it with ⌃⌥⌘C/L/S (for Edit Commands/Languages/ Snippets).
Ok, I'll try to develop that habit.
In the past, edits in the bundle editor were committed prior to executing a bundle item, so you may have watched a screencast from that era -- this behavior will be re-introduced, but not for 1.x.
Looking forward to it.
Thanks, -Mark