Normally I can open two Editor panes in Xcode: one for the .h and one for the .m as counterpart. But presently I need to open four panes. So I click on the upper-right + sign. But this cause the splits to happen on the right pane so that I have one left pane and three right panes stacked vertically. How might I move the panes around so that one pane shows in each quadrant? This very easy to do in eclipse. I imagine Xcode can do it too.
Here is what I want
_______________________
| | |
| .h | .m |
|__________|__________|
| | |
| .h | .m |
|__________|__________|
You imagine wrong. Xcode can't do that. (The problem is partly that Xcode has no notion of equivalent panes. You always have one "real" editor and everything else is an "assistant" to it.)
Your best bet is to use separate tabs (or windows). These can be configured differently, though in your case I think you just want two tabs configured the same way (assistant on right).
Related
I don't remember changing autocomplete but recently it started doing a pop-up style that looks sort of like this:
┌--------------------------------------------------┐
| Press t̲a̲b̲ or c̲l̲i̲c̲k̲ to insert, e̲n̲t̲e̲r̲ to execute |
| clear |
| cat /proc/sys/fs |
| cfoo |
| cbar |
└--------------------------------------------------┘
user#MACBOOK /usr/local/bin % c▯
How do I change it back to autocomplete that shows inline with the prompt?
I was not aware that Termius -- the terminal app that I use on my MacBook -- had added an autocomplete function. In the upper right corner, next to the "share session" button was a button labeled "au". I clicked on that button and it had an option to disable autocomplete.
That's what I get for not reading update release notes. In my defense, Termius rolls out new releases too often. In the past six months (at the time I'm writing this) Termius has had twenty-one releases. That's almost a release every week.
I've created two windows in Ruby using curses, which look something like this:
------------------------
| |
| Window 1 |
| |
| |
------------------------
------------------------
| Window 2 |
------------------------
Window 2 is static. Window 1 will have be filled with text. Currently, if the text gets to the bottom line, the next word is appended to the bottom line, rather than going on the next line. How do I make one of the following options possible:
(a) Window 1 grows is new lines are needed
(b) Window one has an 'overflow-y' feature, like in css.
I've tried having Curses.stdscr.scrollok enabled, and each time I get to the bottom of the window using window1.scroll, but neither achieve what I'm looking for.
Looking at the C library for curses, I've figured this out. Thought I'd post the answer in case anyone else needs it!
Overflow-y
You need to have two things set:
Curses.stdscr.scrollok true
window.scrollok(true)
When you get to the last line, it'll just keep appending to the current line. To solve this, I added:
if (window.cury + 1) == window.maxy
window.addstr("\n")
end
Scrollable window
window.scroll() # scrolls up one line
window.scrl(-1) # scrolls down one line
Does anybody know how can I turn off or change the color to the cursor for the phpstorm IDE?. Please see the image attach.
Thank you so much.
Settings/Preferences | Editor | General
Highlights on Caret Movement section
Disable Highlight matched brace option
P.S.
You can use search box on the top left to quickly find option in Settings/Preferences screen.
If you want to change that color to another one:
Settings/Preferences | Editor | Colors & Fonts| General
Code | Matched brace (that's for v10; in v9 all styles are in single list and not grouped like in v10).
I'm using Sublime Text 3. I have a layout with a screen-height column on the left and three panes on the right (see figure below). This setup is great (especially with the Golden Ratio plugin), but I still miss one feature I had in vim. I had a hotkey that caused the pane that had focus to take up the entire window, like entering full-screen mode for that one file. When done, you could enter the hotkey again to revert to your previous layout. It's as if the original layout of the panes is saved, and the focused pane temporarily takes over the whole window, and when you're done editing the file full-screen, the program remembers how things were laid out and reverts to that. Here's an ASCII-art example:
BEFORE AFTER
---------------------------- ----------------------------
| | | | |
| | | | |
| |-------------| | |
| | | | |
| | | | |
| |-------------| | |
| | | | |
| | | | |
---------------------------- ----------------------------
By typing a hotkey, you switch from BEFORE to AFTER; typing the same hotkey again reverts you to BEFORE, with the same layout and the same tabs in each pane.
Is there a way to do this in Sublime Text 3, including a plugin that might enable this? If the reader knows how to write Sublime plugins, how hard do you imagine writing such a plugin would be? I would guess it wouldn't be too bad: a matter of stashing state somewhere and programatically telling Sublime to revert to that when switching back from full-screen mode.
I know this is a year on, but the MaxPane plugin solves this problem.
https://github.com/jisaacks/MaxPane
Install through package manager, and then use Command Shift Enter to toggle a pane between full screen and within whichever layout you are using.
You may try using Origami, it helps organising layouts, it doesn't have what you want, but it has a Zoom functionality, here's a quote from the author:
Additionally, Origami allows one to zoom the current pane, making it
take up a large portion of the window. As above, first press super+k,
then press:
super+z: Zoom the current pane so it takes up 90% of the screen (the
fraction is changeable in the keybindings) shift+super+z: Unzoom:
equally space all panes (Note: Windows and Linux use ctrl instead of
super.)
There's no way to do what you want currently, though you may try writing a plugin yourself
You could also chose 1, a single panel default switcher: ALT+SHIFT+1-3
https://superuser.com/questions/368785/switch-between-columns-active-tabs-in-sublime-text-2/424987#424987
When I cut or paste, and possibly other times, my xcode will suddenly pop open that upper window above my code display, the window that lists the file names and roles and code size. This only started happening today, so I'm wondering if I accidentally triggered some setting. It's really annoying as I drag the horizontal window bar up to cover it so I can maximize my code window view and it comes back down minutes later after some editing action (cut, paste, something). I don't know if this possibly has to do with my having a split window view (two code windows one above the other) perhaps.
Does anyone know how to stop this from happening?
It could be a bug related to split views. I do not have a solution, but I do have a workaround. Select the file you are editing and press enter. Then create a split view and open the next file the same way. You will now have a separate editor window with the two files. Since this window does not have the file lists, it cannot show them.