Open Naatan opened 8 years ago
Hi guys, this request returned to how it was before on Komodo 11.1.1
It was working on the previous version (Snippet vars were optional), but they are mandatory again :(
@starmin, i'm not aware of anyone fixing this issue and it looks like no one looked at it. Are you sure you're not mistaken? Can you provide examples that worked then didn't work or is it the same one as in this ticket description? What version did it work in?
I don't know which was the previous version I was using, maybe 11.1.0
When I used the snippet with no text selected I got exactly this text:
<?php [[%w]] ?>
it included this literal part "[[%w]]" selected, so i could write any text to replace it, it was very easy for me.
If you guys didn't work on this, then it was fixed magically...
OR
the previous version was using a different system folder and a different snippet
I don't know why I have these 2 folder but they has been there for many years and I don't know which one is used on every Komodo version.
Komodo IDE
is a Mozilla artifact and doesn't effect Komodo in any way that the user should notice. As always, KomodoIDE
(no space) is the profile folder.
If you guys didn't work on this, then it was fixed magically...
Maybe, but I doubt it. I suspect the your use case changed. Although, maybe some code changed in the toolbox this release and I didn't realize it. I'll double check now.
Hrm might have been this fix that changed it: https://github.com/Komodo/KomodoEdit/issues/3569
It looks like these "switch bugs" when you fix it and it breaks another
That gif it too accurate haha
Reference: http://forum.komodoide.com/t/how-to-make-a-wrapper-conditional-text-using-snippets/2654