I just downloaded the new Xcode and why isn't there a scroll bar on the bottom? Is there an option to add it? There's only a scrollbar on the right...which is really annoying.
Xcode 4 changes the editor so that by default all code is wrapped, instead of extending off screen. Thats why you see no scroll bar.
However you can set it back - go to Xcode preferences, editing, then the "Indentation" tab. In there is an option to "wrap lines to editor width". If you uncheck that, you'll see scroll bars again and your code will extend off the screen.
Related
I have been trying to get the old default view window in order to edit code.
How can I remove this extra space marked in red?
Click1: Menu
Click2: View
Click3: Appearance
Click4: Centered Layout
Untick: Show Minimap
It's called a Minimap and you can disable it under View > Show Minimap
I accidentally removed the MongoDB extension from my sidebar/activity bar in VSCode while adjusting my layout. When I initially installed the extension, It automatically put a MongoDB icon on the sidebar which was convenient.
I tried restarting VSCode, dragging and dropping from the extensions panel, reinstalling the extension, going through all VSCode settings, googling, and SO'ing, but I couldn't find any solution.
If there's no answer, I might just have to try uninstalling VSCode and reinstalling everything again.
In general, if you have moved views around and get messed up, try the
View: Reset View Locations command from the Command Palette.
It will reset all your views but you will have at least refound or relocated any missing views.
Also, if you can't find a view it was probably inside another view - not just in a view container like the Side Bar or Panel at the top level, but within one of the other views within one of the main view containers.
To add an icon that was available from an extension, you can follow the steps below.
Right-click on of the icons on the sidebar/activity bar.
Recheck whichever icon you're missing.
The icon should appear.
If you want to reset all of your icons, then follow the steps below.
Click Ctrl + Shift + P.
Search for View: Reset View Locations
All of your icons should be reset to default.
You can also hide icons a similar way.
Right click on the icon you want to remove.
Check the Hide checkbox.
The icon should disappear.
I don't know if this is the right place for it. Using Eclipse 4.6.2 on OSX, in the Java view, I used to have a bar on the bottom with Problems, Tasks, Console, Properties, etc. tab options. This bar is now small icons on the right. It appears on the bottom when I click on the right bar, but it disappears as soon as I click on any editing tab outside of it. Clicking and dragging the bar to the bottom doesn't have any effect. It has a restore-window style icon that doesn't seem to do anything.
I'm also finding that when I select a .java file, like in Problems or Call Hierarchy, it shows up on the bottom, when it used to pop up above the bottom section.
I've always gotten really confused whenever I've tried to mess with the default views/perspectives in Eclipse. I probably made this happen by mistake. I want to revert to the original behavior, but I'm not sure how. Any advice?
On the top there should be a "window" menu bar. If you look in the window bar you should get a "reset perspective" option.
Haven't found an option in the IDE to hide it, are there any configuration files that would do it? I never use it, and in my effort to optimize screen space with multiple tab groups, this would save me some pixels. :-P
Here's the bar in question:
http://i.stack.imgur.com/inwUM.png
I believe you are referring to the Diff Sidebar. To remove this use the menu item located at View > Show Diff Sidebar. This menu item is a toggled menu item so when it is active there is a check beside it.
I'm diving into iOS development and I'm using Xcode on a multi-monitor setup.
Obviously I want to take advantage of the multiple monitors to view and edit multiple panes of source code, but I'm having a hard time figuring out how to enable vertical split views. In other IDEs, it's just an option you click in the "Window" menu.
How do I enable vertical split views in Xcode?
Xcode 4
Check out the options in the Navigate file menu item. I like Command+J. Also, while the Editor is active, i.e., you're editing code or your cursor is blinking in the Editor, press Command+Option+,. Or, you can Option-click (or Option+Shift-click) a file in the Navigator. Then, to make more room for editing, I like to press Command+0 to hide the Navigator and, if they're not already hidden, Command+Option+0 to hide the Utilities. Press Command+Enter to go back to the Standard Editor view.
Xcode 3
Hold down alt and click the little tiny box (with a horizontal line through it) in the upper-right-hand corner of the screen. It's underneath the tiny little lock icon.
Xcode 9 for those coming from a search engine:
Click and hold on the Assistant Editor button for an options menu. Choosing "Assistant Editors on Right" will cause the view to be split vertically.
This has changed in Xcode 12, maybe earlier. All my Option-Clicks go to open second view appearing below rather than size by side. The solution is to go to Views -> Change Editor Orientation
respect to mattdipasquale
Command+J --------Check out the options in the Navigate file menu item
Command+Option+,------editing code or your cursor is blinking in the Editor
Option-click (or Option+Shift-click)------open a file in the Navigator
Command+Enter----------reset
Use the dropdown on the split icon to choose between different views
For Xcode 14 you just have to click this icon: