everytime a log message is displayed in the Output window, the Output window opens and gets the focus.
If the Output window is closed, then it opens on the foreground and gets the focus.
If it is folded, it unfolds and gets the focus.
I am working with a plugin that minifies js and css files on save, so I get this Output window popping up every time I save a file!
Any idea how I can keep it closed? (using Apache NetBeans 15)
Related
I am using VSCode on my Mac (Latest version) and when I hit the "Red X" on the top left of VSCode it closes my entire workspace and open editors. I want it to just close the window out of my view but keep everything open when I re-open the app (it is still running as it still has the white dot below).. I am getting the welcome page everytime I just "close window" and re-open.
Now if I were to two click and hit Quit, then yes, I'd expect my workspace and editors to all close and get the startup menu on re-opening.
I have tried searching in the settings and cannot find anything.
GUI Red X - VSCODE
Example. When playing music on iTunes and press the "RedX" on the GUI music keeps playing and everything opens as it was when it was closed. Thatis what I am trying to acheive on VSCode. Keep my "sandbox" and open files as is when pressing it..
To VS Code, I'm pretty sure that red x button and quit are the same thing (although it may be possible for it to treat them differently). Ie. I'm not aware of a way that you can get different behaviour for the red x button and the application quit action.
As for choosing whether the previous workspace should be reopened automatically, you can use the window.restoreWindows setting.
Controls how windows are being reopened after starting for the first time. This setting has no effect when the application is already running.
The values to choose from and their descriptions at the time of this writing are:
value
description
"all"(default value)
Reopen all windows unless a folder, workspace or file is opened (e.g. from the command line).
"folders"
Reopen all windows that had folders or workspaces opened unless a folder, workspace or file is opened (e.g. from the command line).
"none"
Never reopen a window. Unless a folder or workspace is opened (e.g. from the command line), an empty window will appear.
"one"
Reopen the last active window unless a folder, workspace or file is opened (e.g. from the command line).
"preserve"
Always reopen all windows. If a folder or workspace is opened (e.g. from the command line) it opens as a new window unless it was opened before. If files are opened they will open in one of the restored windows.
If you want open editors to be remembered and the previous workspace to be reopened automatically when you reopen VS Code,
You may also want to set something for the workbench.startupEditor setting, such as:
"workbench.startupEditor": "welcomePage", // or "none" or "newUntitledFile"
Also, loosely related is the "workbench.editor.restoreViewState setting, but the default value is true, so you only need to touch it if you don't want view state info like scroll position to be resotred on reopening closed editors.
I use vscode for pairing and I find the warning of "unsaved file" very annoying, is there a way to remove it?
GIVEN
An unsaved file in VSCode on Ubuntu
WHEN
The user clicks on close the editor (just the tab, no VSCode itself)
THEN
A popup with the message «Do you want to save the changes you made to » appears and a noisy sound alert rings
popup
DESIRED BEHAVIOUR
The sound alert does not ring (optionally: the popup doesn't appear either)
It's super annoying, every time I open a file it opens like that:
On the right window, so I need to drag it to the middle every time. I can't figure out how to close this window.
I swear something has changed with VS code. You used to be able to click on a file in the file explorer, and it would automatically focus on the body of the file, so you can start typing immediately. Now, (1.36.1), when you click on a file in the file explorer, it stays focused on the file explorer, so if you start typing after clicking, it will start a search inside the explorer instead of the editor. This is extremely user hostile and I really want it disabled, it's totally throwing off my flow. How can I disable this?
Often when I am running a program in Eclipse which requires input from the user the text cursor does not move automatically from the code in my Java source file to the console to take user input.
I have to manually click within the console to switch. Often I find myself thinking the cursor has switched automatically when it hasn't and I type my entry for the program into the code instead of the console.
There's a feature that can get you part of the way there, but it doesn't satisfy your request 100%. As described here, the Console view has options that will force it to be shown when either System.out or System.err are written to. If you enable one or both of those options (either in the Console toolbar or the global Preferences), then close the Console view, the next time your program writes to System.out the Console will show and take focus (at least on Windows).
The downside is that if Console is already open when your program writes to System.out, then it does not grab keyboard focus.