Xcode 12.4 How to remap key bindings - swift

I'm trying to change some key bindings in Xcode, but I can't figure out how to do it.
Following the steps in "Xcode Help" doesn't work. I'm assuming these docs are outdated?
For example, the binding I'm trying to edit is I'm trying to make "End" jump to end of line. Following the instructions in the help, I double click the line(2), but then when I press the "End" key(3), it just jumps to the bottom of the list, as if the line isn't selected.
This should be a simple thing, right? How do I do this? I couldn't find any help online, or even youtube videos, which really surprised me.

Related

DrRacket on MacOS - F1 does not bring up documentation

I'm new to Racket. On macOS Monterey, I installed Racket, DrRacket etc. by downloading the dmg file and installing it into /Applications. It seems to work but I can't get the help function to work. I put the cursor on a function name and press F1. This pops up a Safari window (title bar lists a file "file:///private/var/folders/ss/5nm90hsn5x745_n8jc5683ym0000gn/T/plt-sendurl-contents-file-16749376611674937661347.html". that displays "please go here" which contains a URL "file:///Applications/Racket%20v8.7/doc/search/index.html?q=remainder". However, when I click on here nothing happens.
If I copy the url and paste it into another tab it does go to the help location. However, that's a very annoying way to get help.
From what I've read seen on videos clicking F1 on a function should directly open the help in the browser with no additional help from me.
Am I doing something wrong? Has anyone gotten this to work on MacOS?
I tried both the Racket from Racket-lang.org and also the one from Homebrew. Both have the same problem.

Context sensitive help of eclipse by hovering cursor

After setting path of java doc properly to make it work offline,The Eclipse IDE is not providing context-sensitive help if you hover the mouse pointer over keywords.For example if I type "for" then It shows "Syntax error in token" when I hover the cursor over "for" to edit java programming.
Nobody is here to answer my question.But I have solved it by my own effort.You need to click the mouse just after the "for" without any space,Now You can see the mouse pointer just blinking after the "for" without any space,now you need to press "ctr+space" to see the proper structure of "for" loop with code,now if you wanna edit this in your source then you need to press "enter".I know this is for editing basic things but it is very best for learning by developing the codes.All the people are saying that you can not get help related to basic things by using eclipse IDE but I think they are wrong because I am getting all the things offline when I need them.

How can I "accept" the autocomplete in Netbeans?

Sorry if this is a stupid question, for the last ten years I've worked solely in a text editor.
In Netbeans, I'd like to be able to quickly accept the autocomplete and move on. For example:
$foo["bar
Netbeans will have automatically completed this to:
$foo["bar"]
My caret/cursor is after the 'r' of bar. At this stage I would love to be able to hit one key and move to after the ] or even the " and then the ]. I can use the right keyboard arrow but that is impractical/painful. They must have thought of this by version 8? It really interrupts my flow and right now I'm just retyping the characters myself as it's quicker than moving my hand to the arrow keys.
I've scoured Netbean's menus, help, StackOverflow, Google. I think the answer will be very simple but I'm not sure what I should be searching for. I may just be very dim.
I use the end key to jump past the autocompleted characters.

xcode 5: What's the best way to go back and forth between top of editor and where you were before?

So I've had this question for a really long time. Say:
You're working on line 1000 in the primary editor of xcode,
Then you realize you need to use class ABC but it's not imported. You go to the top of editor and write a line such as import "abc.h"
Then you want to go back to line 1000 and continue your work.
For now I've always need to use my scroll bar to scroll back and forth between line 1 and line 1000, which can easily get me lost. I know that in Eclipse+FDT you can do auto import (ctrl+1 to auto import a class), is there similar feature for xcode? If not, what's the best solution? Thanks in advance.
You can jump between line numbers by typing command + l.
You can navigate to the top of the editor by pressing command-upArrow.
Then to "go back" to line 1000 (where you were), you can press control-command-leftArrow.
Edit: Looks like Xcode does have a "Jump to Line" feature I was unaware of, as per Jonah's answer. You can definitely use that to do what you're looking for.
Xcode has no auto-import feature, nor does it have a feature to jump to a specific line, unfortunately. That may get added in a future release, but I wouldn't bank on it.
Your best bet is getting creative with Xcode's snippet features and its "Jump to Next Placeholder" command — you can create "marks" in your code with snippets and placeholders, jump to the top of the files to add imports, and jump back to your "marks" to keep coding. Create a new snippet that just contains a completion placeholder:
Type <#Mark#> into any text editing application (or even a file in Xcode) and drag the text into the Snippets pane in the right sidebar. This will create a new snippet with just a placeholder called "Mark".
Double-click the snippet to edit its information, changing its Completion Scope to "All".
Give it a completion binding (like "mark") that you'll remember to use.
Then you can create a marker whenever you want (typing "mark", then hitting tab), jump to the top of the file to add an import, and use "Jump to Next Placeholder" (^/ by default) to go back to the placeholder. You can then delete it and keep coding.
Alternatively, if you know vim keybindings and that seems too complicated, you may have some luck with the XVim plugin for Xcode that brings some vim features to its editor. Keep in mind that Xcode plugins are not officially supported, so unofficial support can be taken away at any time.

IE9 : Arrow Keys not working in text area field in popups

We are just testing our application on IE9 and I found an issue regarding the arrow keys behaviour in text area in popup window.
Two arrow keys are not working fine:
1) Left arrow key - When we enter some multiline text in the text field and try to move the left arrow key in last line. Repeated left arrows movement on the line result in the cursor going to the left THEN back to the end of the same line. It does not move to the last of the previous line (as expected).
2) Up Arrow Key - When we enter some multiline text in the text field and try to move to the previous line using the Up arrow key. It does not work.
It will be great if somebody can help me on it.
Thanks in Advance :).
Regards
I have seen many posts on this in other forums, and had some issues with it in web-based applications we use at my work. It seems to be something weird associated with IE9 and ieSpell.
While some forums have said pressing F7 allows you to get around the problem, it doesn't actually solve it, and there doesn't seem to be any acceptable permanent solution. Some say to dump your browsing history, others to turn caret browsing off in IE options.
Generally, there are lots of suggestions to get around the problem, but none to actually solve it.