Bugs:
1) File -> Files... causes segfault.
2) Even in Configurations -> Default "word-wrap = true" when a new file is opened word-wrap is not selected.
Now the features.
First the most important features this editor is missing:
1) There *MUST* be an option to move the separator between panes (or at least an option to choose the size of the panes in config file) and the size of the panes should be remembered;
2) There *MUST* be an option to view the line numbers.
Now other not so important features:
1) settings should be written to configuration file when they are chosen in the menu;
2) session saving - it should remember the files that were opened;
3) Option to combine various views;
4) Close buttons on tabs;
5) Option to rename tabs;
6) Clicking on a folder/link with mouse wheel (3rd mouse button) should open target in New tab;
7) Documentation should be also available in the official web site;
8) Putting cursor near } should show corresponding { and vice versa;
9) In preferences -> User Tools $(variablename) should be available not only for arguments but also for command name.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
* Bug 1
If you get a seg fault, I guess you're not using the Windows version,
but can you give me more information to help me reproducing the bug:
- is it a Linux 32 bit or 64 bits ?
- which GTK+ version are you using ?
- is it just when opening the window ?
- do you have files opened ?
* Bug 2
Not a bug: the 'Default' configuration applies to a file where no other
configuration matches. For instance, if you open a C or C++, the 'cpp'
configuration is used instead and this configuration forces the
word-wrapping option to false but it can be changed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) Resizeable panes: it's in my todo list, but not a priority.
2) Line numbers feature is not planned
1) Not possible because there is multiple configuration files. Word wrapping is in the menu to quickly switch wrapping without affecting the global settings, so it is the intended behavior.
2) A beta version is available from the SVN repository.
3) Do you mean tiling windows ? it is in my todo list.
4) This feature is not supported by the standard (Windows) notebook. I won't re-implement a notebook just for this feature.
5) What's the use ? the tab is the name of the toplevel file.
6) Under Xwindow, the third mouse button is to paste the primary selection. But it is a feature I thought to implement using the CTRL+dbl click.
7) It would be nice but I don't want to spend time on it since nobody reads documentations ;-)
8) It's in my list, but currently, you get the matching (, { and ['s with the 'Go to matching bracket' command (CTRL-]).
9) Yes, but do you have an example where it could be useful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) Strange, that one of the most requested features is not a priority.
1) Is there any way to enable word wrapping by default for all the languages? Now, if I work with multiple languages, I have to specify word wrapping for every language I use separately.
2) No, I mean combining different views from view menu.
7) You already provide html file for this with source files, so that shouldn't cause much trouble, I guess. And you think people don't read docs? People don't seem to be able to find them. Just take a look at the comments in gnomefiles.org:
"However, I am completely baffled as to how to get codebrowser to do the same thing for my cpp. Do I have to include any special syntax for it to do its magic?"
"i really don't get it.. how does this work? if i give multiple files as cmd argument it just opens them. there are no linkings between them. this way it just looks like an other text editor with language highlighting. and not a "source code browser". so i still have to stick to eclipse and cbrowser"
8) I think my way of doing this is still better.
9) At first I thought it could be used to execute newly compiled executables, but now I use gnome-terminal -x program_name .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All configurations inherits their word-wrap attribute from the
default configuration except x86, cpp and tex. To change globally the word-wrap
flag, you can append the following lines to your config file:
> There *MUST* be an option to move the separator between panes
> (or at least an option to choose the size of the panes in config file)
> and the size of the panes should be remembered;
There is actually multiple possible views, so view size would need to be defined per view, and as proportional sizes, beceause the global window size may vary it self. Well, why not ...
> There *MUST* be an option to view the line numbers.
Well, as it is an outlining editor, it would be difficult to guess to what line numbering should be respective. Image you got a document, with let say, 5 nesting level of outline. Line numbering could apply to the actual pan (level #(), as well as to levels #4 to #1.
Perhaps you should explain why you need it (the reason we need one thing is far more important than the request for the thing it self). If you need it for tool which returns line numbers, you have to know that the external tools interface already handle line number and can display a log pan with link to document locations in respect to what was returned by the external tool.
> settings should be written to configuration file when they are chosen in the menu;
What settings ? There is already a configuration file.
session saving - it should remember the files that were opened;
This is common in many applications indeed, but it is, in my humble opinion, a kind of functionality which shlould be the one of the working environnement. Imagine if desktop would not exist, then I do not think this would be a good idea to request for every application to provide a desktop.
You can use windows link with application path and document location as application command line parameter or use script if you are running linux.
Or else, you can have a main *.cbi file, with a link to different subfolder containing links to each of your cession/project.
> Option to combine various views;
Exemple would have been welcome.
> Close buttons on tabs;
There is the escape key to close tabs, and it is far more faster than clicking on a very small button with the mouse.
> Option to rename tabs;
Just rename the file (tab name is given from the file name it actually display, and change every time you move from one file to another)
6) Clicking on a folder/link with mouse wheel (3rd mouse button) should open target in New tab;
A Crl-K + moving to the link with cursor is very fast too, and is ok for the majority of peoples who do not use the third mouse button to click. In the other hand, this is fesable.
> Documentation should be also available in the official web site;
Good idea
> Putting cursor near } should show corresponding { and vice versa;
Suposition : this seems to be a feature comming from standard editors with no outlining capabilities, and in this context, this feature is to overcome the lack of this functionality. With a well outlined document, the content of each pan is small enought to make this feature unuseful.
> In preferences -> User Tools $(variablename) should be available not only for arguments but also for command name.
Good idea (I got it with my personal version)
Feeling : it seems to me that your are expecting CodeBrowser to be it is not. To have the best CodeBrowser experience, think CodeBrowser :p
Yannick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Bugs:
1) File -> Files... causes segfault.
2) Even in Configurations -> Default "word-wrap = true" when a new file is opened word-wrap is not selected.
Now the features.
First the most important features this editor is missing:
1) There *MUST* be an option to move the separator between panes (or at least an option to choose the size of the panes in config file) and the size of the panes should be remembered;
2) There *MUST* be an option to view the line numbers.
Now other not so important features:
1) settings should be written to configuration file when they are chosen in the menu;
2) session saving - it should remember the files that were opened;
3) Option to combine various views;
4) Close buttons on tabs;
5) Option to rename tabs;
6) Clicking on a folder/link with mouse wheel (3rd mouse button) should open target in New tab;
7) Documentation should be also available in the official web site;
8) Putting cursor near } should show corresponding { and vice versa;
9) In preferences -> User Tools $(variablename) should be available not only for arguments but also for command name.
And one more: the name of the tab when opening target in new tab should be the same as the Identifier of the target.
...And the window size should be saved too.
* Bug 1
If you get a seg fault, I guess you're not using the Windows version,
but can you give me more information to help me reproducing the bug:
- is it a Linux 32 bit or 64 bits ?
- which GTK+ version are you using ?
- is it just when opening the window ?
- do you have files opened ?
* Bug 2
Not a bug: the 'Default' configuration applies to a file where no other
configuration matches. For instance, if you open a C or C++, the 'cpp'
configuration is used instead and this configuration forces the
word-wrapping option to false but it can be changed.
1) Ubuntu 7.10 32bit;
2) Gnome 2.20.1;
3) Tried with one, few and no files opened. It segfaults all the time.
My comments on these features:
1) Resizeable panes: it's in my todo list, but not a priority.
2) Line numbers feature is not planned
1) Not possible because there is multiple configuration files. Word wrapping is in the menu to quickly switch wrapping without affecting the global settings, so it is the intended behavior.
2) A beta version is available from the SVN repository.
3) Do you mean tiling windows ? it is in my todo list.
4) This feature is not supported by the standard (Windows) notebook. I won't re-implement a notebook just for this feature.
5) What's the use ? the tab is the name of the toplevel file.
6) Under Xwindow, the third mouse button is to paste the primary selection. But it is a feature I thought to implement using the CTRL+dbl click.
7) It would be nice but I don't want to spend time on it since nobody reads documentations ;-)
8) It's in my list, but currently, you get the matching (, { and ['s with the 'Go to matching bracket' command (CTRL-]).
9) Yes, but do you have an example where it could be useful.
1) Strange, that one of the most requested features is not a priority.
1) Is there any way to enable word wrapping by default for all the languages? Now, if I work with multiple languages, I have to specify word wrapping for every language I use separately.
2) No, I mean combining different views from view menu.
7) You already provide html file for this with source files, so that shouldn't cause much trouble, I guess. And you think people don't read docs? People don't seem to be able to find them. Just take a look at the comments in gnomefiles.org:
"However, I am completely baffled as to how to get codebrowser to do the same thing for my cpp. Do I have to include any special syntax for it to do its magic?"
"i really don't get it.. how does this work? if i give multiple files as cmd argument it just opens them. there are no linkings between them. this way it just looks like an other text editor with language highlighting. and not a "source code browser". so i still have to stick to eclipse and cbrowser"
8) I think my way of doing this is still better.
9) At first I thought it could be used to execute newly compiled executables, but now I use gnome-terminal -x program_name .
All configurations inherits their word-wrap attribute from the
default configuration except x86, cpp and tex. To change globally the word-wrap
flag, you can append the following lines to your config file:
configurations.x86.word-wrap = %(configurations.default.word-wrap)
configurations.cpp.word-wrap = %(configurations.default.word-wrap)
configurations.tex.word-wrap = %(configurations.default.word-wrap)
Now you just have to change the word-wrap flag of the default configuration
to change it for all configurations.
***
I still don't understand: what kind of views do you want to combine ?
> There *MUST* be an option to move the separator between panes
> (or at least an option to choose the size of the panes in config file)
> and the size of the panes should be remembered;
There is actually multiple possible views, so view size would need to be defined per view, and as proportional sizes, beceause the global window size may vary it self. Well, why not ...
> There *MUST* be an option to view the line numbers.
Well, as it is an outlining editor, it would be difficult to guess to what line numbering should be respective. Image you got a document, with let say, 5 nesting level of outline. Line numbering could apply to the actual pan (level #(), as well as to levels #4 to #1.
Perhaps you should explain why you need it (the reason we need one thing is far more important than the request for the thing it self). If you need it for tool which returns line numbers, you have to know that the external tools interface already handle line number and can display a log pan with link to document locations in respect to what was returned by the external tool.
> settings should be written to configuration file when they are chosen in the menu;
What settings ? There is already a configuration file.
session saving - it should remember the files that were opened;
This is common in many applications indeed, but it is, in my humble opinion, a kind of functionality which shlould be the one of the working environnement. Imagine if desktop would not exist, then I do not think this would be a good idea to request for every application to provide a desktop.
You can use windows link with application path and document location as application command line parameter or use script if you are running linux.
Or else, you can have a main *.cbi file, with a link to different subfolder containing links to each of your cession/project.
> Option to combine various views;
Exemple would have been welcome.
> Close buttons on tabs;
There is the escape key to close tabs, and it is far more faster than clicking on a very small button with the mouse.
> Option to rename tabs;
Just rename the file (tab name is given from the file name it actually display, and change every time you move from one file to another)
6) Clicking on a folder/link with mouse wheel (3rd mouse button) should open target in New tab;
A Crl-K + moving to the link with cursor is very fast too, and is ok for the majority of peoples who do not use the third mouse button to click. In the other hand, this is fesable.
> Documentation should be also available in the official web site;
Good idea
> Putting cursor near } should show corresponding { and vice versa;
Suposition : this seems to be a feature comming from standard editors with no outlining capabilities, and in this context, this feature is to overcome the lack of this functionality. With a well outlined document, the content of each pan is small enought to make this feature unuseful.
> In preferences -> User Tools $(variablename) should be available not only for arguments but also for command name.
Good idea (I got it with my personal version)
Feeling : it seems to me that your are expecting CodeBrowser to be it is not. To have the best CodeBrowser experience, think CodeBrowser :p
Yannick