Disable autocomplete for a specific language function

I import vectorfrom stdusing

#include <vector>
using std::vector;

I do this on purpose, so I don't need namespace vectors to increase readability. So it’s extremely annoying that a package C++in Sublime is autocomplete

std::vector<char> v;

Instead of just

vector

How to disable this without disabling all autocomplete or losing support for C ++?

+4
source share
1 answer

Since you are using Sublime Text 2, it is quite simple. Click Preferences -> Browse Packages...to open the folder Packagesin the file explorer of the operating system. Go to the directory C++, delete the file with the name std-vector-(v).sublime-snippet, and everything is installed.

+2
source

Source: https://habr.com/ru/post/1539031/


All Articles