I'm hoping for some advice on shortening my workflow cycle when testing new sheetworker code while designing character sheets. I'm
a big fan of Visual Studio, so that's what I use. Unfortunately,
Visual Studio doesn't recognize (or I don't know how to make it
recognize) the <script type="text/worker"> HTML tag as introducing
Javascript, resulting in it being treated as plaintext: So, I'm forced to edit my Javascript code in a separate .js file, and whenever I want to test it, I have to: Ctrl-A, Ctrl-C the Javascript code from the .js file Drag-select the "plaintext" code in the .html file proper (such a pain, honestly) Ctrl-V the new code in Ctrl-A, Ctrl-C the updated .html file Switch to my browser and the Campaign Settings tab Ctrl-A, Ctrl-V the new html code into the HTML tab of the character sheet Save Settings Wait for the settings to save Switch over to the API sandbox (i.e. the "Launch Game" window, in a separate tab) Reload it Wait for it to reload Open up a test character Select the character's sheet Test my changes I
know, the above doesn't look like much. But having to do it a dozen
times (or more) each hour is agonizingly tedious (particularly steps 2, 8
and 11). I would very much appreciate hearing any suggestions to
smooth out my workflow; it will save me a little bit of time but an
immense amount of energy! Very much appreciate your insights!