Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-03

the new menu "source"

31 messages · 11 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin

I mentioned some of this before, but I did so along with many other points, and the other points where more like ideas and not so important.

At the moment, a few of the menu items (of those that did get moved) are definitely misplaced.

A source menu suggests that items in there are either specific actions *only* available to source (implies pascal, since Lazarus is a pascal IDE); or at the very least items that have very little exceptions from this "only" rule.

Items that are correct in the source menu:
- comment/uncomment/toggle comment
- insert ifdef
- insert todo
- message composer (isn't that actually a tool?)

items that one could get away with:
-"insert ... license". Though some licenses may apply to none source too? (I haven't checked)
same for insert...cvs => any file can be in cvs

Items that definitely do not belong there:
- insert from char map
- upper/lower selection
- tabs to spaces / spaces to tab
- indent selection (this does no source specific indent, the indent works the same for all kind of files)
- break lines
- sort selection (Imho rather unlikely on source, far more likely on data like ini files...)

For those last items I can find absolutely nothing, that connects them with "source"

Martin

Reply by email

Juha Manninen
to Martin

Martin kirjoitti perjantai 11 maaliskuu 2011 23:24:31:

[...] Items that definitely do not belong there: - insert from char map

Yes, first I thought that all the "Insert ..." items should be in one place but actually they could be split. I will look at it.

Show quoted text 10 lines
- upper/lower selection - tabs to spaces / spaces to tab - indent selection (this does no source specific indent, the indent works the same for all kind of files) - break lines - sort selection (Imho rather unlikely on source, far more likely on data like ini files...) For those last items I can find absolutely nothing, that connects them with "source"

Please update to a newer trunk version.
They have been in Edit menu already for some days.

Message Composer actually inserts the composed message to source. It belongs to Source menu quite naturally.

I was thinking if JEDI code format belongs there because it has many sub- items. It is only affecting the source though.

Juha

Reply by email

Martin
to Juha Manninen
Juha Manninen wrote 11 lines
Martin kirjoitti perjantai 11 maaliskuu 2011 23:24:31: > [...] > Items that definitely do not belong there: > - insert from char map Yes, first I thought that all the "Insert ..." items should be in one place but actually they could be split. I will insert ones aren't to much trouble (though char map, should move back). > - upper/lower selection > - tabs to spaces / spaces to tab > - indent selection (this does no source specific indent, the indent > works the same for all kind of files)

I'd still say indent should go back, but not a big issue.

Please update to a newer trunk version. They have been in Edit menu already for some days.

My apologies... I thought I had, but either I updated the wrong directory, or something else failed....

Yeah much better now

Message Composer actually inserts the composed message to source. It belongs to Source menu quite naturally.

with jcf moved, yes.

I was thinking if JEDI code format belongs there because it has many sub- items. It is only affecting the source though.

+1

Great work.

Reply by email

Juha Manninen
to Martin

Martin kirjoitti lauantai 12 maaliskuu 2011 03:06:48:

I'd still say indent should go back, but not a big issue.

I moved items in main menu some more.
I also added Source sub-menu to the editor's popup menu and reorganized the items as in main menu. IMO It is quite good now.

Delphi 2009 has about the same number of menu items as Lazarus now. The biggest difference is now the Source menu which Delphi doesn't have. Source menu is implemented by some other IDEs and was suggested for Lazarus by Mattias. It seems to be a useful menu, although often it is difficult to tell if an item belongs to Edit, Source or Refactor menu.

Eclipse has Source menu but otherwise I would not follow many or their inventions. For example they have Run -> External Tools. It is logical somehow but not intuitive. It takes time to find it.
Then they have Window -> Preferences. Why Window?
Some of their GUI design looks odd and shows it is made by different people with different ideas. That is a problem with any open source project of course.

Juha

Reply by email

Martin
to Juha Manninen: Martin kirjoitti lauantai 12 maaliskuu 2011 03:06:48: I moved items in main menu some…
Juha Manninen wrote 5 lines
Martin kirjoitti lauantai 12 maaliskuu 2011 03:06:48: > I'd still say indent should go back, but not a big issue. I moved items in main menu some more. I also added Source sub-menu to the editor's popup menu and reorganized the items as in main menu. IMO It is quite good now.

looks great,

minor ideas:

I would change some ordering. e.g

Indent/unindent block: currently come after upper/lowercase sleection. I would move them to the top of that particular menu-section. That is ...
------
Indent selection
Unindent selection
Uppercase Selection
....

I believe there are more often used (and more often looked for) than the upper/lower entries. So they should be first. And also items right after the divider, are more outstanding, easier to find.

just my 2 cents (another 2 cents from me)

Martin

Reply by email

Jesus Reyes
to Juha Manninen: Martin kirjoitti lauantai 12 maaliskuu 2011 03:06:48: I moved items in main menu some…

--- El mi? 16-mar-11, Juha Manninen escribi?:

Show quoted text 23 lines
De: Juha Manninen Asunto: Re: [Lazarus] the new menu "source" A: "Lazarus mailing list" Fecha: mi?rcoles, 16 de marzo de 2011, 4:56 Martin kirjoitti lauantai 12 maaliskuu 2011 03:06:48: > I'd still say indent should go back, but not a big issue. I moved items in main menu some more. I also added Source sub-menu to the editor's popup menu and reorganized the items as in main menu. IMO It is quite good now. Delphi 2009 has about the same number of menu items as Lazarus now. The biggest difference is now the Source menu which Delphi doesn't have. Source menu is implemented by some other IDEs and was suggested for Lazarus by Mattias. It seems to be a useful menu, although often it is difficult to tell if an item belongs to Edit, Source or Refactor menu.

Having "source" and "refactor" menus is IMO too much, why not insert Refactor menu as a submenu of Source menu.

Taking a look at the sub-menus refactor menu offer, most useful actions are the first three, which can be invoked by shortcut (and that is probably what everybody does while editing the code). So why it needs such prominent place in Main menu?

Another drawback is that refactor translates to refactorizaci?n in spanish, too long word and when you don't have a wide monitor or simply don't want IDE main form maximized, every pixel counts.

Show quoted text 12 lines
Eclipse has Source menu but otherwise I would not follow many or their inventions. For example they have Run -> External Tools. It is logical somehow but not intuitive. It takes time to find it. Then they have Window -> Preferences. Why Window? Some of their GUI design looks odd and shows it is made by different people with different ideas. That is a problem with any open source project of course.

Jesus Reyes A.

Reply by email

Žilvinas Ledas
to Jesus Reyes

Hello all,

Jesus Reyes wrote 21 lines
--- El mi? 16-mar-11, Juha Manninen escribi?: > De: Juha Manninen > >> I'd still say indent should go back, but not a big > issue. > > I moved items in main menu some more. > I also added Source sub-menu to the editor's popup menu and > reorganized the > items as in main menu. IMO It is quite good now. > > Delphi 2009 has about the same number of menu items as > Lazarus now. > The biggest difference is now the Source menu which Delphi > doesn't have. > Source menu is implemented by some other IDEs and was > suggested for Lazarus by > Mattias. It seems to be a useful menu, although often it is > difficult to tell if > an item belongs to Edit, Source or Refactor menu. Having "source" and "refactor" menus is IMO too much, why not insert Refactor menu as a submenu of Source menu.

I second that.

And another observation - wouldn't it be better to have simpler shortcut for "Rename identifier"? e. g. MonoDevelop uses F2 (as Windows uses it to rename a file).

Regards
?ilvinas

Reply by email

Juha Manninen
to Žilvinas Ledas

?ilvinas Ledas kirjoitti keskiviikko 16 maaliskuu 2011 22:29:14:

Hello all, On 2011-03-16 21:02, Jesus Reyes wrote:

[..]

> Having "source" and "refactor" menus is IMO too much, why not insert > Refactor menu as a submenu of Source menu. I second that.

The idea is to have more refactor items in the future. Then it makes more sense to have a menu for it.

The length of main menu can be a problem with translated caption texts because there are so many items now.
At least Environment menu will be merged with Tools menu when the remaining setting dialogs are integrated to Options dialog. It helps a bit.

And another observation - wouldn't it be better to have simpler shortcut for "Rename identifier"? e. g. MonoDevelop uses F2 (as Windows uses it to rename a file).

Good idea. Delphi uses Ctrl-Shift-E. Does it use F2 for anything? Lazarus ClassicScheme mapping has F2 for Save file but ClassicScheme is not used. The default mapping had F2 free so I assigned it to "Rename identifier" as an alternative shortcut. Both work now.

Juha

Reply by email

Žilvinas Ledas
to Juha Manninen
Juha Manninen wrote 7 lines
The idea is to have more refactor items in the future. Then it makes more sense to have a menu for it. The length of main menu can be a problem with translated caption texts because there are so many items now. At least Environment menu will be merged with Tools menu when the remaining setting dialogs are integrated to Options dialog. It helps a bit.

Ok, I understand. It as a WIP ;)
Either way - these menu rearrangements are good!

> And another observation - wouldn't it be better to have simpler shortcut > for "Rename identifier"? e. g. MonoDevelop uses F2 (as Windows uses it > to rename a file). Good idea. Delphi uses Ctrl-Shift-E. Does it use F2 for anything?

Sorry, can't help you with that. I do not use Delphi for a few years now.

Lazarus ClassicScheme mapping has F2 for Save file but ClassicScheme is not used. The default mapping had F2 free so I assigned it to "Rename identifier" as an alternative shortcut. Both work now.

Great, thanks!

Regards
?ilvinas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110316/17b7caa7/attachment.html>

Reply by email

William Oliveira Ferreira
to Juha Manninen: ?ilvinas Ledas kirjoitti keskiviikko 16 maaliskuu 2011 22:29:14: [..] The idea is to have…

On Turbo Delphi (Borland Developer Studio 2006 Free) only works if you select a file on project manager, renaming it.
________________________________
William de Oliveira Ferreira
Bacharel em Sistemas de Informa??o

Good idea. Delphi uses Ctrl-Shift-E. Does it use F2 for anything?

Show quoted text 7 lines
Lazarus ClassicScheme mapping has F2 for Save file but ClassicScheme is not used. The default mapping had F2 free so I assigned it to "Rename identifier" as an alternative shortcut. Both work now. Juha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110316/42cac062/attachment.html>

Reply by email

Graeme Geldenhuys
to Žilvinas Ledas: I second that. And another observation - wouldn't it be better to have simpler shortcut…

Op 2011-03-16 22:29, ?ilvinas Ledas het geskryf:

And another observation - wouldn't it be better to have simpler shortcut for "Rename identifier"? e. g. MonoDevelop uses F2 (as Windows uses it to rename a file).

Brilliant idea! I use shortcuts extensively, but for some reason could never remember the default one for "rename identifier". So I used Shift+F6 - the same shortcut as in Total Commander (also a tool I use often, even under Linux) for renaming files.

F2 is even better. :)

