Author Topic: Disabling code completion for files other than c/c++  (Read 148 times)

Offline Quiss

  • Multiple posting newcomer
  • *
  • Posts: 48
Disabling code completion for files other than c/c++
« on: September 01, 2018, 10:22:10 am »
Hi,

I have a c++ project and there are some .txt files in it. Is it possible to disable CC for files other than c/c++ files? I've looked around a bit but there are only options for file extensions which should be parsing.

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11047
    • Travis build status
Re: Disabling code completion for files other than c/c++
« Reply #1 on: September 01, 2018, 10:30:45 am »
What is the real problem?
Why do you want it disabled?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Quiss

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: Disabling code completion for files other than c/c++
« Reply #2 on: September 01, 2018, 10:57:37 am »
Correct me if I'm wrong but CC only works for c/c++ right? The CC popup is really annoying and unnecessary when editing a .txt (or other) file. For example, I'm writing the word "date", and CC popup shows and selects some kind of macro like "DATE_ASDASD". If I press enter to go to the next line -which is literally my intention in a text file-, I select CC popup and the word date changes to "DATE_ASDASD" obviously.

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11047
    • Travis build status
Re: Disabling code completion for files other than c/c++
« Reply #3 on: September 01, 2018, 11:55:37 am »
OK, now I understand. Yeah it is not good to show the CC popups in txt files.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]