Once every few hours this happens - when I press Shift-2 to get a ", and # appears. When I press Shift-' it puts in a " (although this only appears after pushing another key as well). I am on an English (as opposed to American) keyboard. I must be pressing some sort of shortcut key combination, but I don't know what it is. It goes away when I restart Eclipse. I can live with this problem, but I would rather not!
Anyone know what the shortcut I'm accidentally using is, so I can avoid it/correct it in future?
Edit: Windows 7
If you have several language layouts on the computer you are probably switching on them.
What OS are you using?
If Windows 7 the shortcut is ctrl + shift
http://www.tomshardware.com/forum/10444-63-shortcut-keys-keyboard-language-changing
If you're using windows XP i think the shortcut was alt + shift
If you are using Windows, pressing Ctrl + Shift changes keyboard layouts. In your case it seems to Switch to the US layout which has the # on Shift + 2
Related
When I try to comment out multiple lines by CTRL+ Shift + /, it started working as Collapse All feature in Eclipse. I restored the defaults setting as recommended in other websites but did not help.
For instance, when I do CTRL+ Shift + L, I can see the Add Block Comment option and when I click it, it works. However, the shortcut shown as CTRL+ Shift + / is not working.
Here is my list of available key bindings using CTRL+ Shift + L:
How can I fix this problem?
Edit: Here is the screenshot of the list of the key bindings in Window > Preferences > Keys:
Second Edit: I use Windows 10 and I downloaded the last version of Eclipse which is 2019-09. I created a new project and a new Java class. The shortcut still works as collapse all.
I realized that CTRL+ Shift + Numpad_Divide is defined as collapse all. For some reason, my computer consider / as Numpad_Divide and does not function as comment out.
Just throwing this for future users:
I had the same issue on my eclipse. I am using windows 10 as well.
Anyway before the commands CTRL+SHIFT+numpad... will work first you need to "enable" this mode by pressing CTRL+numpad_divide. You will notice that next to all functions little minus signs will apear. Once you do that you will be able to use colapse, colapse all, expand, expand all.
Pressing CTRL+numpad_divide again will disable this mode and you won't be able to use those shortcuts.
Most keyboards have two "/" keys, and the problem you experienced will arise if the incorrect "/" key is used when trying to Add Block Comment for selected code:
The "/" key on the number pad is the divide key, and this is the key that must be used with CTRL + Shift + / to Collapse All.
The "/" key to the immediate left of the Shift key is the forward slash key, and this is the key that must be used with CTRL + Shift + / to Add Block Comment for selected code.
You can see the distinction when viewing the Tools > Preferences > General > Keys screen, though it is not obvious at all:
For Collapse All, Eclipse helpfully describes the divide key as "Numpad_Divide" for the binding:
However, for Add Block Comment Eclipse only describes the forward slash key as "/" for the binding:
Eclipse could remove the ambiguity if it described the forward slash key as "Forward_Slash" instead of "/".
Is there an equivalent of Ctrl + Shift + L (show shortcut references) from Eclipse in IntelliJ IDEA?
I am switching to it from Eclipse but I have to check the keymaps frequently and I would like to have access to the quick reference of shortcuts instead of opening the settings to do it.
Learning shortcuts: I switched from Eclipse, too. Initially I started with the Eclipse key bindings, but then decided to switch completely. I used KeyPromoter for about 2 days, it is annoying but increases the learning curve heavily. Help->Find Action... (Ctrl+Shift+A) helps, too.
Reference card: After that I printed my own shortcut reference. Took one hour, but it was worth the time, because I have adapted some shortcuts and some shortcuts are displayed incorrectly in IntelliJ Idea. Here's a Word template.
Command + Shift + A displays a field that performs a search on an action or option name. Shortcuts along with their corresponding keymap are displayed during the search.
I think Ctrl + Shift + L (show shortcut references) from Eclipse must do "Introduce variable..." In Idea it is Alt + Shift + V or with menu Refactor/Introduce variable...
May be useful to somebody(begginers like me :) ).
The correct answer is Ctrl+Shift+F to search text everywhere in the project.
I usually use "Shift Shift" that it searc everywhere shorcuts included.
So for example if I need to search "Optimize import" I do
Shift Shift and write "import" or "optimize" and it appear.
hello I have recently installed aptana studio 3 again and I am having where my text font size minimizes when I do the command (Ctrl + -). I am talking about the font under General->Appearance->Colors and Fonts->Basic->Text Font. This command works like in photoshop/illustrator where the size minimizes. However I do not want this command because I usually press it on accident. I have looked under keys and I can't find this command so I can change it. It wouldn't be so bad but the command Ctrl + + doesn't upsize the font like it normally does in other applications. Any suggestions?
Try holding down your shift key: CTRL + SHIFT + +
Aptana Studio 3 has a problem with shortcuts.
I accidentally zoomed out my code and as I'm in Portuguese Keyboard, Ctrl Shift + didn't work to back to the default zoom value.
The solution to this problem (probably many other keyboard set's are having this problem) is to change your language preferences (Win Key space OR find it in Control Panel), to English keyboard.
Then with the help of this image, I find the + is the first key to left of the backspace.
This way you could go back to 100% zoom by hitting, Ctrl Shift (first key to left of the backspace)
Very strange situation ...
Select the whole page you are writing the code.click on the right button of the mouse. click preference.In the above of the window, there are a link named "Colors and Fonts",click here.click edit.
One thing that has always frustrated me with using Eclipse on the Mac is the keyboard mappings that require the Alt or Option key. I'm used to using Eclipse in a Linux environment, and using that key in the mappings isn't an issue. However, on the Mac its purpose is for entering special characters.
Is there any way to switch this so that Eclipse's default key mappings work correctly?
I use commands like Alt + Shift + C, Alt + Shift + T, and a few others quite frequently, and not being able to slows me down. I also would like to use what I'm used to so that switching environments is a little more transparent.
Is this what you're looking for?
To modify just go to "Binding:" and then press the hotkeys
It's so easy to select a block of code and tab out, but how about the reverse?
Currently, I just search and replace for white space at the beginning of the line. Is there anything faster?
In Visual Studio and most other half decent IDEs you can simply do SHIFT+TAB. It does the opposite of just TAB.
I would think and hope that the IDEs you mention support this as well.
Shift-tab outdents again :)
The standard shortcut keys are covered in Standard Accelerators.
You'll find many of the more esoteric ones on FAQ What editor keyboard shortcuts are available?.
Here is a general answer for untab:
In Python IDLE: Ctrl + [
In Eclipse: Shift + Tab
In Visual Studio: Shift + Tab
In general, Shift + Tab works for any environment.
This workaround works most of the time. It uses Eclipse's 'smart insert' features instead:
Control + X to erase the selected block of text, and keep it for pasting.
Control + Shift + Enter, to open a new line for editing above the one you are at.
You might want to adjust the tabbing position at this point. This is where tabbing will start, unless you are at the beginning of the line.
Control + V to paste back the buffer.
I hope this helps until Shift + TAB is implemented in Eclipse.
Shift + Tab does that in Flex Builder (based on Eclipse), so it hopefully should work in regular Eclipse :)
In PyCharm, just use Shift + Tab to move a block of code left.
You can do this by going to the Window menu → Preferences, and then open the General list. Choose Keys.
Scroll down the list of keys until you see "Shift Left". Click that. Below that, you'll see some boxes, one of which lets you bind a key. It won't accept Shift + Tab, so I bound it to Shift + `. Apply Apply and Close, and you're all set.
Yes, in PyCharm: Shift + Tab works fine.
You can also change the shortcut. Use the Command + K, Command + S shortcuts to open the Keyboard Shortcut menu. Search for the "tab" and find the "outdent" in the list.