Is it possible to remove or customize the Panel (PROBLEMS, OUTPUT, DEBUG CONSOLE and TERMINAL buttons/bar)? I think the bezel is too big.
The tab UI elements mentioned are baked into the current VS Code aesthetic and interface, and cannot be disabled.
If you wish to see a feature added allowing the disable of the tabs, please start an issue on the VS Code GitHub Issues page.
Related
I am looking or a way to programmatically hide all the VSCode panels but I couldn't find anything useful in the API: https://code.visualstudio.com/api/references/vscode-api
I know I am able to toggle each panel visibility (by using the commands in the code snippet bellow), because a toggle command are available for them, but checking if it's visible or not doesn't look possible.
vscode.commands.executeCommand("workbench.action.toggleActivityBarVisibility");
vscode.commands.executeCommand("workbench.action.toggleSidebarVisibility");
vscode.commands.executeCommand('workbench.action.toggleStatusbarVisibility');
vscode.commands.executeCommand('workbench.action.toggleMenuBar');
Would there be a right way (I am also fine with a hacky way) to do it I might be missing?
The following commands are available to close, regardless of its visibility, the sidebar and the panel (the word "panel" in VSCode means this specific widget) while I could not find the commands for the activity bar and the status bar.
workbench.action.closeSidebar
workbench.action.closePanel
FYI, there are many undocumented commands in VSCode.
I sometimes try to grep with some words on the source code to find such commands, for example, https://github.com/microsoft/vscode/search?q=closePanel
I installed XamlSpy using NuGet in my UWP app.
I debug my application and connect it successfully using the XamlSpy.
The problem is that every mouse hover is responses by XamlSpy what prevents me from clicking on buttons etc'...
How can I start inspect only when needed ?
I tried CTRL+Shift without success...
How can I start inspect only when needed
According to this article, Ctrl+Shift is worked for XAML Spy 2. By testing on my side, I guess you are using XAML Spy 3.
In that case, when you are using the XAML Spy desktop app to inspect, the "Select Visual" button which is for moving your mouse to the app, and click to select a visual in the user interface, is highlighted by default. You may need to click it to not highlight the button to stop inspecting, and click again can start inspecting again when you needed.
This will probably sound like a minor issue, but it's completely messing up my workflow:
I have a microservice that I restart frequently to refresh changes. I start in Debug mode, and use the curvy arrow in the upper left of the Debug tool window to stop/start the process.
In the Debug window, there are 2 tabs, Debugger and Console. For weeks, I've kept this on Console, and I can see the service run through startup, and I know when to start hitting endpoints. All of a sudden, whenever I start up, it switches to the Debugger tab, which means I have to manually switch back.
No documentation on this, and didn't find anything with a Google search. Does anyone have something to try?
Thank you
Update:
I start with the focus on Console (the right tab) and it switches to Debugger (the left tab). There is a "Focus on startup" in the context menu for Console, but it has no effect.
I'm not sure this is exactly what you're looking for. If it's not, could you please add some screenshots to the question which might better illustrate the problem? But if it is, here is what I found:
In the Debug tool window you have tabs like Output and Variables, which are probably the tabs you are talking about. You can right click any of these tabs and select Focus On Startup. You probably have this option selected for the wrong tab. So try selecting it for the Output tab.
You can toggle the Focus On Startup behavior for other tabs in the Debug tool window too.
Such behavior was not all the time. Previously it was OK, and as far as I remember documentation popup looked like a code completion popup, but now it appears like a panel and traps keyboard focus when it appears. Previously I was able to switch between code completion list elements seeing their documentation. What should I do to get normal behavior back?
Try to invalidate caches: File -> Invalidate Caches / Restart -> Invalidate and Restart
I had to turn this off:
Hide navigation popups on focus loss
The problem was that Pinned Mode was enabled for Documentation panel. Turning off Pinned Mode deals with a problem.
Just like this question here:
IntelliJ: After hiding my "Output" sub-panel within the "Debug" panel, how do I get it back?
I canno get the log/console viewer back in debug mode.
The suggested solution in the given question no longer works the "restore layout" button does nothing, and the "certain spot" on the debug is extremely vague at best.
Is there a way to retrieve the console if it gets vanished (or better yet, just stop that button for vanishing it from even existing)?
I am using IntelliJ 12 Ultimate. If the restore layout didn't work for you either, this should fix the problem:
Open the Debug panel.
Keep mouse on the Debug tab and move it straight right to the Watches icon.
You may see a few more more icons here, and Output may or may not be visible (not visible for me)
If visible, click it and the Output view will be restored.
If not visible, move your mouse slowly to either side of the Watches icon and an empty block would highlight indicating that you are hovering over an icon. There may be several of these. Use tooltip to figure out which is Ouput and click it.
Worked for me, I hope it works for you too.
click the button on the left of Debug View called "restore layout",then the console will go back in the Debug View! 1
Syed explained it pretty well, but a picture could be even better:
A view can be hidden via its context menu, then restored by clicking the corresponding icon (with red circle) to the right.
You can restore the layout using this button as of 2018.1.8
In 2016.2, I had to re-run in debug mode for it to reappear. I could not find a way to un-hide the console in the debug window.
You don't say which version of IntelliJ you're using, but I've just tried this in version 12 and the console window minimises to the far right of the debugger tabs. Look at where it says 'Debugger' and then eyes right until you see one or more icons over the Watches panel. Try clicking on them. If you're not using version 12, then only god can help you :)
In v. 2020.1 there is Layout Settings on the top right corner of Debug window
I've just spent an hour trying to get my console output back, and although this answer didn't solve it, it did help.
I'm on Intellij 11.1 Ultimate Edition, and Restore layout didn't help. Nor did I have any icons above the Watches window in the debugger, but I clicked around above the Watches anyway - and suddenly my console output was restored.
I've tried clicking around there again to see if I can provide more concrete steps, but without success. Can only suggest you keep clicking till it reappears.