NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code templates in 4617
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
Quote:
0001331: [Feature request] Code templates (Ctrl-J) should depend on the language under cursor

I have lots of code templates I use no matter which language I'm editing under cursor. I never set a code template overlaping another one ir order to make it easy to remember, so this feature is useless for me. This "new feature" in 4617 is making me lower my productivity, besides the waste of time I spent creating my templates.

How can I disabled it? I didn't find how. Or have I missed something? The only way so far is to edit phped.cfg and manually copy/paste all templates to other languages. But, if after that I insert or change a template, I would have to repeat the copy/paste process all over again Crying or Very sad .
View user's profileFind all posts by HoTShoTSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
it looks like you need a "lang-independed" option for the combo in the code templates settings. Right? Smile
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
Yes. You've got it. Is already a way to do so?
View user's profileFind all posts by HoTShoTSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
not right now, but possibly we'll do it for one of the forthcoming builds.
BTW, what do you think about "cable guys"? like mentioned on this thread? 4-6-i-love-you-guys-t2151.html
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
OK. Thanks. While I wait, I'll use an php script to parse and merge code templates between languages in phped.cfg Smile
View user's profileFind all posts by HoTShoTSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
I think it's not a comlicated task Smile
all cfg are XML files (not perfect but robust!) Smile
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Code templates in 4617
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic