Comments (5)
Thank you for reporting this issue. This behavior is actually by design as we only want to suggest this code action for headers that are supported by vcpkg.
This does however bring to light a bug where this code action is not appearing even for such headers like #include <zlib.h>
.
It looks like we were incorrectly parsing our vcpkg header database. Please keep tracking this issue to be notified when a fix is checked in.
from vscode-cpptools.
Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/v1.21.1
from vscode-cpptools.
@sean-mcmanus Verified on C/C++ 1.21.1(pre-release) still repro this issue, so could you help to re-confirm it?
from vscode-cpptools.
Hi @v-ericawu . To clarify, you wouldn't get that option for "xxxxx.h". The feature applies only if the header is from a library supported by vcpkg. Try geos.h
:
from vscode-cpptools.
@Colengms @sean-mcmanus Thanks for your confirmation! using ''geos.h'' will bring up the 'Learn how to install a library for this header with vcpkg' option:
from vscode-cpptools.
Related Issues (20)
- Memory leak when work with ssh HOT 2
- not getting expected result HOT 2
- RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance HOT 11
- Watch window does NOT show vector data correctly in Google Test debug session.
- Clang inline assembly is not colorized HOT 1
- Copy Value in C++ debugger copies value incorrectly
- Warning in `launch.json`: Property `env` is not allowed
- Debug page: variables cannot be displayed HOT 3
- Unable to naviagte to function definition with compile_commands.json HOT 2
- First element of the QMap array is not colorized HOT 1
- Forcibly adding "chcp 65001" on the Windows platform causes g++ to have errors.
- If the connection failed (useExtendedRemote), a list of local processes will be displayed
- Go to Definition goes to the wrong header (not used by IntelliSense) when `<string>` actually references a workspace file HOT 1
- -I isn't being handled correctly when -iquote is also used
- Support --options-file for intelligence of included header
- Crash HOT 8
- Update compilerPath setting logic after validation changes
- intelliSenseCacheSize != 0 causes newly added headers to not be used by IntelliSense in certain cases HOT 1
- ms-vscode.cpptools-1.21.6-linux-x64 cpptools-srv crash HOT 1
- Terminal Window Error Code Link resolver does not work anymore (Strg+Click /Ctrl+Click) to show source of error)
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.