Menu

#298 Code completion only works in gcc projects

Undefined
open
nobody
Bug_Report
2020-09-26
2016-02-13
No

On a fresh installation of CodeBlocks 16.01 on Windows:

When I just open a file without a project, code-completion doesn't work for various file types (python, CMake).
Opening a C-file makes it work even in the non-C-files.

In a gcc (GNU GCC Compiler) project code-completion works fine for all files, but when I change the compiler in the project to something else (tested MSVC 2010, GNU Fortran) and restart, code completion again doesn't work for all file types.

The error message I obtain on hitting Ctrl+space is:
"The parser is still parsing files"
In the debug console I see:
The Parser is still parsing files. > Reasons:
- still need to mark files as local

You'll find the complete Debug log attached.

1 Attachments

Discussion

  • Teodor Petrov

    Teodor Petrov - 2016-02-14
    • labels: --> CodeCompletion, Code Completion
     
  • zainka75

    zainka75 - 2016-05-10

    Have you set the correct extension filter for files to be considered when parsing?
    I dont know if this setting is relevant for other projects than C/C++ but check Settings/Editor and choose "code completion" and the third tab.

     
  • Teodor Petrov

    Teodor Petrov - 2020-09-26
    • labels: CodeCompletion, Code Completion --> CodeCompletion
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.