Home » Developing U++ » U++ Developers corner » TheIde new look and new features
| Re: TheIde new look and new features [message #30823 is a reply to message #30771] |
Mon, 24 January 2011 11:22   |
|
|
| mr_ped wrote on Fri, 21 January 2011 09:29 |
I don't see clearly which pane is active (only hint is cursor).
edit: also the left bar with doc edit rectangles is available only with active tab, still the difference is minor.
That said you have orange line over top of active tab, in my IDE (host theme in WinXP with classic theme) there's no visual clue at all except having red cross for closing tab.
|
I agree, that there is no good visual clue, any ideas are welcomed 
| Quote: |
Also what if active tab and secondary tab are too far away from themselves? You can see name of tab by switching to it, so it's probably enough, or may it get annoying? (and we should pin somewhere into edit window the name if tab is gone?)
|
Right, I thought about this issue too. File name in the editor corner seems good, but I also thought about right aligned tab (that cannot be scrolled) with two splitted file names on it. And in splitted mode this tab is always active. Now if you click on other tab this other tab doesn't become active - clicking on it just causes loading file pointed by it to the editor with focus and updating name on right aligned tab. This way you always see what files are edited without polluting editor space.
| Quote: |
Can we color the inactive big bar on left (line nums + doc edit + recently modified lines)? Maybe just the base color for unchanged lines. I'm sure it would make identification of panes easy, but I have no idea if it will look good and natural, maybe it will be even more annoying. Something to try out.
|
coloring ibb (inactive big bar) could be a good idea. I'll think about it.
| Quote: |
Also I think I would LIKE to have active tab colored in same way for example with that light orange. And in the end I would love to see ColorfulTabs in IDE. 
|
I'm not fan of so many colors You would like to color those tabs automatically (then what is the algorithm - different file extension - different color?) or have possibility to set the color individually?
|
|
|
|
| Re: TheIde new look and new features [message #30824 is a reply to message #30485] |
Mon, 24 January 2011 11:30   |
mr_ped
Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
| Quote: | I'm not fan of so many colors Smile You would like to color those tabs automatically (then what is the algorithm - different file extension - different color?) or have possibility to set the color individually?
|
In firefox I'm using auto random coloring, although you can also assign manually. For me it works, I don't use those colors to recognize particular tab, just it makes easy to distinguish tabs and relax my eyes. With the number of source files I'm using it would be almost impossible to orientate by custom colors, and it would be tedious to assign them. (just checked my current project has 134 files already in IDE)
[Updated on: Mon, 24 January 2011 11:31] Report message to a moderator
|
|
|
|
|
|
| Re: TheIde new look and new features [message #30826 is a reply to message #30824] |
Mon, 24 January 2011 11:51   |
|
|
| mr_ped wrote on Mon, 24 January 2011 05:30 |
In firefox I'm using auto random coloring, although you can also assign manually. For me it works, I don't use those colors to recognize particular tab, just it makes easy to distinguish tabs and relax my eyes. With the number of source files I'm using it would be almost impossible to orientate by custom colors, and it would be tedious to assign them. (just checked my current project has 134 files already in IDE)
|
I can add auto coloring tabs. It's very easy so why not One question? With many files open how do you find this small tab scrollbar. Is it convenient for you or you prefer multi line tabs?
|
|
|
|
| Re: TheIde new look and new features [message #30827 is a reply to message #30818] |
Mon, 24 January 2011 12:03   |
 |
mirek
Messages: 14290 Registered: November 2005
|
Ultimate Member |
|
|
| dolik.rce wrote on Mon, 24 January 2011 04:03 |
| mirek wrote on Mon, 24 January 2011 09:32 | In fact, putting code explorer where it is now was partly motivated by the fact that widescreen LCDs are much more standard then original 4:3 today. With widescreen, you have surplus of horizontal space...
|
You are right about the widescreen spreading everywhere, but the ratio is not everything - the "widescreen" on my primary machine is 1024x600 So I strongly support saving as much space as possible, both in horizontal and vertical direction.
Also Tom is IMHO right about keeping the package list on the left (or configurable) to keep the code in the center of the screen. And that is especially true on big screens, where the distance from left side to corner can be quite large.
Honza
|
Well, clearly, we need all of that customizable...
That said, I really like "two-level" "package->file" approach for selecting files in the ide - I would have to maintain my own branch if proposed "hierarchic" selector would be the only option....
|
|
|
|
| Re: TheIde new look and new features [message #30828 is a reply to message #30827] |
Mon, 24 January 2011 12:28   |
|
|
| mirek wrote on Mon, 24 January 2011 06:03 |
That said, I really like "two-level" "package->file" approach for selecting files in the ide - I would have to maintain my own branch if proposed "hierarchic" selector would be the only option....
|
I like this separation too. One explorer looks really good but if there are many packages with lots of file one would have to scroll a lot. In current approach I use scrollbar very rarely. Please notice (Mindtraveller) that both packages and files control can display many columns.
I really like freshness / clarity of Mindtraveller explorer and at the same time I like current approach. I wonder if there is a way to combine them somehow. Maintaining own branch for project explorer is not the way IMO. I see couple solutions:
1. Have current approach and the new one in one ide as two separate controls. User could switch between them.
2. Refresh current approach - add new look, sorting etc
3. Implement one control that support both ways of displaying data. Both ways shares most of the features (for example stacking files)
I would vote for 3rd one.
|
|
|
|
| Re: TheIde new look and new features [message #30829 is a reply to message #30826] |
Mon, 24 January 2011 13:15   |
mr_ped
Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
| unodgs wrote on Mon, 24 January 2011 11:51 |
| mr_ped wrote on Mon, 24 January 2011 05:30 |
In firefox I'm using auto random coloring, although you can also assign manually. For me it works, I don't use those colors to recognize particular tab, just it makes easy to distinguish tabs and relax my eyes. With the number of source files I'm using it would be almost impossible to orientate by custom colors, and it would be tedious to assign them. (just checked my current project has 134 files already in IDE)
|
I can add auto coloring tabs. It's very easy so why not One question? With many files open how do you find this small tab scrollbar. Is it convenient for you or you prefer multi line tabs?
|
I prefer current way. I use mouse wheel to scroll, but most of the time I don't need the tab list at all, at the start of task I close all old tabs, then I click trough needed files (in file list on left), then I use Ctrl+Tab most of the time. (usually I need to switch between two files, only rarely I move to other ones)
What is annoying me a lot:
when I close the tab, and I do Ctrl+Tab, it opens it back.
I think the closed tab should move beyond last of opened tabs. So if you have still 4 files open, you have to Ctrl+Tab 4 times to re-open the closed tab, only after you cycle trough all 4 current files.
|
|
|
|
| Re: TheIde new look and new features [message #30850 is a reply to message #30820] |
Tue, 25 January 2011 08:39   |
|
|
| unodgs wrote on Mon, 24 January 2011 11:15 | Don't worry about the side. With docking integrated it can be placed anywhere. Docking has also option to lock the layout that hides every ui element that is related to docking so application can look like docking was not there 
|
Yes, I Agree with you!
Another good thing will be:
1. code folding;
2. When select a whole word then automating mark all other same words in the screen view. It is very useful.
|
|
|
|
| Re: TheIde new look and new features [message #30853 is a reply to message #30850] |
Tue, 25 January 2011 10:01   |
cbpporter
Messages: 1428 Registered: September 2007
|
Ultimate Contributor |
|
|
This is a very interesting thread and the muck-ups look awesome. By the end of it, nobody should be able to say that TheIDE looks dated. Or maybe they will, since we still get a lot of requests to improve documentation, even if it one of the better ones out there in open source .
But we shouldn't ignore functionality either. In the last few months, I've been using TheIDE more intensively then before. Not as time, but as scope of the projects. And while the experience is generally very good, here are a few random nitpicks that I have discovered:
1. Middle-clicking on the tab bar very fast generates double clicks. This is annoying, making those situations where you have 40 tabs and want to get it down to 10 time consuming because I need to flail the mouse randomly.
2. When doing the above mentioned flailing, sometimes TheIDE crashes.
3. Sometimes it crashes on exit.
4. Sometimes it crashes with big projects if I write by mistake "public::" instead of "public:". It will crash again on start-up when loading the same file, so I have to use another editor and get rid of the extra ":". Reason for crash: out of memory.
5. It crashes when it the exe you ran fails to find .dlls.
6. Go-to-code and ctrl-clicking sometimes feel very random. I understand that we don't look at the types and numbers of parameters, but once I clicked apples in my package and got taken to oranges in Core somewhere. This could simply be improved. If the token and the destination is not the same as at the source, don't jump.
7. TheIDE does not understand namespaces. Makes most of assist useless.
8. Debugger does not kick in if you write your functions on a single line. I think this was an issue in VS too. Discourages you to write short but meaningful inline functions.
9. Debugger does not understand global variables. Sometimes you can't afford dynamic allocation and passing of pointers everywhere for huge buffers and data.
10. Mouse wheel scrolling!
11. Crashes if it can't find compiler binary.
These are some of the things I noticed and remembered. There are a few more.
|
|
|
|
|
|
|
|
| Re: TheIde new look [message #30866 is a reply to message #30864] |
Wed, 26 January 2011 00:36   |
|
|
| Mindtraveller wrote on Tue, 25 January 2011 22:57 | Simple scenario: one needs to find some function. He may do it with mouse scroller up/down (or just scroll with keys). Or he may press mouse scroller/middle button and switch to thumbnail view of current file where only declarations are displayed, then click one of them automatically switching to "normal view". It is just 2 mouse clicks (against current ^G + time to look at new window + double click). This may seem unimportant, but IMO this will greatly improve local navigation usability.
...
IMO this feature almost completely replaces the need of code folding. Because finally folding is just a way of making function declarations more visible. We make the same thing without need of user manually collapsing new functions, we just collapse all the code and expand it back for him with only one click.
|
That is very good idea. It would really allow much faster navigation in file scope. But I have to disagree with your opinion that it can replace code folding. Folding has much broader use than collapsing functions. E.g. I use it to collapse long for cycle, so that I can write code below it while still seeing variables defined above. Anyway, this feature looks great.
Honza
PS: Oh, and please do not bind it to middle button click - I don't have such button Well, it can be emulated by right+left click, but it is hard to perform on my touchpad
|
|
|
|
|
|
| Re: TheIde new look [message #30870 is a reply to message #30868] |
Wed, 26 January 2011 15:20   |
|
|
| gprentice wrote on Wed, 26 January 2011 13:53 |
| Mindtraveller wrote on Wed, 26 January 2011 10:57 |
IMO this feature almost completely replaces the need of code folding. Because finally folding is just a way of making function declarations more visible. We make the same thing without need of user manually collapsing new functions, we just collapse all the code and expand it back for him with only one click.
|
I disagree. The purpose of code folding is to hide blocks of code, not whole functions. I think there are a lot more important things to do than code folding though, like improving code navigation and the help mechanisms.
Graeme
|
The code folding is very good to manage with big files.
What is your propose by improving the code navigation and the help mechanism?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: TheIde new look [message #30914 is a reply to message #30903] |
Fri, 28 January 2011 10:39   |
 |
mirek
Messages: 14290 Registered: November 2005
|
Ultimate Member |
|
|
| gprentice wrote on Fri, 28 January 2011 01:50 |
| mirek wrote |
| gprentice wrote |
By retrace I meant that theide would remember the locations that the cursor has recently been, regardless of how you got there.
|
Like left & right arrows?
|
So in TheIde, if I jump to some other location using search (or page up or switch to another file), does Alt Left take me back to where I was. I'm not at home so I can't try it right now.
|
No, but it is debatable. I mean, what is going there that at some operations you simply store the position. Personally, I do not think this should happen with regular cursor movemement. Maybe jump to the beginning of file or end of file. Or maybe we can even make it configurable, it is quite simple.
Anyway, mechanism is already there, I guess there is no need to create some new one, just to refine the existing.
| mirek wrote |
I wonder how theIde handles bookmarks?
|
Good point 
Mirek
|
|
|
|
|
|
| Re: TheIde new look [message #30917 is a reply to message #30915] |
Fri, 28 January 2011 11:19   |
|
|
| mirek wrote on Fri, 28 January 2011 04:40 | Well, this is really a nice debate. Anyway, to get somewhere, might I ask Uno or somebody else to materialize it into Redmine tasks? 
We can then assign priority and start working...
|
I'll do this soon
|
|
|
|
|
|
| Re: TheIde new look [message #30946 is a reply to message #30914] |
Sat, 29 January 2011 01:09   |
gprentice
Messages: 260 Registered: November 2005 Location: New Zealand
|
Experienced Member |
|
|
| mirek wrote |
No, but it is debatable. I mean, what is going there that at some operations you simply store the position. Personally, I do not think this should happen with regular cursor movemement. Maybe jump to the beginning of file or end of file. Or maybe we can even make it configurable, it is quite simple.
Anyway, mechanism is already there, I guess there is no need to create some new one, just to refine the existing.
|
I didn't intend my comments to be a feature request. I was just trying to say that code navigation is more important than code folding because I'm navigating code continually but only need code folding occasionally. Code folding is useful for outlining of large functions. Attached is an example from a 1200 line function from slickedit "Slick C" source.
Most editors can display a list of function headings for the current source file (as MindTraveller suggested) but usually they do it through a separate dialog or drop-down list. Maybe the navigate in file dialog could let you restrict the list to function headings and use that to display a list of functions in the current file.
Go to matching brace is a common feature theIde doesn't seem to have - maybe context go to could do that when the cursor is on a brace.
Why doesn't the mousewheel work in the keyboard shortcuts dialog?
Regarding cursor retrace, I use it for swapping back and forth between two places in the code but also for cycling round the last few places I've been - which is a bit different to how web browser alt-left/right work because as soon as you go in a "new direction" the web browser throws away a bunch of places that you've just been to. Probably an easy one theIde could have is to jump back to the last place where you modified some code.
Anyway, I'm sure I could implement cursor retrace for theIde if I wanted to but my desire is to try and improve theIde help.
Graeme
[Updated on: Sat, 29 January 2011 01:10] Report message to a moderator
|
|
|
|
|
|
|
|
| Re: TheIde new look [message #30972 is a reply to message #30946] |
Sun, 30 January 2011 18:35   |
|
|
| gprentice wrote on Sat, 29 January 2011 01:09 | Go to matching brace is a common feature theIde doesn't seem to have - maybe context go to could do that when the cursor is on a brace.
|
Just for completeness: Context go to already jumps between brackets. But only if there's not something more interesting on the other side of the cursor See void Ide::ContextGoto0(), there is a lot of (probably undocumented) functionality for context jumps.
Honza
|
|
|
|
|
|
| Re: TheIde new look [message #31114 is a reply to message #30982] |
Sat, 05 February 2011 18:55   |
|
|
Friends!! Tabs in TheIde very beautiful, but only under Windows. I installed SVN 3149 under UBUNTU. Now is not visible while dragging the tab nothing.
Previously, even a color bar - pointer to dragging.
And another problem under Linux. During compilation window TheIde always goes on foreground, closing the other windows. You can save the situation only minimize the window TheIde. In 2791 this was not.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
[Updated on: Sat, 05 February 2011 18:55] Report message to a moderator
|
|
|
|
| Re: TheIde new look [message #31235 is a reply to message #31114] |
Wed, 16 February 2011 12:01   |
|
|
| sergeynikitin wrote on Sat, 05 February 2011 12:55 | Now is not visible while dragging the tab nothing
|
Thanks. Confirmed. I'll fix this soon!
By the way: I'm little bit busy now but I'm planning to sum up all the things we were discussing here soon. Good news is I fixed one of critical bugs regarding docking in ide and I hope to get docking working sooner than I expected 
|
|
|
|
|
|
|
|
|
|
| Re: TheIde new look [message #33405 is a reply to message #33397] |
Mon, 01 August 2011 09:28   |
|
|
| koldo wrote on Sun, 31 July 2011 17:19 | Any idea ? 
|
I would really like to correct few thing in theide, unfortunately lack of time is the only reason that stops me Similarly to Mirek I'm focused on rainbow right now as this is very important to my current project. However ide look is still an open discussion and I hope we'll get back to it as soon as possible.
|
|
|
|
|
|
Goto Forum:
Current Time: Tue Apr 28 09:42:43 GMT+2 2026
Total time taken to generate the page: 0.01119 seconds
|