Now only if I can find the time to complete my IDE add-on that allows you to print out your keyboard shortcuts as a reference card.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

zeljko
to Graeme Geldenhuys
Graeme Geldenhuys wrote 14 lines
Op 2011-03-16 22:29, ?ilvinas Ledas het geskryf: > And another observation - wouldn't it be better to have simpler shortcut > for "Rename identifier"? e. g. MonoDevelop uses F2 (as Windows uses it > to rename a file). Brilliant idea! I use shortcuts extensively, but for some reason could never remember the default one for "rename identifier". So I used Shift+F6 - the same shortcut as in Total Commander (also a tool I use often, even under Linux) for renaming files. F2 is even better. :) Now only if I can find the time to complete my IDE add-on that allows you to print out your keyboard shortcuts as a reference card.

Yes, that would be nice thing to have.

zeljko

Reply by email

Alexander Klenin
to zeljko
zeljko wrote 18 lines
On Thursday 17 of March 2011 08:02:16 Graeme Geldenhuys wrote: > Op 2011-03-16 22:29, ?ilvinas Ledas het geskryf: > > And another observation - wouldn't it be better to have simpler shortcut > > for "Rename identifier"? e. g. MonoDevelop uses F2 (as Windows uses it > > to rename a file). > > Brilliant idea! I use shortcuts extensively, but for some reason could > never remember the default one for "rename identifier". So I used > Shift+F6 - the same shortcut as in Total Commander (also a tool I use > often, even under Linux) for renaming files. > > F2 is even better. :) > > Now only if I can find the time to complete my IDE add-on that allows > you to print out your keyboard shortcuts as a reference card. Yes, that would be nice thing to have.

