Comments (4)
${fileDirname} is not a stable path, so that variable is not supported in our configurations. Currently our extension only allows for per-file configurations via compile_commands.json
and configurationProvider
.
I believe this has been requested before, but I'm not sure that we kept that issue. We could maybe detect variables like ${fileDirname} and create a hidden configuration provider for them. I'll mark this as a feature request.
from vscode-cpptools.
Ok, thanks.
just to explain a bit more: my first guess was, to write those include paths without the ${fileDirname}
variable but that didn't work either. The goal is, that the search behavior is the same as the compiler does. There I have the same include structure. So in the end it would also be sufficient for me to just write ../../h
. The extensions just needs to know that the start for all included header files is the current file.
from vscode-cpptools.
If your files all have a common parent folder, you could do: /project/commonparent/**/h
and /project/commonparent/**/incs
and we'll figure out the include paths for you.
from vscode-cpptools.
Related Issues (20)
- launch.json HOT 1
- cpptools IntelliSense Updating and Parsing Wrokspace speed is much slower than previous versions HOT 2
- Intellisense fails to find system headers in 1.20.5 (possible cmake integration issue?) HOT 12
- Make hover menu show documentation from source file instead of header file if it's written in the Doxygen format HOT 1
- Intellisense fails to distinguish same name files in different directories HOT 2
- Goto Definition takes a couple of seconds each time to complete the jump HOT 3
- Detection of clang-format version fails in SSH remote session when clang-format is a symlink
- Cannot deduce class template arguments HOT 1
- Display entire definition line when pointing at variable HOT 2
- Feature Request: Suggest [nodiscard] as a C++ Keyword HOT 1
- Search freezes with cpptools enabled HOT 3
- [opensuse] language server crashes HOT 4
- Error: Attempting to use languageClient before initialized HOT 3
- The 'auto' keyword is not colored HOT 1
- Inconsistent naming of command options for "IntelliSense" configurations
- Code analysis fails to get configured for non-open files the 1st time it's run
- When a function is referenced via a macro definition, the referencing function cannot find it HOT 1
- Support additional visualizers directories
- Not All Doxygen Comment Blocks Supported 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.