Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Major CVS codebase changes

<< < (4/6) > >>

takeshimiya:
An export command from Visual C++ 2005 gives this:

<DefaultShortcuts>
    <RemoveShortcut Command="Window.PreviousToolWindowNav" Scope="Global">Shift+Alt+F7</RemoveShortcut>
    <Shortcut Command="Build.BuildSolution" Scope="Global">F7</Shortcut>
    <Shortcut Command="Build.RebuildSolution" Scope="Global">Ctrl+Alt+F7</Shortcut>
    <Shortcut Command="Debug.Breakpoints" Scope="Global">Alt+F9</Shortcut>
    <Shortcut Command="Debug.CallStack" Scope="Global">Alt+7</Shortcut>
    <Shortcut Command="Debug.Disassembly" Scope="Global">Alt+8</Shortcut>
    <Shortcut Command="Debug.Locals" Scope="Global">Alt+4</Shortcut>
    <Shortcut Command="Debug.Memory1" Scope="Global">Alt+6</Shortcut>
    <Shortcut Command="Debug.Processes" Scope="Global">Ctrl+Shift+Alt+P</Shortcut>
    <Shortcut Command="Debug.Registers" Scope="Global">Alt+5</Shortcut>
    <Shortcut Command="Debug.Watch" Scope="Global">Alt+3</Shortcut>
    <Shortcut Command="Edit.BriefBrowse" Scope="Global">Alt+G</Shortcut>
    <Shortcut Command="Edit.ClearBookmarks" Scope="Global">Ctrl+Shift+F2</Shortcut>
    <Shortcut Command="Edit.FindSymbol" Scope="Global">Ctrl+Shift+Y</Shortcut>
    <Shortcut Command="Edit.FormatSelection" Scope="Global">Alt+F8</Shortcut>
    <Shortcut Command="Edit.GoTo" Scope="Global">Ctrl+G</Shortcut>
    <Shortcut Command="Edit.GoToDeclaration" Scope="Global">Ctrl+Alt+F12</Shortcut>
    <Shortcut Command="Edit.GoToNextLocation" Scope="Global">F4</Shortcut>
    <Shortcut Command="Edit.GoToPrevLocation" Scope="Global">Shift+F4</Shortcut>
    <Shortcut Command="Edit.GoToReference" Scope="Global">Shift+F12</Shortcut>
    <Shortcut Command="Edit.IncrementalSearch" Scope="Text Editor">Ctrl+I</Shortcut>
    <Shortcut Command="Edit.LineCut" Scope="Global">Shift+Alt+L</Shortcut>
    <Shortcut Command="Edit.ListMembers" Scope="Global">Ctrl+Alt+T</Shortcut>
    <Shortcut Command="Edit.NextBookmark" Scope="Text Editor">F2</Shortcut>
    <Shortcut Command="Edit.PreviousBookmark" Scope="Global">Shift+F2</Shortcut>
    <Shortcut Command="Edit.ReverseIncrementalSearch" Scope="Text Editor">Ctrl+Shift+I</Shortcut>
    <Shortcut Command="Edit.ToggleBookmark" Scope="Global">Ctrl+F2</Shortcut>
    <Shortcut Command="Edit.ViewWhiteSpace" Scope="Global">Ctrl+Shift+8</Shortcut>
    <Shortcut Command="File.Rename" Scope="Global">F2</Shortcut>
    <Shortcut Command="Help.DynamicHelp" Scope="Global">Ctrl+F1</Shortcut>
    <Shortcut Command="Project.Properties" Scope="Global">Alt+F7</Shortcut>
    <Shortcut Command="View.BrowseNext" Scope="Global">Ctrl+Num +</Shortcut>
    <Shortcut Command="View.BrowsePrevious" Scope="Global">Ctrl+Num -</Shortcut>
    <Shortcut Command="View.CodeDefinitionWindow" Scope="Global">Ctrl+Shift+V</Shortcut>
    <Shortcut Command="View.DocumentOutline" Scope="Global">Ctrl+Alt+D</Shortcut>
    <Shortcut Command="View.FindSymbolResults" Scope="Global">Ctrl+Alt+Y</Shortcut>
    <Shortcut Command="View.Output" Scope="Global">Alt+2</Shortcut>
    <Shortcut Command="View.PopBrowseContext" Scope="Global">Ctrl+Num *</Shortcut>
    <Shortcut Command="View.PropertiesWindow" Scope="Global">Alt+Enter</Shortcut>
    <Shortcut Command="View.ViewCode" Scope="Global">Ctrl+Alt+0</Shortcut>
    <Shortcut Command="View.ViewDesigner" Scope="Global">Shift+F7</Shortcut>
    <Shortcut Command="Window.ActivateDocumentWindow" Scope="Global">Alt+0</Shortcut>
    <Shortcut Command="Window.MovetoNavigationBar" Scope="Global">Ctrl+F8</Shortcut>
