I have looked for a solution but couldn't find one, recently I switched the Explorer in VSCode from the LHS to the RHS and it works better, the problem I am now having is that when I open the terminal I get a debug console on the left - see picture below.
Is there a way in which I can disable/hide the Debug Console part of the terminal? It is always maximized when I start a new console and I can't set it to minimize.
Either choose Reset Location in the context menu or just drag the Debug Console header back into the upper part of the Panel (like to the right or left of the Terminal header).
At some point you must have dragged the Debug Console header into the body of the Terminal (when Terminal was active and into the left half of its view).
You'll also notice that the option to Hide 'Debug Console' is disabled in your first situation - that is a hint of sorts - it is actually within the Terminal view and so cannot be separately hidden from its context menu.
Click on the debug tab and drag it to the top.
Related
Recently in VS Code, somewhere around v1.42 or v1.43, we gained the ability to move around the following windows/panels that used to be stuck in the panel:
Terminal
Output
Debug Console
Problems
They could be split into multiple items in the panel itself (side-by-side or top/bottom, depending on whether the panel was at the bottom or left/right), and even dragged into the side-bar.
This was great, but after moving all of these windows to the side-bar while experimenting, I can't find any way to move them back into the panel. The panel is now empty, except for 3 dots (an ellipsis) in the upper left corner. You can still hide/show the panel, and move it left, bottom, or right, but there is nothing in it, and you can't drag anything to it. Dragging the terminal into the panel shows an icon that looks like it will successfully move (it's not the icon with the circle/cross-out you get other places it won't drop), but when releasing the click-drag, nothing happens.
I had just upgraded to v1.45.0 when this happened. It appears to be a defect, unless I'm missing something. Does anyone have a way to put the terminal or one of these other windows back in the panel, or reset their position? I combed the settings, and tried to find default setting's files (system or user) that might hold info on what is in the panel vs. the sidebar, etc., but couldn't find anything via search or on my PC. Any ideas?
Note: This is NOT about moving the panel between the left/right/bottom positions, or selecting the terminal/output/etc. in the panel itself. That's "old news", this is a recent feature.
Here is a view with the Terminal, Output, Debug Console, and Problems put at the top of the sidebar toolbar, and Terminal focused. The Panel is just to the right of the sidebar window, set to the "left" position, completely blank and useless. The "welcome" window on the far right side:
And here are my current settings:
See this issue https://github.com/microsoft/vscode/issues/96117 (Empty panel behaves weird)
Suggested fix:
Run the command View: Reset View Locations in the command palette.
Please see: https://www.technipages.com/visual-studio-reset-window-layout
Menu Window / Reset Window Layout worked for me in VS 2019
I am using Eclipse Oxygen (Ver 4.7.0) on CentOS with the UI shown via MobaXterm's X Windows server on Windows 7.
In Eclipse I have the weird problem that when I right-click on an editor tab the tab closes immediately! No context menu, nothing, just the tab vanishes. I would like to disable this, but I couldn't find any entry for right-clicking in the Keys section of the Preferences.
Is there another place where the right-click behaviour is set? Or how else can I disable this? The problem occurs only for editor tabs.
Additional details:
The right-click behaves correctly inside an editor tab by bringing up the context menu. This shows that the right-click is not genearlly broken in the X Window system.
The right-click behaves correctly in other X applications like PyCharm.
An explanation
A closer look revealed that Eclipse does show the context menu on right-click press-down, but on right-click release-up it registers a left-click event.
Due to the particular situation of when the context menu was drawn, the mouse pointer than just always happens to sit over the top entry in the menu. And this top entry is Close. The following screenshot might illustrate this a bit (unfortunately without the mouse pointer):
Solution
The immediate solution for me is to move the mouse after pressing the right mouse button and before releasing it.
Still I don't know why this happens only when right-clicking a tab and only for me - and probably not for many other people...
I am using GNAT GPS version 6.0.1 in Windows 7. For some unknown reason, the Project View pane that is on the left side of the main window has disappeared when I use the debugger. I can't find any menu or preference options that control whether this pane is visible.
Update--
I should point out that this is the pane with the tabs along the left side rather than along the top. I can show a similar pane with projects listed by splitting the main window, but its tabs are along the top. Also, Its behavior is different form the one with tabs on the left side. Double-clicking on a file name, for example, should open the file in the main window. Using a split window. this opens the file in the window that is showing the projects.
End of Update --
I can select Project -> Project View from the toolbar, and I get a Project View as one tab in the main window (along with the source files that I am working with).
Can someone tell me how to control whether the left-hand pane is visible and how to make sure the Project View has a tab in that pane?
Also, when I look at Window -> Perspective, I see that the Default perspective is selected when I'm not using the debugger and the Debug perspective is selected when I am using the debugger. Switching from the Debug perspective to the Default perspective while I am running the debugger does bring back the left-hand pane, but my debug tab and the Debugger Data window disappear. Can I fix the Debug perspective so the left-hand pane is part of its configuration by deffault?
By the way, in this version, there is no Show View option in the toolbar menus.
This can be opened with /Project/Project View or /Tools/Views/Project.
To put the tabs to the left instead of the top, right click on the tab and select the Tabs Location item. You can also use drag-and-drop (from a tab) to move windows around, in particular to move the Project view to the left of your desktop.
That said, the simplest might be to remove the file $HOME/.gps/perspectives6.xml to restart from the default desktop.
Netbean 8: Variables Window, Watches Window, Breakpoints Window, Call Stack Window, Output Window don't auto hide after debug. How i can fix this problem. Thanks.
Click Window and choose Reset Windows from the menu.
After doing this, the debug windows should auto-hide. I recommend taking a screenshot before doing the reset in case other customizations you made are inadvertently lost.
Click on Minimize Window Group which is on top right corner of variable window or other windows. If you have maximized it then after debug you need to click on Minimize Window Group after debug.
I figured this out for the Output window.. if you open that view, you'll see an icon on the left-hand side which says "Ant Settings" when hovered over. Click that, and it will open the 'Options --> Java' dialog.
In that dialog, select the 'Always Show Output' option. Now anytime you build your project (etc) that Output view will pop up, and when you click back in the Editor it will auto-hide.
I can't seem to find a way to have the console run (to show NSLog comments) in XCode 4. The normal method for the previous version of XCode does not work. Does anyone have an idea of how to accomplish this?
You need to click Log Navigator icon (far right in left sidebar). Then choose your Debug/Run session in left sidebar, and you will have console in editor area.
for Xcode 5:
View->Debug Area->Activate Console
shift + cmd + c
If you just want to have the log output display when you run your app then you can go into XCode4 preferences -> Alerts and click on 'Run starts' on the left hand column.
Then select 'Show Debugger' and when you run the app the NSLog output will be displayed below the editor pane.
This way you don't have to select on the 'up arrow' button at the bottom bar.
The console is no extra window anymore but it is under the texteditor area. You can set the preferences to always show this area. Go to "General" "Run Start" and activate "Show Debugger". Under "Run completes" the Debugger is set to hide again. You should deactivate that option. Now the console will remain visible.
EDIT
In the latest GM Release you can show and hide the console via a button in the toolbar. Very easy.
Here' an alternative
In Xcode 4 short cut to display and hide console is (command-shift-Y) , this will show the console and debugger below ur text edior in the same window.
You can always see the console in a different window by opening the Organiser, clicking on the Devices tab, choosing your device and selecting it's console.
Of course, this doesn't work for the simulator :(
There's two options:
Log Navigator (command-7 or view|navigators|log) and select your debug session.
"View | Show Debug Area" to view the NSLog output and interact with the debugger.
Here's a pic with both on. You wouldn't normally have both on, but I can only link one image per post! http://i.stack.imgur.com/4gG4P.png
Here's an alternative.
In XCode4 double-click your Project (Blueprint Icon).
Select the Target (Gray Icon)
Select the Build Phases (Top Center)
Add Build Phase "Run Script" (Green Plus Button, bottom right)
In the textbox below the Shell textfield replace
"Type a script or drag a script file from your workspace" with
"open ${TARGET_BUILD_DIR}/${TARGET_NAME}"
This will open a terminal window with your command-line app running in it.
This is not a great solution because XCode 4 still runs and debugs the app independently of what you're doing in the terminal window that pops up.