Aptana 3.4.2 auto-close matching character pairs and keyboard shortcut - aptana

In aptana we have feature called auto-close matching character pairs, which automatic close brackets, quotas, etc. And there is tick in preferences -> aptana studio 3 -> editors:
auto-close matching character pairs for swich on/off this feature.
I changed computer to new one, downloaded and installed new aptana and found it very hard to switch this feature. tick on/off does not take a effect any more.
is there any reason meke this feature not work on fresh system?
Also, key shortcut right alt + up/down arrow (duplicate line) does not work, but in key assist it is displayed.
can anyone give me any sugestion what can I check to make auto-close matching character pairs feature and shortcut work?

Problem solved: Solution for this problem was uninstall aptana and install netbeans instead.

Related

RIDE.py for RobotFramework won't let me type more than one letter

I am using RIDE IDE for Robot Framework, however whenever I try to type in a cell in the test menu, it only lets me type one letter. any subsequent letters just reaplce the previous letters. My keyboard is not on insert mode. Does anyone know a solution to this problem?
You don't give any details about Operating System, Python and RIDE's versions, so it is very hard to help you.
My guess is that you are using RIDE with wxPython 4.1, and not the recommended version, 4.0.7.post2.
If this is the case, then you should go to the project page and read README.adoc or the F.A.Q. at wiki.

How to Find & Replace in Jupyter Lab

There's an option in Jupyter Notebooks where you can select some cells, and then hit F, which opens up a Find & Replace feature.
This shortcut doesn't work in Jupyter Lab. It's not in the Commands list and it's not in the Edit Menu (there is only Find -- and Find Next and Find Previous). Nor can I find a global (not specific to a cell selection) Find & Replace feature.
Does this feature exist? I've found old mentions of it on the internet -- has it been removed? I'm using Jupyter Lab version 1.2.3.
The Find & Replace feature was not removed, but the way it is named in the menu (simply Find...) and the UI which requires the user to click on a small arrow to access it may be confusing. Please see the GIF below which demonstrates how to use the search & replace feature:
If you need a slightly more powerful refactoring tool (i.e. distinguishing the variable scopes) you may want to check out my jupyterlab-lsp project which now includes support for the rename action (see here for a demonstration GIF, but please install a newer version, not the tag linked).
I am not sure if the original question was answered correctly. If I were to find and replace in only a selected cell, the top rated solution doesn't seem to work (in JupyterLab). The desired result is obtained by clicking on the ... button in the F&R menu. Check the attached snippet.
It can be easily done using keyboard in Jupyter as well.
Step 1: If you are inside any code block/cell, press Esc.
Step 2: Press F

How to close a tab with a keyboard shortcut in Atom?

I want to close the currently foreground file (tab) without closing the other items in this pane (the settings window, other open file)
ctrl-w is bound to pane:close this does not do what i want.
ctrl-shift-t is bound to pane:reopen-closed-item this does the opposite of what I want, but I cannot find the inverse of this
I want a keyboard shortcut equivalent to clicking the small x on the tab.
I have searched quite a bit, and cannot find a package or keybinding that provides this.
by a little search I found this discussion inside of atom forum which says:
If you search in Settings > Keybindings for “pane” you’ll find that ⌘K⌘W is mapped to pane:close. You can either use that mapping or a new one of your own devising to map to pane:close.
this is the link https://discuss.atom.io/t/close-pane-keyboard-shortcut/5701
** ---- update ---- **
I downloaded and installed the atom on my windows and saw the ctrl-w works pretty ok so I looked at the settings and saw it set to core:close command

Atom keymap combos dont work with arrow keys

I have this in my keymap.cson file:
'body':
'ctrl-alt-left': 'editor:select-to-first-character-of-line'
But it doesn't work (there is no effect).
The following keymaps do work:
'body':
'ctrl-alt-a': 'editor:move-to-beginning-of-line'
'ctrl-alt-e': 'editor:move-to-end-of-line'
'ctrl-alt-shift-s': 'editor:select-to-first-character-of-line'
'ctrl-alt-shift-w': 'editor:select-to-end-of-line'
But I would like to be able to use the arrow keys.
I'm not sure where you got the body selector from. You should use atom-text-editor for maps like this, as in the examples in the default keymap.cson in your .atom folder. This should do what you want:
'atom-text-editor':
'ctrl-alt-left': 'editor:move-to-beginning-of-line'
'ctrl-alt-right': 'editor:move-to-end-of-line'
'ctrl-alt-shift-left': 'editor:select-to-first-character-of-line'
'ctrl-alt-shift-right': 'editor:select-to-end-of-line'
When debugging issues like this, you must also keep a couple of other things in mind.
First, the meaning of alt varies by platform. On macOS, it means the Option key. On Windows or Linux, I believe it means the key labeled Alt, but your keyboard may be a bit different (especially non-US layouts).
Second, if a higher layer of the system (the OS itself, i.e. the window manager) is capturing a key combination, then it will never reach Atom at all. You can detect this situation using the Key Binding Resolver. You can activate it using Cmd. on macOS. I am not sure about other platforms, but usually Cmd on macOS maps to Ctrl on Windows and Linux, so I would suggest Ctrl..
While the Key Binding resolver is active, any keys or key combinations you press are listed in the resolver, along with the action (if any) within Atom that is taken. You can use this to determine what Atom thinks a given key is, and you can also use it to detect whether a given key combination is not reaching Atom in the first place.

Find and replace in selection or single file - Xcode 4.5

I'm stuck with a bit of an Xcode puzzle: how can I find and replace either in a selection I've made, or at least just in a single file?
According to the following topic there's a way to hold down the option key and Replace All should change to Replace in Selection:
How can I find and replace inside a selection in Xcode?
This either doesn't happen in Xcode 4.5, or I don't know how to do it. Right now I can bring up the find/replace option in the search navigator on the left, then hit return to search, or hit preview to bring up which files are to be changed.
As a workaround, I can search in a selected group (by right-clicking on a group in the file navigator), but being able to replace in a selection I've made, and in a single file would be extremely helpful.
Thanks in advance ;-)
In Xcode 4.6 (I don't have 4.5 on my system any more to check it), if you are in the editor window and press Cmd-F to bring up the Find view at the top of the editor (as opposed to the global search inspector you are referring to), and use the Replace option in it, holding down the Option key changes "Replace All" to "In Selection". This seems reasonable since the global search inspector is across multiple files while the option to choose "In Selection" really only makes sense when you are referring to a single file.

Resources