I'd vote for Ctrl+Shift+E:
1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes)
2) IMO F2 is too prominent for this

Alexander S. Klenin

Reply by email

Unknown author
to Alexander Klenin
Alexander Klenin wrote 24 lines
On Thu, Mar 17, 2011 at 17:07, zeljko wrote: > On Thursday 17 of March 2011 08:02:16 Graeme Geldenhuys wrote: >> Op 2011-03-16 22:29, ?ilvinas Ledas het geskryf: >> > And another observation - wouldn't it be better to have simpler shortcut >> > for "Rename identifier"? e. g. MonoDevelop uses F2 (as Windows uses it >> > to rename a file). >> >> Brilliant idea! I use shortcuts extensively, but for some reason could >> never remember the default one for "rename identifier". So I used >> Shift+F6 - the same shortcut as in Total Commander (also a tool I use >> often, even under Linux) for renaming files. >> >> F2 is even better. :) >> >> Now only if I can find the time to complete my IDE add-on that allows >> you to print out your keyboard shortcuts as a reference card. > > Yes, that would be nice thing to have. > I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes) 2) IMO F2 is too prominent for this

It depends on the key mapping. In "classic IDE", F2 means "save file", as it has been since 198X in the old Turbo Pascal IDEs

So F2 is not really a good choice.

