How to reload the downloadable shoe app after making changes to the source code?

I would like to start messing around with Shoes . There is one thing that I cannot understand. How to restart the "Current Shoes" application after saving changes in the source code? I already found hotkeys for opening help, console and a new application.

It seems strange to me that the developer will be forced to close and restart the Shoes app every time a change is made. For a development environment that prides itself on being web-like, where is the corresponding β€œF5 key” located?

Perhaps I missed something or was looking for the wrong place.

+4
source share
1 answer

There is currently no such shortcut. Only three shortcuts to which you refer are mentioned in the documentation (alt + slash for the console, alt + question for reference and alt + period for a new application), and indeed, the code contains only these shortcuts. Indeed, shoes/app.c has the following lines:

 shoes_code shoes_app_keypress(shoes_app *app, VALUE key) { if (key == symAltSlash) rb_eval_string("Shoes.show_log"); else if (key == symAltQuest) rb_eval_string("Shoes.show_manual"); else if (key == symAltDot) rb_eval_string("Shoes.show_selector"); else shoes_canvas_send_keypress(app->canvas, key); return SHOES_OK; } 

In other words, three well-known shortcuts are captured and processed specially, while any other keystroke is sent to the corresponding application.

However, it may be possible to write your own β€œwrapper” that will accomplish your desired task.

+3
source

All Articles