Xcode interface: how to hide blue line on editor - xcode

I am trying to hide this blue line that just started showing up on the left side of my editor. When clicked, it has a "Search" and "Discard Changes" option.
Editor with Blue Line on left side
I'm not sure what I did to make it start showing up. I have looked through the View options but can't find anything to hide it. I don't even know what it is called and am having a hard time googling it.
UPDATE:
So I found out that I can click Source Control --> Commit to make the blue line go away... but every time I edit something it comes back. It wasn't like this before. I must have hit some shortcut combination to turn it on. Please help... Thanks in advance

In Xcode Preferences, go to the "Source Control" tab and you'll see this checkbox:

Related

Cloud9 IDE Main Menu Bar (File, Edit, Run, etc.) stuck minimized?

I've seemed to minimize the Main Menu Bar (not the specific term), resting at the top, or ceiling, in the Cloud9 IDE. There's a small drop-down arrow located on the top-center and you'd think that would be indicative of bringing it back down or something, but I'm getting no functionality out of my numerous, calculated clicks.
I've tried to enlarging it no avail, refreshing the URL, copy command, etc. and to my very little knowledge, surprisingly, have had no success. I'm using ChromeOS, if to supply any more assistance. Any ideas? Thanks for reading if you got this far, I sure do appreciate it.
Click on the thin empty space right at the top of the window and the bar will re-appear.
The arrow in the top center of the screen should show the File menu again. Try opening up the IDE in an incognito window to make sure no browser extensions are interfering.
If this doesn't work, you may try appending ?reset=1 to your workspace URL. Be warned that this will reset all your workspace settings, such as themes, keybindings, etc. This should reset your workspace layout as well.
The answer above is correct. The mouse will change to a hand once you click right above the top line. Tricky one.

RStudio: can I pop out the source pane?

I have a dual monitor and I wish I can pop out the "source pane"(where I edit my code), so that I can edit the code in one monitor and track everything else in another.
Does anyone know if this is possible?
Thank you very much for your help.
This feature was just added to RStudio this week. You can try it in our daily builds (0.99.636 or newer):
https://dailies.rstudio.com/
To pop out your file to a new window, either:
Drag the tab outside the RStudio window to where you want your new code window to appear, or
Click the "Show in new window" button on the editor toolbar (it's next to forward/back)
If you try it, let us know what you think on the support forum.
I'm using the latest Studio and encountered similar needs. I found that ctrl+shift+number will suit my needs most of the time since it zooms to the pane that I desire and can also back to the full four window layout.
An additional trick is customize the hotkey to alt+number [1,2,3,4,5] so the pane zooms more handy with one click by your left hand on the keyboard.
Hope it helps.

Xcode Playground

In an Xcode Playground you can click the little circle next to the eye and it should show the console, however when I click mine it just shows the quick view box near the code. How can I correct this and set it back to default? I believe it originally worked like that but now does not.
Any suggestions
you can click the little circle next to the eye and it should show the console
I don't think that's right. I see the same result you do: clicking the eye pops open the Quick Look pane. This is exactly the same thing that happens when you point at a variable in a project while debugging: you can click the eye icon and see the contents of the variable in a Quick Look pane.
To open the console in a project or a playground, use the View->Debug Area->Activate Console command.

How to reopen Console Output in a Swift Playground?

I was happily printlning to the Console Output in the Assistant Editor of a Swift/Xcode 6 Playground (see this SO thread for more info), until I decided to try clicking the [X] to close the Console Output.
How do I bring the Console Output back??
This eluded me for a while, too. You want View menu -> Assistant Editor -> Show Assistant Editor.
Once you see the pane that holds the console output, if you still aren't seeing the right thing, make any change that will cause a println() to fire and the console output should appear.
Just hover your mouse pointer over the value evaluation area (pane next to your coding area) and click on the plus sign to open the output pane. If you have closed the console output in the output pane, then click anywhere in the coding area and press enter. You will get your console output back.
If the View > Assistant Editor > Show Assistant Editor does not work, simple go to the bottom of the screen and drag the little footer up, so it looks like so:
Closing the Playground and reopening did not bring the Console Output back, but quitting Xcode and reopening did. If there's an answer that doesn't require restarting Xcode I'll go for that, but for now this seems to be the answer :/
Yay for beta software!
You can bring back the console frame by following the steps below:
Open the assistant editor. In the assistant editor, find the playground timeline screen.
In the playground timeline screen, find the bottom right corner box, where it contains "- 31 +" (In my case it says the time elapsed is 31; it can differ according to your code).
Click the "+" / "-" mark in the "- 31 +" box.
There your result, console frame along with the other frames could have come there.
The keyboard shortcut is Cmd + Shift + Y
If you've opened the Assistant editor, either by using Cmd+Option+Enter, or selecting the white/plus icon on the left of a line, and then removed the "Console output" there are some alternatives which may help you in getting it back:
Make sure you don't have any errors in your playground, as they stop execution and thusly any output to the Assistant Editor
Make a change so that playground is re-executed
Force a new run of the playground using Editor > Execute Playground
Change the timer in the lower right, as this also triggers a new run of the playground
Restart Xcode as the playground is a little buggy, and you sometimes just need to restart everything... :-(
Put a /* at the top line of your code area to comment out everything. The Console Output box will reappear at the top of the right-hand panel (the Assistant editor panel).
Some errors may show in the Console box. Ignore.
Now delete the /* and the Console box will stay put.
have just started xcode (version 7.0.1) using swift but had the same problem, to show how the code will appear in console I toggled the little triangle next to the play button on the bottom left of the screen
triangle toggle button
this then open a view in which I could see the results of the code
console opend
hope this helps

Cloud 9 (c9.io) terminal will not allow me to enter text

I am very new to this, and my c9 terminal seems to be frozen. The cursor is blinking, but when I try to enter text, nothing shows up. I have tried exiting my workspace and reloading and it still will not work.
Opening a new terminal tab with the View menu or pressing ALT-T is the best bet to get a working terminal back (as mentioned in the comment above)... you may also find that having selected the broken terminal though, you can't click things in your menus anymore. I've found that pressing the Preview button and then closing it, seems to get the UI to be responsive again.
Supports official response is that you should perform workspace reset using ?reset=1 after your workspace url (which doesn't last or work very well in my experience).
This can happen after pressing ctrl-s, pressing ctrl-q should restore it. See https://unix.stackexchange.com/a/12108/41174 for explanation.
I tried ALT-T and ?reset=1. Nothing helped in my case.
I managed to bring my frozen terminal back to life by closing its tab. I ignored the warning that all processes would stop. Then I clicked on the rightmost tab with a plus sign. In the menu I selected "New Terminal".
You can click at the top right where CPU usage is shown. Then click on "Restart" when the menu appears.

Resources