Hi Greg, Are you suggesting you want a shortcut key to send the line to the terminal, as well as the focus, but not execute it, so you can play with it there?
My suggestion would be to try playing with the line in the editor, sending it to the terminal whenever you're ready to test. The bonus here is that once the line is correct, it is already in the editor and doesn't need to be copied back! Other benefits of writing the code in the editor are that you get code completion (names, brackets, quotes) and syntax highlighting. On Tue, Apr 27, 2021 at 4:42 AM greg heil <[email protected]> wrote: > i would actually prefer > freer movement twixt > editor and term > in both JQT and > Ric's VSCode interface > > J differs > in that most action > is within a single line > > getting that line right > le plus facile > is important > > one can cut/paste > while shuttling > back/forth, now... > but this is cumbersome > > Proposal: > make execution optional > allow ctrl-E/R to just move > (either way, to > editor and term) > > personally my editor > distills snippets > and completions > while the terminal > is the cauldron > in which i mix/match > to run/source > those snippets > > ~greg > https//picsrp.github.io > > -- > > from: Ian Clark <[email protected]> > to: General forum <[email protected]> > date: Apr 26, 2021, 2:16 AM > subject: Re: [Jgeneral] How to clear the current line in the Windows > Jconsole? > > >Pardon my crazy solution, but it works for me (with jconsole on > ?Terminal), and is worth doing if you find yourself needing to clear the > command line a lot. It might just work on non-Mac platforms too. > > Enter a single space. > (Just pressing Enter won't work) > >This empty line can now be recovered like any past input via the arrow > keys. > > >Oddly, the space doesn't reappear, and it looks like a clean prompt. > > -- > > from: Ric Sherlock <[email protected]> > to: General forum <[email protected]> > date: Apr 25, 2021, 8:00 PM > subject: Re: [Jgeneral] How to clear the current line in the Windows > Jconsole? > > Thanks Greg, > > >I've just released a new version (0.7.4) that doesn't attempt to clear > the current terminal command line if it detects jconsole.exe. > > >If there was a way to clear the cmdline for jconsole.exe it could be > added, in the meantime the remote WSL experience is much more predictable! > > Thanks, > > -- > > from: greg heil <[email protected]> > to: General forum <[email protected]> > date: Apr 25, 2021, 7:13 PM > subject: Re: [Jgeneral] How to clear the current line in the Windows > Jconsole? > > Ric > > Forewarned is forearmed:) > even a "feature"!-) > > Either ctrl-e or ctrl-r > plunk the code > at the terminals cursor > before execution > > ctrl-r plunks the whole line > including leading/trailing blanks > no line-feeds etc > > BTW thanks for the contribution! > > ~greg > https//picsrp.github.io > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
