创建后缀为snippet的文件
<snippet>
<content><![CDATA[<button style="position:absolute;z-index:999999;top:50px;left:100px;" οnclick="window.location.reload()">refresh</button>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>re</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>