Giter Site home page Giter Site logo

Comments (10)

GEOEGII555 avatar GEOEGII555 commented on June 3, 2024

I've tried a couple of things, and it seems like the files which are specifically mentioned in CMakeLists.txt have intellisense disabled. All other files work fine. Here's a video where I edit CMakeLists.txt and show how the behavior changes: https://1drv.ms/v/s!As9AgYSaPCSsqn1JkngIrVQHJ-uB?e=iJrBom

from vscode-cmake-tools.

GEOEGII555 avatar GEOEGII555 commented on June 3, 2024

After some testing, I also found a second condition: the file must be mentioned in CMakeLists.txt, AND there should be an argument /DEBUG:FULL added via add_compile_options.

Somehow, /DEBUG:FULL is breaking intellisense. This only happens when vscode-cmake-tools is configured as the config provider, so it's probably a bug in this extension.

https://1drv.ms/v/s!As9AgYSaPCSsqn4cPDg38nFgkuGU?e=TOrb4h

from vscode-cmake-tools.

v-frankwang avatar v-frankwang commented on June 3, 2024

@GEOEGII555 In order to better solve your problem, we need more information from you, such as a project that can reproduce this issue and some screenshots? Thank you!

from vscode-cmake-tools.

GEOEGII555 avatar GEOEGII555 commented on June 3, 2024

Here:
project.zip

from vscode-cmake-tools.

v-frankwang avatar v-frankwang commented on June 3, 2024

Thank you very much for your reply, I still can't reproduce the problem using the program you provided!

Here are my steps:
repro2

from vscode-cmake-tools.

GEOEGII555 avatar GEOEGII555 commented on June 3, 2024

The CMake configuration has failed (bottom right corner), probably because CMake wasn't able to find sockpp. The issue seems to happen only after a successful CMake configuration.

I removed sockpp from CMakeLists.txt (commented out) and the issue is still present after this. Here's a zip archive with the same project (but with sockpp dependency removed, the issue is still present)

code.zip

from vscode-cmake-tools.

GEOEGII555 avatar GEOEGII555 commented on June 3, 2024

https://1drv.ms/v/s!As9AgYSaPCSsqwn4Y980H5UCv2ud?e=xVcRbs
here's a 0.5 GB 7 minute long video of me showing this issue and how it only happens with MSVC and not GCC

from vscode-cmake-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.