Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » ide now using libclang
ide now using libclang [message #58835] Fri, 16 September 2022 10:57 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
After 3 months of development, theide is now using libclang for Assist. There are still some issues to fix/improve, but overall it now seems stable enough (and useful) for the community to start using/testing.

Some notes and (sometimes) temporary issues:

- in Linux, we have yet to alter the installation script to install libclang. However, as we are using runtime loading for it, when not installed it just means Assist does not work...

- Unfortunately one of drawbacks of libclang is that it does not work inside templates. I have a workaround in mind for autocomplete maybe, but for now it is a feature, not a bug.

- There is a new function, Alt-U - find all usage of current function/variables. There are more to come...

- Navigator is now usable, but still needs some work. Will work a bit differently.

- All libclang parsing is done in background threads. It is MUCH heavier on computing resources than our home-grown parser. The impact can be to a degree adjusted in Setup... Especially "indexer" - the component that needs to recompile all files of project to keep track of everything - is heavy, probably needs at least 4 CPU cores to be used reasonable. It is possible to make it "on command" in setup. That said, with 5950X, it takes 11s to reindex theide sources, which IMO is fine.

(this merge happened right now, so it will be in nightly builds tomorrow)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Core/SSH package, underlying libssh2 library is upgraded to 1.10.0
Next Topic: ide: Edits now also shown in scrollbar
Goto Forum:
  


Current Time: Wed May 08 08:54:59 CEST 2024

Total time taken to generate the page: 0.03002 seconds