vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Changes to Emmet snippets.json lost after update

Open karl20888 opened this issue 11 years ago • 6 comments

自己修改了emmet的snippets,更新后snippets被覆盖了,还要自己重新修改一下,是不是也能像settings那样加写自己的设置比较好?

karl20888 avatar Nov 19 '15 07:11 karl20888

@karl20888 can you edit your post into english please?

bpasero avatar Nov 19 '15 07:11 bpasero

Sorry, I'm Chinese and poor English, I just said, The 0.10.1 update cover the file what I edited the snippets.json in the Emmet. So I need to edit it again. Is it can improve?

karl20888 avatar Nov 19 '15 07:11 karl20888

@bpasero Sorry, I'm Chinese and poor English, I just said, The 0.10.1 update cover the file what I edited the snippets.json in the Emmet. So I need to edit it again. Is it can improve?

karl20888 avatar Nov 19 '15 07:11 karl20888

Hi @bpasero , @karl20888 has modified the default snippets. After he updated the vs code to version 0.10.1, he lost the modification. He suggests that could he overwrite the default snippets using "User" or "Workplace" snippets, just like the way we overwrite the default settings.

ywmail avatar Nov 19 '15 07:11 ywmail

@ywmail Thank you for your translation!

karl20888 avatar Nov 19 '15 08:11 karl20888

@karl20888 Yes, don't modify files inside the VS Code installation. They will be replaced on every update. We have user definable snippets. Go to 'File > Preferences > User Snippets'. They appear on Ctrl + Space.

aeschli avatar Nov 19 '15 10:11 aeschli