</DefaultShortcuts>


Which lends me to think: We can have importers from popular IDEs of all settings as much as we can (pretty much Firefox imports bookmarks).

killerbot:
note that for MS Visual Studio, 2 major set of commans exist.

The Visual Studio 6 set (example : build == F7). An then MS had to change it off course when the first .NET came out (example : build == ctrl-shift-b), now in those newer .NET versions you could always switch back to the VC6 command layout. So I think the VC6 layout I used the most; but people who started using MS VC for the first time after .NET versions where out, probably use the .NET layout since they did not need to keep an existing way of using.



Lieven

mandrav:

--- Quote ---Funnily, that also means that you need HEAD from yesterday to build HEAD from today. Any other version will not work until the other projects gets updated
--- End quote ---

Well, you *could* edit the NewBuild file and change the global vars used in compiler/linker options to normal vars...


--- Quote ---Now comes the part of updating contrib plugins to the new ConfigManager
--- End quote ---

I said it before, I 'll say it again:
all codebase hase been updated to use the new ConfigManager. This includes the core sdk and app, the core plugins and the contrib plugins.


--- Quote ---If there is some easy way to export it, I can prepare keyboard scheme of Dev-C++ and Borland Builder. If just a list "action - key(s)" is enough, that's ok too.
--- End quote ---

The scheme is saved in <config>/keys.conf, where <config> is ~/.codeblocks for unix or "Documents And Settings/<username>/Application Data/codeblocks" for XP.

thomas:
Another thing we forgot to mention is that there is some documentation out for using global user/compiler variables now:
http://wiki.codeblocks.org/index.php/Global_compiler_variables

There are still two known bugs:
1. The name sucks, and it is confusing, too. There are actually two names for the very same thing! When first implementing the feature, I could not think of anything better than "global user variables" since they are tied to the user profile instead of the project. Eventually, someone came up with "global compiler variables", which sounds nice, too. And the difference was so subtle that nobody noticed, either. Since then, both names have been used interchangeably. The WiKi has redirect pages so that you get a hit no matter what you search for. ;)
2. The edit dialog has a bug when deleting keys. It used not to reload properly when deleting a key - I fixed that and now it sometimes does not properly delete keys :lol:. I'll look into it during the next couple of days.

Apart from the above GUI bit, we have been using global user variables daily for weeks without ever seeing a problem, so it is probably safe to assume that they work reliably. You cannot compile HEAD without using GCVs anyway, so you can as well use it officially ;)

squizzz:
@thomas: while trying to make Dev-C++ bindings, I've found few little glitches in keyboard shortcuts functionality:

1) it doesn't support combination like ctrl+.  (Dev-C++ uses "ctrl+." it to "comment code")

2) some functionality of C::B is not on the list (although it has shortcuts), presumably because these features are not listed in pull-down menus. these are:
* indent / unindent block of code (tab / shift + tab)
* zoom in / zoom out (ctrl + numplus / ctrl + numminus)

3) adding shortcut to "goto function" seem to always crash C::B.

4) "find in files" - is this possible to have a separate menu entry + shortcut for this? (ie. not the shared one with "find")

Regards,

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version