Michael.

Reply by email

Sven Barth
to Alexander Klenin: I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at…
Alexander Klenin wrote 23 lines
On Thu, Mar 17, 2011 at 17:07, zeljko wrote: > On Thursday 17 of March 2011 08:02:16 Graeme Geldenhuys wrote: >> Op 2011-03-16 22:29, ?ilvinas Ledas het geskryf: >>> And another observation - wouldn't it be better to have simpler shortcut >>> for "Rename identifier"? e. g. MonoDevelop uses F2 (as Windows uses it >>> to rename a file). >> >> Brilliant idea! I use shortcuts extensively, but for some reason could >> never remember the default one for "rename identifier". So I used >> Shift+F6 - the same shortcut as in Total Commander (also a tool I use >> often, even under Linux) for renaming files. >> >> F2 is even better. :) >> >> Now only if I can find the time to complete my IDE add-on that allows >> you to print out your keyboard shortcuts as a reference card. > > Yes, that would be nice thing to have. > I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes)

There are already differences in the key mappings.

E.g. in Delphi you need to use "Ctrl+Shift+I" to indent a selection while in Lazarus "Ctrl+I" is enough.

If you want the key mappings Delphi compatible, then you should select them that way (maybe a Delphi compatible key configuration can be added for those people).

2) IMO F2 is too prominent for this

That on the other hand might indeed be a valid reason for not using it...

Regards,
Sven

Reply by email

Graeme Geldenhuys
to Unknown author: It depends on the key mapping. In "classic IDE", F2 means "save file", as it has been…

Op 2011-03-17 11:49, het geskryf:

So F2 is not really a good choice.

Well, in the default "Lazarus" key mapping, F2 is undefined, so there is no problem in using it.

Then again, is any key mapping a problem - after all you can customize your key mappings to suite your needs. I know my key mappings are anything but standard, because most default keyboard shortcuts (in any application) are near impossible to type easily with the Dvorak keyboard layout. The world has gone Qwerty crazy! So I remap keyboard shortcuts to what I find easy to type.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Graeme Geldenhuys
to Sven Barth: There are already differences in the key mappings. E.g. in Delphi you need to use…

Op 2011-03-17 12:14, Sven Barth het geskryf:

Show quoted text 5 lines
> I'd vote for Ctrl+Shift+E: > 1) Delphi compatibility (it is importatnt for me at least, at times I > have to switch IDE's every 15 minutes) There are already differences in the key mappings.

As far as I know the Lazarus project only wants LCL to be Delphi compatible, NOT necessarily the Lazarus IDE.

If you want the key mappings Delphi compatible, then you should select them that way (maybe a Delphi compatible key configuration can be added for those people).

Indeed this will be the best choice for those die-hard Delphi fans. Simply use Delphi only, or create a new Delphi IDE key mapping scheme.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Sven Barth
to Graeme Geldenhuys
Graeme Geldenhuys wrote 11 lines
Op 2011-03-17 12:14, Sven Barth het geskryf: >> I'd vote for Ctrl+Shift+E: >> 1) Delphi compatibility (it is importatnt for me at least, at times I >> have to switch IDE's every 15 minutes) > > There are already differences in the key mappings. As far as I know the Lazarus project only wants LCL to be Delphi compatible, NOT necessarily the Lazarus IDE.

And I hope the secord part keeps to be valid ;)

Regards,
Sven

Reply by email

Sven Barth
to Graeme Geldenhuys: Op 2011-03-17 11:49, het geskryf: Well, in the default "Lazarus" key mapping, F2 is…
Graeme Geldenhuys wrote 13 lines
Op 2011-03-17 11:49, het geskryf: > > So F2 is not really a good choice. Well, in the default "Lazarus" key mapping, F2 is undefined, so there is no problem in using it. Then again, is any key mapping a problem - after all you can customize your key mappings to suite your needs. I know my key mappings are anything but standard, because most default keyboard shortcuts (in any application) are near impossible to type easily with the Dvorak keyboard layout. The world has gone Qwerty crazy! So I remap keyboard shortcuts to what I find easy to type.

