IPython command completion with up arrow - ipython

I recently upgraded IPython and the up arrow behaviour changed. Previously, I could get the entire command from my history. Now, it's greyed out and I have to press right to complete it before I can press enter or edit it:
When did this change? How do I get the previous behaviour back?

Related

Whilst trying to use the VScode debugger, it opens for 2 seconds, closes, and I don't receive an error message

I am trying to debug a python file that I have in my VScode and whenever I press the play button for "Python: Current" I get a message in the terminal like this and I don't receive an error message. I am using macOS
brianw#BLT-3 VScode % cd "/Users/brianw/Desktop/Coding Projects/VScode" ; /usr/bin/env /usr/local/bin/python3 /Users/brianw/wpilib/2022/vscode/code-portable-data/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/launcher 51951 -- "/Users/brianw/Desktop/Coding Projects/VScode/Python-Code-Challanges/debugg.py"
I have looked almost everywhere on the internet and couldn't find a solution for over an hour. I tried to ask the chatGDP bot and it was no help, I did everything it said to troubleshoot, but nothing worked. I tried looking it up, but I got a troubleshooting problem that I couldn't fix, "Make sure that you have the correct Python interpreter selected in the VSCode settings. You can do this by going to the bottom left corner of the VSCode window, clicking on the Python icon, and selecting the interpreter you want to use." and then "In the search bar at the top of the Settings window, type "python.pythonPath" and press enter." but I searched it and nothing popped up.
Edit: The problem was the data was in a funtion and I didn't call the funtion
Steps to debug python code in vscode:
Go to the run and debug option in the side bar.
Click your current python file for debugging.
But the important step is to place a breakpoint in your program before starting to debug your code..
If you didn't place any breakpoints it will close automatically.

Missing Run And Debug Launch Configuration button in VS Code

I have the following situation.
I cannot change launch Dart configurations anymore since the button is missing.
I think I hid it by accident but I cannot make it appear anymore.
Launch.json is still accessible but the button has disappeared.
Any help is appreciated, I don't really want to reinstall VS Code and I don't think it would help.
An alternative, if anyone else is facing this: If you right-click the gear and check "Start debugging" then that should bring it back. Despite the name, it won't actually start a debugging session!
I've found out how to restore the button's position.
Type the keyboard combination to start a Command (e.g.Command + Shift + P on MacOS) and run the command View: Reset All Menus.
This'll make the hidden view reappear.
The option to hide it is called Hide 'Start Debugging' and it cannot be found in the settings, so you have to reset the views to make it reappear.
if resetting the menu from command option by pressing: Ctrl + Shift + P and typing the command View: Reset All Menus may work. In case it didn't I suggest you to open a seperate command line i.e CMD or Terminal in VS Code itself then typing the command Flutter Run may help. Also you can press in the terminal R to hot reload your flutter, dart app.

Everytime I try to copy from VSCode (on mac with command + c) my cursor goes into --NORMAL-- mode and my cursor becomes a block cursor, how to fix?

Every time I try to copy something in VSCode on my mac with the commands command + c the cursor changes from a line to a block and automatically goes into NORMAL mode as displayed at the bottom of the window like this image linked here. Whenever I press the button s on my mac, it returns to INSERT Mode, and the cursor is a line again. I have been trying to resolve this issue for some time, but I am unsure where I could fix this in my settings.
You are in Vim keymaps.
Check extensions, you should be able to find Vim installed and enabled there. Disable or uninstall this extension if you do not need it.

visual studio code ctrl + tab not working as it was used to

I used to have an old VSCode version, where i used ctrl+tab to navigate through recently opened tabs.
when i pressed the combination a dropdown will appear where i could see the recently opened tabs. Then, if i pressed ctrl+tab again, it would cycle through those tabs.
Recently, I updated VSCode to a newer version. Now, if i press ctrl+tab the dropdown appears like it used to. But, when i press it again, it doesn't cycle through tabs anymore. Instead, it will open the last tab that I've accessed.
I've tried :
uninstalling
reinstalling
removing the setting an reinstalling the older version
But still, that ctrl+tab functionality seems gone. can you help me restore it?
Check your keyboard shortcuts. Find the command:
workbench.action.quickOpenNavigateNextInEditorPicker
By default it is set to Ctrl-Tab, if yours is not, set it that keybinding by clicking on the pencil icon to the left of the command on hover and enter Ctrl-Tab into the dialog box.
That command should also be using the when clauses: inEditorsPicker && inQuickOpen

How to get the up arrow key to return the last command in MATLAB?

You know how in MATLAB, when you press on up arrow key you get the last command? Well I somehow changed that in the Preferences and now instead of returning the last commands, it navigates up in the prompt window. The thing is, I don't remember what I did, and I can't find the place where I change it back.
So my question is - how do I turn it back so I get the last commands?
I'm using the 7.7.0 version.
Thanks
OK, found it. It's on File-> Preferences-> Command Window-> Accessibility-> Arrow keys navigate instead of recalling history.