Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个代码
var val = event.deltaX;
如何自动插入将上述转换为的代码
if(event.deltaX) { x = event.deltaX; }
您可以尝试为此使用实时模板 - 请参阅环绕实时模板。