Seems to be a bit easier for Neo users like me ^^

Regards,
Sven

Reply by email

Mattias Gaertner
to Graeme Geldenhuys: Op 2011-03-17 12:14, Sven Barth het geskryf: As far as I know the Lazarus project only…
Show quoted text 9 lines
Op 2011-03-17 12:14, Sven Barth het geskryf: >> I'd vote for Ctrl+Shift+E: >> 1) Delphi compatibility (it is importatnt for me at least, at times I >> have to switch IDE's every 15 minutes) > > There are already differences in the key mappings. As far as I know the Lazarus project only wants LCL to be Delphi compatible, NOT necessarily the Lazarus IDE.

True.

Lazarus has several key mapping schemes. See options / Key Mappings.

Show quoted text 6 lines
> If you want the key mappings Delphi compatible, then you should select > them that way (maybe a Delphi compatible key configuration can be added > for those people). Indeed this will be the best choice for those die-hard Delphi fans. Simply use Delphi only, or create a new Delphi IDE key mapping scheme.

There is no "Delphi" scheme, because that would only work under Windows and even then some functions are missing or work differently. In other words, calling a key mapping "Delphi" is an invitation for bug reports.
Maybe a mode "almost like Delphi (Windows)" could be added.

I like Graeme's idea of a one/two page short cut view with common keys.

Mattias

Reply by email

Juha Manninen
to Unknown author: It depends on the key mapping. In "classic IDE", F2 means "save file", as it has been…

kirjoitti torstai 17 maaliskuu 2011 11:49:51:

Show quoted text 10 lines
On Thu, 17 Mar 2011, Alexander Klenin wrote: > I'd vote for Ctrl+Shift+E: > 1) Delphi compatibility (it is importatnt for me at least, at times I > have to switch IDE's every 15 minutes) > 2) IMO F2 is too prominent for this It depends on the key mapping. In "classic IDE", F2 means "save file", as it has been since 198X in the old Turbo Pascal IDEs So F2 is not really a good choice.

Ok, the classic theme is not used by default but it can be selected from Options -> Key mappings.
I think it is not compatible with recent Delphis either. Note also that I have NOT changed the classic theme.

In the default theme F2 was not used for anything. IMO the most logical use is to rename a variable. In file managers it is already a standard, on many platforms. This makes it very intuitive. You are in source editor and want to rename -> press F2.

Renaming an identifier is a prominent feature, it deserves a prominent shortcut.

Ctrl+Shift+E still works in default theme, too. The key mapping luckily supports alternative shortcuts.
The only visible difference is that now F2 shows in the menu item caption because I set F2 as the choice number one. If I reverse the order then menu caption shows Ctrl+Shift+E and nobody will notice a difference unless he actually presses F2.

I feel that more default shortcuts should be defined. They don't hurt anybody. And indeed, you can always change the key mapping.

Juha

Reply by email

William Oliveira Ferreira
to Unknown author: It depends on the key mapping. In "classic IDE", F2 means "save file", as it has been…

I like the [F2] idea as I still don't use this function...

...But a Delphi's Like keymapping for don't like sounds like a good idea too...

________________________________
William de Oliveira Ferreira
Bacharel em Sistemas de Informa??o

2011/3/17

