VS 2015中缺少代码片段 [英] Code Snippets are missing VS 2015

查看:143
本文介绍了VS 2015中缺少代码片段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天前,对 VS 2015 进行了更新.我重新打开我的项目,我发现代码片段消失了感到惊讶. 对我来说,它们非常有用,因为只需按两次TAB键即可插入代码,并且编写代码的速度更快. 我不知道新的更新是否已删除,或者是否必须添加配置才能再次出现.

A few days ago there was an update to VS 2015. I reopen my project, I find the surprise that the code fragments have disappeared. For me they are quite useful because by simply pressing TAB twice, code is inserted and it was faster to write code. I do not know whether the new update they have been removed or if I have to add a configuration to appear again.

我的版本是:

Visual Studio Enterprise 2015更新2 14.0.25123.00

Visual Studio Enterprise 2015 Update 2 14.0.25123.00

推荐答案

与此处相同.我的解决方案:

Same here. My solution:

在C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ VC#\ Snippets中,有两个文件夹:1033和3082.将文件和文件夹从3082复制到1033.这对我有用!

Inside C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC#\Snippets there are two folders: 1033 and 3082. Copy the files and folders from 3082 to 1033. That worked for me!

这篇关于VS 2015中缺少代码片段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