Difference between revisions of "User talk:Mariocup"

From Code::Blocks
Line 18: Line 18:
 
==Scope for Search==
 
==Scope for Search==
 
Add filter for searching with: Class/Struct, Union, Enumeration, Typedef, Function, Method, Variable, Namespace, Comments --[[User:Mariocup|Mariocup]] 11:38, 13 March 2008 (CET)
 
Add filter for searching with: Class/Struct, Union, Enumeration, Typedef, Function, Method, Variable, Namespace, Comments --[[User:Mariocup|Mariocup]] 11:38, 13 March 2008 (CET)
 +
 +
==Insert Class method Declaration/Implementation==
 +
The context menu in the editor Insert/Class method declaration/implementation shows the list of classes etc. but lacks of the ability of filter mechanism while typing text text like it is available for Goto File or Goto Function.--[[User:Mariocup|Mariocup]]
  
 
==Window docking==
 
==Window docking==

Revision as of 20:09, 9 April 2008

Editor Improvements

Resize editor window

A double click on a tab of an opened file should enlarge the editor window, and put the Log & Others and the management panel (F2 and Alt+F2) in the background. If you double click again on the tab, the window will be resized to the original size and the panels are visible again.--Mariocup 11:38, 13 March 2008 (CET)

Icons in the Management window

