joyride

alpox 2023-05-05T09:22:26.863449Z

Thanks to joyride I now have keyboard shortcuts to easily move to the template, script and style part of .vue files 🎉 thanks for making joyride!

1
pez 2023-05-05T09:25:08.711269Z

Please consider adding it as an example on the Joyride repository.

alpox 2023-05-05T09:33:44.580399Z

If I find the time I can prepare a PR the next days.

alpox 2023-05-05T09:40:34.020929Z

Curently I have 4 scripts - 1 for each of the 3 different keyboard shortcuts and 1 script with common functionality. Is there a way to pass extra arguments to scripts invoked through joyride.runUserScript? If so I could combine it all into 1.

pez 2023-05-05T10:56:46.664419Z

What I usually do is to require my functions in the user activation script and then use the command joyride.runCode to call those functions. There’s an example here: https://github.com/BetterThanTomorrow/joyride/tree/master/examples#lookup-current-symbol-in-clojuredocs

alpox 2023-05-05T11:44:37.782639Z

Ah, perfect. Thanks 🙂

alpox 2023-05-05T11:45:10.133479Z

Sidenote: The link to User activation.cljs and .joyride/scripts/clojuredocs.cljs are broken - probably these files don’t exist anymore. If you’d like I can create an issue after lunch

pez 2023-05-05T11:56:57.390839Z

Please do!