News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Code Hinting but not Completion

Started by pieman, April 04, 2014, 04:17:41 PM

Previous topic - Next topic

pieman

#15
Hey.



Hello?


QuoteFrankly, it's just a waste of screen real estate to have a window permanently open to display contextual info like this.

NO! I SAID A TAB, MULTIPLE TIMES. A tab integrated into the logs panel. It makes perfect sense. After you get your build messages, you'll be pushing through code using the build messages. Once you've fixed your code to be however you want it fixed, then you'll possibly be working on new, novel code. In that circumstance, it's appropriate to switch from build messages to the "contextual info" while developing new stuff, rather than fixing issues named in the build messages!

What the fuck people..

A tab. A tab. A tab! How do you manage to concede this and unmistakable simple design decision?

BUILD PROGRAM.

LOOK, BUILD MESSAGES.

ADDRESS BUILD MESSAGES.

GOOD.

NOW I HAVE THOUGHTS ON SOMETHING NEW I NEED TO WORK ON.

SWITCH FROM BUILD MESSAGES TAB TO SYMBOLS LIST TAB.

NOW THE BUILD MESSAGES TAB HAS BEEN REPLACED WITH THE SYMBOLS LIST TAB.

I DO NOT NEED THE BUILD MESSAGES TAB. IT HAS BEEN APPROPRIATELY REPLACED.

SCREEN SPACE CONSERVED.

Freaking shit.
I like pie.

pieman

Game Maker's code editor lacked line numbers. Have you mistaken that screenshot image as like a scratch pad window thing? It's not. It's a code editor.
I like pie.

dmoore

Let me fix that for you... :D

Quote from: pieman on April 11, 2014, 08:25:33 PM
What the fuck people..

BUILD PROGRAM.

LOOK, BUILD MESSAGES.

ADDRESS BUILD MESSAGES.

GOOD.

NOW I HAVE THOUGHTS ON SOMETHING NEW I NEED TO WORK ON.

F2 - HIDE LOGS AND OTHERS, ENJOY IMPRESSIVE VISTA OF CODE WITH CODECOMPLETION POPUPS RIGHT WHERE YOU ARE TYPING.

SCREEN SPACE MAXIMIZED!

Also on a wide screen, the placement on the left side of symbols is probably a better use of screen real estate than displaying that info below.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

pieman

#18
Actually, I do that indeed. I use F2 frequently (and I sometimes pin the logs panel to the right), but I'm saying, if you're keeping the logs panel open anyway, it may as well be more useful when you're not tracing the build messages.

It makes sense to me to have the feature I suggested paired in the same neighborhood as build messages, since build messages are attached to symbols and line numbers (they're a browsing solution). When I write new code, I don't want to browse, I want to reference (without browsing; need to focus on code HERE)! It's quite a nice duality, I think.

Code completion won't appear if a function (or whatever) has already been written. Then I must visit declarations. This wastes my time quite effectively. It makes it somewhat more difficult to focus on whatever I'm programming.

.. and it fucks up what I'm typing and when I'm typing I won't notice the evil shit popup out of hell and then rape my children before I finish typing. That's why I leave code completion disabled.
I like pie.

BlueHazzard

Quote from: pieman on April 11, 2014, 08:48:22 PM
Code completion won't appear if a function (or whatever) has already been written. Then I must visit declarations. This wastes my time quite effectively. It makes it somewhat more difficult to focus on whatever I'm programming.

.. and it fucks up what I'm typing and when I'm typing I won't notice the evil shit popup out of hell and then rape my children before I finish typing. That's why I leave code completion disabled.

actually not, just move the mouse cursor in top of the function and a popup will show you your info...

and why you don't ignore the cc popup?

pieman

#20
Hmm. I'm reconsidering the code completion options. I thought I had gone through it painfully and tried to configure it how I'd like (without success) already. On a second investigation, it seems more promising. The code completion toolbar does exactly what I was requesting initially. I never noticed that. Whoops :-\

Let's see about what seemed to eternally and ingracefully replace whatever I was typing, because that doesn't seem like such a solid complaint ( I was probably just being a dumbass ).

I was probably in a shitty mood and things didn't work exactly as I expected, so I didn't bother enough with actually coming to understand how it worked. :-*
I'm often in a shitty mood. :P

All of this was decided when I first began to use Code::Blocks, which remains by far the best and most sensible C++ IDE yet. That was many years ago, so I've forgotten what code completion was like anyway. That was also with a much older version. :-X

Edit:

No. Wait, it only adapts to the current scope. It's still a pointless browsing thing. Ugh. Also, I noticed the tooltip a few minutes ago. Yeah. I've made some comments about that elsehwere.
I like pie.

pieman

Errm. WHAT WAS REPLACING MY STUFF? Maybe I had the "Auto-select" option enabled. Was that the culprit?
I like pie.

BlueHazzard

Quote from: pieman on April 11, 2014, 09:38:23 PM
Errm. WHAT WAS REPLACING MY STUFF? Maybe I had the "Auto-select" option enabled. Was that the culprit?
i don't know any feature that replaces without your intention...

PS. : PLEASE DON'T SHOUT this is rude... also your other expressions aren't very nice. CC is a main feature of c::b and many developer are happy with it. If you want this feature really bad i recommend you to use your energy to implement it and not to flame on this forum...

pieman

#23
struct ThisIs *enter*
struct ThisIsWhyCodeCompletionCanBeAnnoying

When I meant to write: ThisIs

I guess you could fix this by disabling code completion on the same line as a struct/class/union declaration.
I like pie.

Alpha


BlueHazzard

#25
or ctrl+j (see the magic)

[Edit:] sry, this works only if you write struct/class/switch and hit ctrl+j. For your problem, you can also simply add a white space after typing your word, and then hit enter...

greetings