+1
Solucionado

Snippets (sometimes) trigger within snippets

lappri hace 14 años actualizado por Jon Skinner hace 14 años 0
Steps to reproduce: Create a new document and save it as "foo.rb". Type "def" and press tab. "def method_name ... end" appears, with method_name selected. Status bar says "11 characters selected - Field 1 of 2". So far so good. Type "foow" and press <tab>. Snippet triggers on the shortcut "w" and text is now "def fooattr_writer :attr_names ... end"
Note: when I ran through these steps again to reproduce it once more, it did NOT trigger within the snippet. However, subsequent tries DID reproduce the bug.
WIndows 7, ST2 Alpha 20110203

Respuesta

Respuesta
Solucionado
In build 2032, snippets will no longer trigger on tab when a snippet is currently active. They can still be triggered explicitly by using ctrl+space.
Respuesta
Solucionado
In build 2032, snippets will no longer trigger on tab when a snippet is currently active. They can still be triggered explicitly by using ctrl+space.