English is not my native language; please excuse typing errors.
I have this line in my Preferences.sublime-settings:
"tab_completion": false
And I installed LSP extension, activated clangd.
When I open a c++ source file and type:
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
freopen
return 0;
}
Now the cursor is after ‘n’. Then I press tab, and LSP completes like this:
freopen(const char *__restrict filename, const char *__restrict modes, FILE *__restrict stream)
Where “const char *__restrict filename” is selected. Then I type “test.in”, and “int” shows in popup menu.
Finally I press TAB. I expect to jump to the next field, however, “int” is completed.