Comments (2)
@HuandongNB When you do Go to Def in Mod_Sync.c it'll have to query the database for the location since the definition is not in that TU, but if you're in HAL_RTC.c then the TU has the definition so it doesn't need to query the database, so the bug is caused by the definition in the database having the wrong location. You might fix it by doing a Reset IntelliSense Database command, or check the Outline view and see if the definition symbol is incorrect there. If so, if a macro is used in the definition, you may need to add the macro to a cpp.hint file. If you can provide a code sample of the function definition that repros the issue we could investigate more.
from vscode-cpptools.
It works well after doing a Reset IntelliSense Database.
Thanks for the help.
from vscode-cpptools.
Related Issues (20)
- [Bug] No intellisense from doxygen comments placed above template function declaration with separate implementation
- Crash in code_analysis::process_async::cleanup() HOT 4
- #include completion doesn't work for absolute paths
- identifier "size_t" is undefined, with clang 18 HOT 1
- Implement prepareRename so rename isn't invoked on comments/strings/etc. HOT 3
- Parentheses parsing and outline display errors HOT 1
- Increase retention time/policy for the dogfood vsix HOT 1
- IntelliSense does not use the correct header files for code inspection HOT 2
- gdb executes expression from hovering over a define (expression) without brackets HOT 2
- Enable clang-tidy/format to use terminal.integrated.automationProfile HOT 3
- Custom config updates result in unnecessary TU updates against the base config
- Enable C/C++: Log Diagnostics to be used without an active C/C++ file
- Deleting a folder with headers still suggests the deleted headers in include completion results with recursive includes
- [GDB pipe DOCKER] Breakpoint hit in runtime loaded lib may not respond in UI HOT 2
- ${defaultBuildTask} is not determined when using glob pattern for default task HOT 1
- VS Code Debugging C/C++ creates a file called "2" in working directory HOT 5
- Support for /FU flag broken C++/CLI project HOT 6
- No completion results are given when a scope operator is used after a comment block HOT 1
- 1.22.2 has some recursive includes related crashes HOT 7
- Build automation/tooling to support performance testing and monitoring of the extension HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-cpptools.