Complete
over 3 years ago

Working as Designed. Would need to use the menu to restart the app after making a change(s).

VSCode does not recompile to reload... Ctrl+Shift+F5

STEPS TO REPRODUCE

1. Build a project, any project

2. Press F5 to launch in the simulator

3. Insert a line somewhere 

System.println("MY CHANGES");

4. Press Ctrl+Shift+F5 to restart the simulator with your changes

EXPECTED BEHAVIOUR

VSCode should recompile and launch the simulator to reflect the modifications to code... eg: give some purpose to the restart command.

You should then see "MY CHANGES" in the output console...

ACTUAL BEHAVIOUR

VSCode stops and then restarts the simulator without any recompilation, so no changes are seen

@@@
IF THIS IS NOT THE INTENDED BEHAVIOUR OF Ctrl+Shift+F5, THEN PLEASE INSTEAD MAKE THERE A FUNCTION THAT WILL DO THIS!

HOWEVER, I CAN SEE ALMOST ZERO USE FOR RESTARTING WITHOUT REFLECTING CHANGES MADE TO CODE OTHER THAN TO FRUSTRATE AND BEFUDDLE PEOPLE LIKE ME.

@@@

Parents
  • If I want to test a series of code changes, eg: getting the appearance right on something...

    There is currently no single key stroke I can use to achieve that.

    Simply pressing "F5" is no good as it does nothing at all when the simulator is running. I have to formally quit it each time.

    Therefore, I am resorting to Shift+F5 followed by F5 to achieve what I need.

    I'm not saying it's impossible, I'm saying that the current setup leaves me wanting in a way that no other tool I use does.

Comment
  • If I want to test a series of code changes, eg: getting the appearance right on something...

    There is currently no single key stroke I can use to achieve that.

    Simply pressing "F5" is no good as it does nothing at all when the simulator is running. I have to formally quit it each time.

    Therefore, I am resorting to Shift+F5 followed by F5 to achieve what I need.

    I'm not saying it's impossible, I'm saying that the current setup leaves me wanting in a way that no other tool I use does.

Children