Using Mobaxterm right-click paste, execute large blocks of pasted code one at a time? - mobaxterm

I've been using MobaXterm for a while now, and frequently use right-click paste to execute small blocks of code at the Linux command line or in a Python interpreter. My intention is that each line should be executed one at a time, even if I paste several lines at once. This used to work fine, but recently the application behavior changed and now I have to hit enter after each line. I have checked and "Paste using right click" is checked in the terminal settings menu. Does anyone know how to change this behavior? TIA

Related

VSCode run JavaScript file line by line like REPL

Is it possible to run JavaScript/TypeScript file opened in VSCode line by line?
Like you press something like CMD+XXX+Enter and it runs the current line or code block?
So you can play with code interactively.
P.S.
I don't want to open JS console - I want to run the code (or code snippet) from the file currently opened in Editor.
It should be stateful, you run the first line, then second etc. "Code Runner" plugin not working that way, it forgets the previous run. So you ran the first line, then try to execute the second line - and it complains about undefined variables that were defined in the first one.
VS Code doesn't has this feature built-in, but there are a lot of extensions for it. The most used is Code Runner, but there are many others. For example, Quokka.js executes code as you type and it's the ideal to know the output of some little piece of code.
The new open source VS Code extension Javascript REPL is promising.

Command to go to previous file in Eclipse editor

In visual studio ctrl+tab would bring the previous viewed file back to the foreground. I can't seem to recreate this simple behavior in any of the obvious eclipse commands, and I am not permitted to install any 3rd party plugins that might add this functionality.
I have found commands that take me through the previous edit locations (which could be mulitple locations per file), that switch to the next and previous file in file tab order, but no command that will take me to the last viewed file.
Is this just not available?
Enter Ctrl + F6 key .It will take you to last opened file in eclipse.

How do I run the canopy editor in blocking mode?

I would like to use the canopy editor as an external editor for a program. I need to be able to open the editor and block until the user saves and closes the editor. Right now, canopy returns immediately.
Is there a way to do that? Ideally it would be by running a python command that just opens the editor, and not the opening screen. Less ideal would be a way to test that the editor was still open.

Enter Perforce Commands in p4v GUI

Is there a way to manually enter perforce commands in the p4v GUI?
I'm relatively new to Perforce and find the GUI useful for most of what I need to do, but I can see situations where a one line command would be much easier than navigating through the GUI.
Example:
Opening a file for edit that is nested deep in the source tree; this takes many clicks when done in the GUI but would be a relatively short command with environment variables set for my most commonly used directories.
p4 edit -c NNNNNN $DIRECTORY/file
It would be great if the command entered was also added to the Log window. I really like being able to scroll through the Log to see everything I've done in a session.
The closest that exists right now is "File"->"Open Command Window Here" when you have a file selected in the file browsing pane. It will open a command line in that file's directory with all of the relevant environment set up.
Unfortunately, this won't give you unified Log, and you'll have to juggle a second window.

How to make Eclipse's "find text in working set" command use a default working set?

As a user new to Eclipse, I am trying to use the Find Text in Working Set command to mimic Visual Studio's Find in Files command. It works fine, except that every time I have to tell it which working set to use. And I only have one working set!
How can I get this command to remember the working set from one invocation to the next?
If am not wrong, short-cut is "CTRL+SHIFT+R"
The File Search command does what I need: it can search all the files (or a subset), and it remembers my working set.