
Winhugs seems to have some shortcut keys, like F5 for run. It does not seem to have shortcut keys for reload, edit, etc... These would be really handy. It is possible to customize the shortcuts assigned to the commands? If not, can it be build from source? Thanks, Peter

Hi Peter,
It does not seem to have shortcut keys for reload, edit, etc...
When do you use reload? WinHugs automatically reloads modified files, so I've never felt the need to reload things. Similarly for edit, typing just edit on its own isn't that useful unless you give it a module. However, I'm not averse to including more shortcuts - its relatively easy and if it is of benefit to you, I'm happy to do so.
These would be really handy. It is possible to customize the shortcuts assigned to the commands?
If not, can it be build from source?
It can be built from source, but the libraries changed slightly, so a new build from source won't work with the existing WinHugs packages libraries. Building the libraries is much more tricky and requires mingw. You can report bugs from http://hackage.haskell.org/trac/hugs - so if you do want some shortcuts, say what you want a particular key to do, and I'll include it for the next release. Thanks Neil

Hi Neil, This is so silly, I just switched from Helium to WinHugs and did not realize it performed automatic reloading. As Helium provides shortcut keys for reload and edit, I just got confused. I should have RTFM! Automatic reloading is of course THE best solution, and that's already in :-) Maybe it could help new users to display a simple message into the WinHugs statusbar like "module XXX reloaded after external modification at HH:MM:SS) or something? But that's really minor. Cheers, Peter

Hi Peter,
Automatic reloading is of course THE best solution, and that's already in :-) Maybe it could help new users to display a simple message into the WinHugs statusbar like "module XXX reloaded after external modification at HH:MM:SS) or something? But that's really minor.
That would be neat. There has also been a suggestion to display the message "file modified but not reloaded" if auto-reloading is turned off. These things are in the same area, so when I take a look at it I'll see what I can do. The code does seem rather crufty though... Thanks Neil
participants (2)
-
Neil Mitchell
-
Peter Verswyvelen