Disable Autocomplete for Specific Language Feature

南笙酒味 提交于 2020-01-03 15:55:04

问题


I import vector from std using

#include <vector>
using std::vector;

I do this specifically so I don't have to namespace vectors for increased readability. So it is supremely annoying that the C++ package in Sublime autocompletes to

std::vector<char> v;

Instead of just

vector

How do I disable this without disabling all autocompletion or losing C++ language support?


回答1:


Since you're using Sublime Text 2, it's quite easy. Click on Preferences -> Browse Packages... to open your Packages folder in your operating system's file explorer. Go to the C++ directory, delete the file named std-vector-(v).sublime-snippet, and you're all set.



来源:https://stackoverflow.com/questions/23433266/disable-autocomplete-for-specific-language-feature

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!