VS code adds margin to editor groups - visual-studio-code

As you can see in the image VS code started to add margins to editor group. When I try to pull it to sides this is the biggest space that I can get.
Update: When I open files side by side still

can you try this?
press F1
type "Preferences: Open Settings (UI)"
click Window
under New Window Dimensions click default or other options.
I don't really know if this helps.

The selected answer is not the right answer. I got rid of the margins through View.. Appearance.. [turn off 'Centered Layout']

This problem is solved when I created a new workspace and add the same folder by using "File->Add Folder to Workspace..."

Related

Visual Studio Code Version: 1:30.0 - How do I move Terminal output to the bottom

I can't find this in the documentation. Currently, when I click Terminal > New Terminal, it appears to the right of the IDE. I prefer to see this at the bottom. How do I move it to the bottom please? I have looked but I do not understand all the Newspeak.
You can right-click on Terminal and choose Move Panel to Bottom option, as you can see here:
If you go to settings there is an option to put the terminal on the bottom or right. You can change it there. If you are actually editting the settings.json file look for "workbench.panel.defaultLocation" statement and change it to "bottom"

How to Display VS Code output window to side rather than below

In my VS Code set up I see the output/FSI frame below the main text editor pane like this:
whereas I would love it to appear to the right in the side-by-side view like it does on the images in this link: http://www.wintellect.com/devcenter/jwood/a-quick-look-at-f-in-visual-studio-code
Is there a config option I cannot find somewhere?
I tried Googling but drew a blank and cannot see anything obvious in the config options mentioned on the vs code site page describing the config options
as of version 1.51.1 right click in the right corner on the output panel. then select option 'move panel right'
I don't believe you can detach/move the output windows in Visual Studio Code. You can move the side bar to the left/right side, but that's it. There is no config option, sorry.
You could try posting a feature request on the GitHub page: https://github.com/Microsoft/vscode
EDIT: This was changed in VS Code 0.10.8, it was once on the side but was moved to the bottom. See this GitHub issue: https://github.com/Microsoft/vscode/issues/2806
This feature is not available yet in VS Code. However as of today (March 30, 2017) it's on 6 months roadmap so it should be done in a near feature.
This feature is available from version 1.18.0+
Simply click this icon to dock to the right:
Just follow the steps mentioned:
In Visual Studio Code -
View Tab > Appearance > Toggle Panel Position
That's it.
Your original link to the view your desire is obsolete, so it is a guess as to what you wanted. But here is a demo of setting up a terminal/output look side-by-side. It is a little tricky - you drag your Outline header over the Terminal header which will then allow you the option of putting it to the left or right of the Terminal:
its easy. just right-click on the terminal, select 'move panel right' like in the image below and voila
the image can be found here
Vertical Split:
From VS Code Menu bar:
View >> Appearance >> Move Panel Right
Version 1.47.0 of VS Code (at the moment of posting this, the latest one) allows you to drag output (or any other panel tab, e.g. terminal) to the activity bar. This way you can obtain output to the side of the editor.
Just right click on the panel of output section then select "Move panel left or right" as per your wish.
here your can see the move panel left option.
Press CTRL + SHIFT + P
Select Preferences: Open User Settings (JSON)
Insert (or change if it is there --search for it) the following config line:
"workbench.panel.defaultLocation": "right",
Save file.
That will work for new workspaces. VS-Code saves your preferences for each folder you start it in. So, if you navigate to a folder you previously called VS-Code in (I mean, from the terminal), it will open the output panel in the same location it was the last time you have used VS-Code from the same location.
After making the change above, go to a new place, like /opt and start VS-Code there to make a test.

How to remove file path viewer from eclipse editor view

I looked online, but I am unable to find the answer. I am wondering how to remove the bar below the list of files that tells you the current position of a file in a project. My first picture shows the location of the bar and my second shows a close up of the bar. Thanks in advance. see image
This is known as breadcumbs in eclipse.
Couple of ways to disable them.
Right click on the breadcrumb-> You will get Hide breadcrumb option ->Click on that to hide.
On the the action bar. There is a button called "Toggle breadcrumbs" which will disable it if it is enabled. Click on it to disable it.
Hope it helps.
Best Regards,
Saurav

Eclipse Invisible Editor

I have eclipse Juno. I'm not sure how, but my editor in eclipse is now "invisible". By invisible i mean, the editor pane is not in the visible window. I'm not a novice in eclipse and i know you can minimize the editors or maximize a different panel - but this isn't the case. There isn't even a minimize/maximize button on this empty space where the editor should be.
However, the title bar shows the current file that is opened (but in the invisible editor and hence invisible). and my outline sidebar shows the file's outline.
I think this might have happened when splitting editor panes (which i do a lot, love the side by side comparison), and also switching the perspective.
Any ideas on how i can get the editor back in the visible window?
Above is a screenshot of how it looks. At the time of the screen shot i had just recently clicked a file to open it, and it seems to have opened in the invisible editor.
I've tried all given solutions and none of them solved the problem.
Only using Window->New Window gave me a new fixed eclipse window.
Try Window > Reset Perspective to get things back to normal.
I minimized sharedArea and after restore it was empty. Editors worked well (open, close, save etc.) but i could not see them. Closing all perspectives helped.
This happens to me sometimes when I try to split an editor group by dragging an editor tab. The only solution that worked for me was to close every single perspective in the application toolbar, then Window -> New Window.
I've had this happen occasionally when splitting panes. Restarting Eclipse didn't work for me, nor did resetting the perspective.
The solution I stumbled upon was to give the editor area focus (by clicking in the area where it should be, I suppose) and close files in the invisible editor with Ctrl+W until the editor reappears. You may notice the window title changes to follow the file in the hidden editor.
I had the same problem and simply stopping/restarting Eclipse fixed it.
I have the fix, when neither resetting the perspective or restarting eclipse helps:
At the bottom of the File Menu, there is your recent file name that you are trying to get back. Click on that and it should return.
Start eclipse with:
eclipse.exe -repair

Editor in eclipse has vanished

I feel slightly like n00b encountering windows for the first time, but I have lost the editor window in Eclipse. I had dragged one of two tabs to one side such that I could view the two files side by side and it disappeared. Foolishly, I then dragged the remaining tab to the same position and found that it also disappeared.
When I select 'Windows' > 'Navigation' > 'Next editor' I can see that both files are still open. I have tried opening other files, and although they do open they are similarly invisible. I tried resetting the perspective, but the editor was left absent. I'm running out of ideas, so any contributions would be highly welcome! I'm using a mac by the way.
Perspective reset or window->new editor did not work for me. What worked though was to create a new window with Window->New Window, and then close the first one with editor hidden. Hope this help.
Just so this case be changed to 'answered':
I ended up using cmd-W to close the editors one by one, then was able to open a new editor. I still don't understand what caused the problem, but at least it is solved now. Many thanks for the suggestions though!
Pressing the F12 key normally focuses the Editor only if the Editor is not minimized.
Window -> New Editor is also disabled once the Editor view is minimized.
What's definitely going to work is resetting the perspective by doing Window -> Reset Perspective. That should bring the editor back into view.
Take a look at this screencast which shows how to do this.
They might have been in a separate window. Try right clicking on the Eclipse icon on your dock and see if the editors are there. If yes, drag them to your IDE.
I got the same problem today. I solved it just by Window > Reset perspective...
I have lost the editor too doing drag & drop. I try all here, and finally I used Window > New Widow and the second one comes with editor.