Comments (3)
Holy crap. I was never aware that I could just get the includes from libclang. 🤦♂️ The funny thing is that I believe I tried this before and it never worked. I just tested this and it works well. Soooo. This makes my way of completing the includes with the popup obsolete to some degree. 🤔
That being said, let me quickly walk through how each of the methods works:
- my popup method remembers all the folders from the include flags and will suggest those when completing includes in an interactive manner. What I like about it is that it will have only the folders from the include folders provided and guides the user through the folders and files to choose.
- the libclang method would kinda do the same, just using the normal completion dialog. One needs to start typing every single folder or file and do it sequentially, first the folders, then eventually the file.
So, from the looks of it, I would still prefer the new method, so I will probably leave it as default. But I will extend the completion triggers so that they can be used out of the box and change the name of the setting probably.
How does it sound?
from easyclangcomplete.
Sounds great to extend the defaults and rephrase the setting! Though, surely, that's completely up to you whether to make the libclang method default instead or not. I merely wanted to bring the possibility up.
from easyclangcomplete.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just comment here to prevent this from happening.
from easyclangcomplete.
Related Issues (20)
- Designated initializers don't seem to be parsed correctly HOT 5
- An erroneous warning HOT 3
- Crash on drag-selection near an error HOT 11
- Suppress message about success build HOT 6
- Headers from listed add_definitions are not getting included and pch breaks completion HOT 1
- Go to declaration of includes? HOT 1
- Not working on apple m1 arch64 HOT 6
- Could be possible to disable to show the popup immediately when clicking on a line that has an error? HOT 2
- Files with same name share error messages HOT 2
- Headers are not auto-completed in Sublime Text 4 HOT 2
- "Clean current CMake cache" doesn't works on Windows HOT 2
- Windows can't detect the include folder from the CMakeLists.txt file HOT 5
- Using defintions declared on the CMakeLists.txt from windows gives "Error: Expected expression" HOT 2
- TypeError: argument of type 'NoneType' is not iterable on macos m1 HOT 5
- Headers are normal but STL keep loading errors HOT 1
- Wont find libclang automatically on Debian Testing HOT 10
- Recursive names project fails to build dependency tree project
- Crash when entering `std::vector.re` HOT 4
- Cannot use GCC HOT 3
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 easyclangcomplete.