I am using P4V on my computer and I am able to see a text box right under the Log where I can input command lines. If I press the button to close the log, that text box disappears with it, and then if I go to View -> Log, it reappears.
However, the other members of my team, in P4V on their computer, they only see the Log, they don't see the text box to input command lines. How can they make it show up?
Thanks a lot!
For those who looks for the answer to this, it seems that the command line bar in the Log was removed after P4V 2017.2
If you want that command line, simply download that version or earlier.
Related
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?
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.
When ever i open VsCode in my PC, It automatically higlights all the lines in that particular file. When i double click it selects the word i clicked on but as soon as I single click on the text it selects everything again.
I have tried Restarting VsCode and my computer but cant seem to figure it out.
Here is a loom to help understand what exactly the problem is
https://www.loom.com/embed/617f4e958e694a09a09fb3fa038649ce
The problem was that the SQL Tools extension was highlighting all the queries. so by simply disabling it in the VsCode settings the query highlighting stopped
SQL Tools Extension
I specifically only want console out for Building my code, which is primarily C++. Every search for this leads me to configuring Run Configuration(s) to output the console. I'm not trying to RUN my program, just want the additional detail from console-out when I build and get warnings, some of which I'm not getting filepath info in the "Problems" window. Thanks!
This might already be set up by default. It was for me, once I found the solution I realized this. Check if the following filename exists:
<workspace_name>/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log
If it's there, you might already be setup with build output saved to a file. It should be saved in this file. If you don't have this file, and/or you want to change the file location, do the following: click Window context menu->Preferences. Expand the triangle next to C/C++ on the left sidebar, then under that sub-menu, expand the triangle next to the Build menu, then click Logging. Inside the Logging window, ensure the checkbox next to Enable global build logging is checked, then click the Change... button next to the Log file location text box and select your log file. (In Linux, this part may not be so easy if you don't have a log file already touched. In this case, navigate to the directory in which you want to save your log file, then click the button in the top left that looks like a piece of paper with a pencil over it (when hovering over this button it says "Type a file name"), and then type the name of the log file you wish to use. Click Ok.) Then in the Preferences window, click Apply and/or Ok. Next time you build, this log file should be populated automatically with your Console output.
I am using eclipse on Ubuntu. When there is log being shown in console and I am moving cursor up or down in JAVA file to see the code, the cursor shifts itself to the console log and and I am having problem to investigate my code. My cursor shifts to console log even if I disable the console view from windows-> Show View. Is there any way that I am not forced to see the console.
I just got rid of this issue. Right click in console window, select preferences and then unchecked the checkBox "show when program writes to standard out" and also unchecked the checkBox "show when program writes to standard error".