I ask if there is any way to scroll beyond the last line in xcode, because I always end up pressing a lot of enters to the end of my files, so that I don't have to always type my code at the bottom of my window.
I have skimmed through the properties panel of XCode, and had a look at this forum. So far the answer looks negative, but I kept my hopes up. :)
Any ideas for tricking XCode to scroll beyond the last line? (I have XCode 4.5.2)
There is now a plugin for that !
Have a look at SCXcodeEditorInset !
Dont think there is a way to do this but if you are trying to edit the buttom of the code while having it near the top of your display, you can click the middle view button in xcode to bring up the console/watcher and then drag that up to the desirable spot. This does decrease the overall space of your editor but can sometimes be useful if you prefer this or just need to do that temporarily
What I do is, When you finished typing at the bottom, before you go to top, type some unnecessary code "asdf" as error then go where you want. you can come back clicking on top right red error panel.
Related
So when I click on something, for example, when I click a search result in browser, something appear in that place, you know when you typing something, there's always this blinking black and straight line, that's what i'm talking about, I don't know what that's called.
You can see it in the picture I attach above, the line before the word 'Google'. That line always appear everywhere I click. How do I remove this?
--
You see, when I press end key in my laptop keyboard, usually that takes me to the end of the page, but that's not the case now, I suspect the click behavior i mention above have something to do with this
Note:
I don't know if stackoverflow is the right site to ask this question, but since I don't know any other sites, I just post it here
Well, I found the solution, it's caret browsing from chrome, just press F7 to turn it off. Refer to this thread for more information https://support.google.com/chrome/thread/78208145/line-shows-up-when-clicking-on-text
I have no idea what happened but when I woke up this morning to start working, my selection + middle mouse button no longer pastes the selection.
This has always worked prior to today and the only thing I changed was added a time stamp in my C/Program Files/Git/etc/profile.d/git-prompt.sh. Unfortunately I did not check if the paste was working prior to this change, but I've since reverted it, thinking it might be the cause. Still nothing.
If I enable paste on the right mouse button from the options window, it works. Still, middle mouse click does nothing even though it is enabled and selected. See the screenshot
Any idea what may have happened or what I need to change to get the behavior to return? I can deal with the right click pasting, but muscle memory and working in Linux has me conditioned to use the middle mouse wheel click, so I will begrudgingly.
There are lots of "How to enable selection paste in Git Bash" I've found, but they all point to updating the options like shown in the screenshot and are not one bit helpful. Please do not mark this as a duplicate.
Thank you.
I am trying to make a basic text editor (For a School Project if you are wondering) and I want to make it work with different code. The problem is that I cant get TextView to go on forever horizontally. Similar to Notepad++. I have set it to have the ability scroll horizontally, but I cannot seem to make the text keep going on one line. This is for a Mac OS X application and I am using Xcode 5. Also, on a side note, if you by chance know how to number the rows, I would greatly appreciate that as well. Thank you!
Menu option: Xcode->Preferences
From there go to the "Text Editing" tab and check the box for "Line numbers" then in the Indentation subtab uncheck the box for "line wrapping"
To disable word wrap on an NSTextView see this SO answer
The documentation is here: http://www.kernel.org/pub/software/scm/git/docs/git-mergetool.html
A handy guide is here: http://ryanflorence.com/git-for-beginners/
However, neither of them explain how to use mergetool's filemerge.
The guide I read says "I hit enter and FileMerge pops up and I deal with the conflicts:" but it doesn't mention how to "deal with the conflicts".
When I run:
git mergetool
:and then hit return as prompted, and the filemerge window opens showing all the merge conflicts, it only responds to the commands cmd+D and cmd+shift+D (which allow cycling through the conflicts). However, there doesn't seem to be a mention of how to, for each conflict, choose left/right/neither. The combo-box dropdown does not seem to do anything.
Have already looked at docs, guide, file system menu, and systematically pressed keys on the keyboard looking for a response =)
I haven't found any official documentation for it, but here's the understanding I got from trial and error:
There's a split view with your two options on the left and right. You can't edit either of those. There's also a bottom view which you can edit. You might need to pull up on the little circle in the middle of the bottom of the screen to expand that section.
For each conflict, click on the area in middle of the left/right split view and choose from the drop down in the lower right either "Choose Left" if the left is what you want or "Choose Right" if that is what you want. If neither option is good, click "Choose Neither" and edit it in the bottom section.
There's an arrow in the middle column that will show whether you've chosen left or right by pointing at it. If you've chosen neither, the arrow will disappear. All three views scroll together using the scroll bar on the far right screen.
When you're done, click File > Save Merge from the menubar.
I recently started using Xcode for developing. It's pretty neat. By accident I happened to see one of its features. The feature only highlights the block of code I am currently working on. Other codes are covered with light grey. I do not know how to get that effect again. Can anybody help? Thanks!
You probably hovered your mouse over the line number bar like this:
You may be referring to the "focus ribbon" on the left side between the code and line numbers.
Refer to: https://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/Editing/Editing.html
(Figure 3-10)
This is called Code Folding Focus.
If you want to turn it ON or OFF as you please, do as follows in Xcode/Preferences:
Then, assign the key of your fits.