Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Clang based CC, new CC interface
koonschi:
Hi, first of all:
Awesome work. This really gives codeblocks a boost. I particularly enjoy clang's ability to deduce the auto type and complicated templates.
Some feedback from my side:
- It would be great to have the clang parsing in a separate thread. I'm working on a big project with 1000+ files, and nearly half of my time is spent switching between those files, so I always get the parsing delay (up to 8 seconds) when opening a new file, which is distracting.
- The (parsing?) delay also occurs pretty often when I'm editing headers. When I want to type a new member function, I get a delay of 1 - 2 seconds every 2 characters.
- Showing the diagnosis warnings/errors should be configurable in some way.
- I'd love to put the "Resolve symbol (clang)" function on a hotkey.
Keep up the great work!
Edit: Working on Kubuntu 14.04, 64 bit, latest nightly.
Alpha:
Thanks all for the feedback, I have started a todo list.
Definitely lots of performance issues to take care of. Most of these will be mitigated by switching to a threaded model, however, I do not plan to attempt that until all major single-threaded crashes are dealt with (no need to complicate problems).
A few specific responses:
--- Quote from: scarphin on May 13, 2014, 03:51:40 am ---3- The '.' and '->' kicks in for almost everything like 'for./->' 'int./->' 'some_class_name./->' even when typed on their own and the list consists of almost everything too.
--- End quote ---
Hmm, I never noticed it before; I shall be working on resolving that.
--- Quote from: koonschi on May 13, 2014, 11:59:07 am ---- The (parsing?) delay also occurs pretty often when I'm editing headers. When I want to type a new member function, I get a delay of 1 - 2 seconds every 2 characters.
--- End quote ---
Working editing headers disables clang's internal caching ability, so that is why the delay is even more noticeable. (This delay is unacceptable for real work; I am thinking on how to best resolve it.)
--- Quote from: vali29 on May 13, 2014, 09:34:41 am ---[...]
The same crash.
I made a simple wxFrame project and after i added a button on frame and set OnClick event for button... [...]
--- End quote ---
I will be looking more in depth to try to reproduce this crash on my machine (probably this weekend, or sooner if time allows). Could you also post (an archive of) a minimal project that causes the crash?
All feedback/ideas/bug reports/feature requests welcome. I may not be able to respond to each point, but the more ideas, the better :) .
carra:
I have installed nightly 9765 (on Windows) and currently I prefer it working with the old CC interface. The Clang one has problems when opening a project, even small ones. It sometimes makes C::B unresponsive for some seconds, and a couple of times I've had C::B crash when opening projects.
On the interface itself, I personally believe there is too much hand holding for the programmer. When your code is still being written, the errors displayed inside the code take too much room and make readability poor. Also I'd prefer not to have all parameter commas written when I am writing a function.
Alpha:
--- Quote from: carra on May 26, 2014, 10:32:51 am ---It sometimes makes C::B unresponsive for some seconds, and a couple of times I've had C::B crash when opening projects.
--- End quote ---
Known issues; this plugin is still in its early stages, and not intended for general use.
--- Quote from: carra on May 26, 2014, 10:32:51 am ---When your code is still being written, the errors displayed inside the code take too much room and make readability poor.
--- End quote ---
From my usage, it currently updates too quickly for sane typing, so I think changing the default to a longer timer, or only checking on save, might be better. Also, once there is a settings page, this will become configurable to put messages in tooltips/not display at all.
--- Quote from: carra on May 26, 2014, 10:32:51 am ---Also I'd prefer not to have all parameter commas written when I am writing a function.
--- End quote ---
It looked like a good idea at the time :P , though I agree, it mostly just gets in the way (without the ability to tab between parameters, or something).
I unfortunately am currently recovering from a minor surgery, so I am unsure when I will be able to step back into work. Soon hopefully.
carra:
--- Quote from: Alpha on May 28, 2014, 01:52:35 am ---I unfortunately am currently recovering from a minor surgery, so I am unsure when I will be able to step back into work. Soon hopefully.
--- End quote ---
Don't worry there is no hurry. I just tried the plugin and thoguht it would be nice to give some feedback. But right now just concentrate on recovering ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version