Disable include path completion suggestion insertion on entering a path separator #7084
Labels
Feature: Auto-complete
Feature Request
help wanted
Can be fixed in the public (open source) repo.
Language Service
more votes needed
Issues that have been postponed until more community members upvote it
Milestone
Hello,
(TL;DR) How can I disable include path completion insertion on typing a path separator character?
Background:
When typing an include like (like
#include <foo
, where foo is the exact and complete folder name I want to use) a completion suggestion list pops up. Unfortunately when I enter a path separator (/
or\
) it automatically chooses the first entry and inserts it. Due to fuzzy matching it often (way too often) replaces the previously typed path segment with something completely different (to continue the example:#include <forever_oppressing_your_workflow.h/
, because foo got fuzzy-matched with forever_oppressing_your_workflow). Even with leaves (header files), which makes no sense, because why would I enter a path separator, if the previous segment is a leaf?Of course the reason for it not completing to foo is that it doesn't have foo in its include path at the time, but I often run into situations where this is (temporarily) the case. Probably because I'm using CMake and the CMake extension wants me to reconfigure for each new file I create and I usually procrastinate that to a later point in time.
All I want is to disable this feature (inserting completion suggestion on path sep). I have my Tab key for inserting completion suggestions and I'm fine with that. I have searched the settings and the web, but couldn't find a way to disable it. I hope I just oversaw it and you can point me to the right setting.
Originally posted by @Neonit in #7055
The text was updated successfully, but these errors were encountered: