Ultimate frustration with className= substitution in javascript

已回答

I have this Salesforce code in a javascript file:
segment.ToCodes__c
I have a Live Template enabled for javascript that substitutes ‘stk’ with ‘stackng__’
Since installing Ultimate whenever I type ‘stk’ as in segment.stkToCodes__c and press TAB I get
<segment className="stk"></segment>ToCodes__c
The Live Template was not even used. I'm pretty sure it is the ‘.’ before my keystrokes that is triggering the substitution. I.e. ‘ghj’ gets this:
<segment className="ghj"></segment>ToCodes__c
I have gone back to Community Edition and the Live Template works as expected in exactly the same file.

How do I find the setting that expands {text}.{keystrokes} into <{text} className="{keystrokes}"></{text} and disable it or how do I make my Live Template take precedence?

Thanks, Greg. 

Build #IU-242.23726.103, built on October 23, 2024

0

It looks like Emmet functionality. Will the issue persist if you change the key in `Settings | Editor | Emmet` or disable Emmet?

0

Wow! Thank you. Not having any idea what Emmett is there is no way I would've found that without your help. Thanks. That worked.

0

请先登录再写评论。