If you want to switch the different views in the management window you have to scroll, the tabs (projects, symbols, Files etc.). It would be easier for the user to have different icons like (http://kile.sourceforge.net/showscreenshot.php?id=2) in the margin to switch between the views. If you select e.g. the project icon then the project view will appear. Clicking again on the same icon will collapse the project view.--Mariocup 11:38, 13 March 2008 (CET)

Save copy as

Sometimes user want to make a backup of files or want to save a copy at a different location. Therefore a menu save copy as could be useful.--Mariocup 11:38, 13 March 2008 (CET)

Clipboard History

Editors like vi or Jedit offer clipboards for copy and paste. The user can select in which register is put the content of the clipboard and can paste the content of one of the buffer/register.--Mariocup 11:38, 13 March 2008 (CET)

Search Dialog

The Thread Search dialogue should be added also to the normal search dialogue.--Mariocup 11:38, 13 March 2008 (CET)

Scope for Search

Add filter for searching with: Class/Struct, Union, Enumeration, Typedef, Function, Method, Variable, Namespace, Comments --Mariocup 11:38, 13 March 2008 (CET)

Insert Class method Declaration/Implementation

The context menu in the editor Insert/Class method declaration/implementation shows the list of classes etc. but lacks of the ability of filter mechanism while typing text text like it is available for Goto File or Goto Function.--Mariocup

Window docking

Docking/Undocking of windows in CB with split view (See patch of dmoore for detaching CB windows).--Mariocup 11:38, 13 March 2008 (CET)

Incremental Search

The search for a word will be highlighted within the text. All occurences should be highlighted.--Mariocup 11:38, 13 March 2008 (CET)

Show value of defines

For embedded developing often defines are used for bit masks. So it would be helpful if the user puts the cursor over a define and CB will hover the value of the define.--Mariocup 11:38, 13 March 2008 (CET)

Wrap Mode

If a text is wrapped in several lines (wrap mode) and the cursor is between these lines, then the Home-key will put the cursor in beginning of the first line instead of the start of the current line. This behaviour should be changed.--Mariocup 11:38, 13 March 2008 (CET)

Convert Tab to spaces and vice versa

If you mark a text in the editor and select the context menu, then tabs will converted to spaces within the selection.--Mariocup 11:38, 13 March 2008 (CET)

Project Management

Setting Defines

For example if a source file contains different #ifdef constructs, sometimes the user wants to toggle setting or unsetting of a define. This could be done either with introducing a comment character in the compiler define dialogue or using a split view window, where one column could be for setting a define and a second column for unsetting a define. The status of a define could be move between the columns by an arrow.

Assembler Options

If you select the properties->Advanced option of an assembler file and click "Use custom build command" then per default "$compiler $options $includes - c $file -o $object" should appear.

Checkbox for Prebuilt and Postbuilt Steps

If you are using different postbuilt steps e.g. conversion of executable to a hex-file and followed by a build steps for flash programming it would be desirable either to have a a comment character for disabling postbuilt steps or introducing checkbox for selecting different post built steps.

Environment per build target

E.g. you want to use different compiler version for two build targets. The compiler is parametrise in the toolchain executable as an environment variable GNUGCC that points to different MinGW compiler versions. This could be realised when configurations of environment variables could be assigned for each build target.

File Explorer in CB

The file explorer (dmoore) and its shell extension can be used for flexible tasks like integrating Subversion support with gsvn or TortoiseSVN, diffing files etc. It should be integrated in Codeblocks.

Block Select Mode

Currently CodeBlocks supports only the selection and copy in block mode (ALT) but cannot paste the content in this mode. This features is useful for changing the content of columns in an array.

Aspell

Integrate Aspell as spell checker as CodeBlocks may be used as text editor too.

Linker Settings

If you link different libraries that contain cylic references, then the linker will issue an error. To solve the problem you can surround the library list by

--start-group <liste libs> --end-group

Could be nice to have a checkbox in the Linker settings that will provide this command.

Embedded

Add new tabs in the project settings for setting a predefined list of assembler and linker options (like in the compiler tab).

Extension Points for options

Add mechanism to lock inconsistent selection of compiler, assembler or linker options. E.g. if one march= is selected other march= should be disabled and issue a warning.

Occlusion highlight

/index.php?topic=7768.msg58463;topicseen#new (Ceniza)

Symbol-Browser

The scope of the search in the symbol browse should depend on the user selection Global Functions, Global Variables, Defines etc.

Show Call Hierarchy

Show tree view of the called function and functions that were called before and after it.

Debugger Console

Integrate a gdb Debugger Console in CodeBlocks.

Hardware Breakpoint

For embedded programming it is required to add so called hardware breakpoints. To do that gdb settings set only-use-hw-breakpoints 1 are required. These breakpoint should have a different color. Additional it could be a nice feature to be able to disable and enable existing breakpoints.

Interrupt and Resume Debugger

Add button for interrupting and resume in the Debugger.

Section Browser

In the gdb console the command "i file" will display the names of the output sections with start and end address. This information could be displayed in a tree view and by selecting the name of the output section you can navigate between sections. This could be useful to set breakpoint in different sections.

Symbol View in Debugger

In some debuggers the symbols of an object (e.g. including startup code) are extracted and displayed in the symbol view. To get a clear view this view should provide a search dialogue and a filter mechanism for display the symbols.

Mixed Mode

Provide a context menu to get a mixed mode (source code and assembler output) in debug mode. This should be possible for alle files within a project. In this view the user can set breakpoints in the assembler lines.

The display in mixed mode can be achived with the use of the GDB/MI interface (see gdb Manual gdb/mi Command Syntax): Since gdb 6.1 the debugger can perform mi command with the use of interperter-exec command.

interpreter-exec mi "-data-disassemble -f main.cpp -l 2 -- 1"

The passing of --0 or --1 will provide information for mixed mode if it is parsed.

Tabbed View

The windows of breakpoint, variables etc. should dockable in a tabbed view.

Multiple Watch Windows

In complex application with many watches the windows becomes unclear, since that a search function in the watch window would be cool. In addition it is diserable to have multiple watch windows to group some variables in "categories". The name of the watch windows should be editable.

Write Access to Register, Memory

Sometimes it is necessary to modify controller registers of values in the memory, therefore the memory and register view should provide a feature modify he content.

Special Function Register

Architectures like PowerPC or TriCore have tousands of Special Functions Registers, which are not convenient to display them in the debugger. A browse dialogue for special funcions registers would simplify life.

Multiple Debugger Instances

In embedded applications it is necessary to debug different projects (AVR, PowerPC etc.) simultaneously. For this reason the debugger mustn't be stopped when switching between projects.

Memory Consumption

A bar/gauge view of the allocated memory in different output sections.

Squirell Debug

Squirell scripts provide a simple mechanism to add functionality to CodeBlocks. The possibility to debug these scripts in CodeBlocks would be nice.