Show quoted text 49 lines
On Thu, 17 Mar 2011, Alexander Klenin wrote: On Thu, Mar 17, 2011 at 17:07, zeljko wrote: > >> On Thursday 17 of March 2011 08:02:16 Graeme Geldenhuys wrote: >> >>> Op 2011-03-16 22:29, ?ilvinas Ledas het geskryf: >>> > And another observation - wouldn't it be better to have simpler >>> shortcut >>> > for "Rename identifier"? e. g. MonoDevelop uses F2 (as Windows uses it >>> > to rename a file). >>> >>> Brilliant idea! I use shortcuts extensively, but for some reason could >>> never remember the default one for "rename identifier". So I used >>> Shift+F6 - the same shortcut as in Total Commander (also a tool I use >>> often, even under Linux) for renaming files. >>> >>> F2 is even better. :) >>> >>> Now only if I can find the time to complete my IDE add-on that allows >>> you to print out your keyboard shortcuts as a reference card. >>> >> >> Yes, that would be nice thing to have. >> >> > I'd vote for Ctrl+Shift+E: > 1) Delphi compatibility (it is importatnt for me at least, at times I > have to switch IDE's every 15 minutes) > 2) IMO F2 is too prominent for this > It depends on the key mapping. In "classic IDE", F2 means "save file", as it has been since 198X in the old Turbo Pascal IDEs So F2 is not really a good choice. Michael. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110317/af69d4a4/attachment.html>

Reply by email

Mattias Gaertner
to Juha Manninen: kirjoitti torstai 17 maaliskuu 2011 11:49:51: Ok, the classic theme is not used by…
[...] Renaming an identifier is a prominent feature, it deserves a prominent shortcut.

+1

[...] I feel that more default shortcuts should be defined. They don't hurt anybody. And indeed, you can always change the key mapping.

Note:
If you add a short cut and the user had already assigned the short cut to another function, then the IDE will not warn on loading, but only in the options dialog. What function is executed depends on the internal order.
Please mail the new key combinations to the list
and add them to the list of 0.9.31 changes.

Mattias

Reply by email

Juha Manninen
to Mattias Gaertner

Mattias Gaertner kirjoitti torstai 17 maaliskuu 2011 13:33:01:

Show quoted text 10 lines
> I feel that more default shortcuts should be defined. They don't hurt > anybody. And indeed, you can always change the key mapping. Note: If you add a short cut and the user had already assigned the short cut to another function, then the IDE will not warn on loading, but only in the options dialog. What function is executed depends on the internal order. Please mail the new key combinations to the list and add them to the list of 0.9.31 changes.

Hmmm... The user defined mapping should have a preference. It means that the user may have to redefine his mapping after the defaults are changed.

I have one more menu change coming which merges Environment menu with Tools menu. I also defined Shift+Ctrl+O as a shortcut for "Options ..."

Juha

Reply by email

Alexander Klenin
to Juha Manninen: kirjoitti torstai 17 maaliskuu 2011 11:49:51: Ok, the classic theme is not used by…
Juha Manninen wrote 10 lines
In the default theme F2 was not used for anything. IMO the most logical use is to rename a variable. In file managers it is already a standard, on many platforms. This makes it very intuitive. You are in source editor and want to rename -> press F2. Renaming an identifier is a prominent feature, it deserves a prominent shortcut. Ctrl+Shift+E still works in default theme, too. The key mapping luckily supports alternative shortcuts.

I have no objection as long as Ctrl+Shift+E works ;)

Alexander S. Klenin

Reply by email

Juha Manninen
to Jesus Reyes: --- El mi? 16-mar-11, Juha Manninen escribi?: Having "source" and "refactor" menus is…

Jesus Reyes kirjoitti keskiviikko 16 maaliskuu 2011 21:02:07:

Another drawback is that refactor translates to refactorizaci?n in spanish, too long word and when you don't have a wide monitor or simply don't want IDE main form maximized, every pixel counts.

I merged Environment menu with Tools menu.
I was planning to wait until the separate setting dialogs are gone but maybe it is better change already now.

Note, finally there will be only two items to care about, "Options ..." and "Rescan FPC source directory".
Their location in Tool menu can be discussed of course. Now the idea is to have the external tools first, then the moved Options. Configure Build Lazarus is still the last one.

Other choice is to place Options at the end.
(Or, to the beginning).

Juha

Reply by email

Unknown author
to Juha Manninen: Jesus Reyes kirjoitti keskiviikko 16 maaliskuu 2011 21:02:07: I merged Environment menu…
Juha Manninen wrote 17 lines
Jesus Reyes kirjoitti keskiviikko 16 maaliskuu 2011 21:02:07: > Another drawback is that refactor translates to refactorizaci?n in spanish, > too long word and when you don't have a wide monitor or simply don't want > IDE main form maximized, every pixel counts. I merged Environment menu with Tools menu. I was planning to wait until the separate setting dialogs are gone but maybe it is better change already now. Note, finally there will be only two items to care about, "Options ..." and "Rescan FPC source directory". Their location in Tool menu can be discussed of course. Now the idea is to have the external tools first, then the moved Options. Configure Build Lazarus is still the last one. Other choice is to place Options at the end. (Or, to the beginning).

I would place them at the beginning. It's what I use most except for rebuild lazarus.

Michael.

Reply by email