I have clicked keyboad during I use netbean IDE, but I don't know which key and then it appar marcro set. Mean that create shortcut key in netbean. At those I create one shortcut key is I clicked key space + key inter
now my computer can't click the key space. When I click it not action.
As I think if we unset marcro it will work.
Please help me
Thank
Tools/Options/Editor/Macros
There you can define and edit macros and also set the shortcut (to none in your case)
If you want to delete an assigned shortcut in Netbeans got to: menu "Tools" --> option "Options" --> click icon "Keymap". Then search in the column "Shortcut" (can be ordered by clicking on the column header) for the shortcut you want to change.
Related
i find very useful the intellij shortcut 'Add selection for next occurence'.It basically adds to the current selection the next occurence of the same selected text,allowing so to modify a lot of same occurences at once and at your choosing(and not just all the occurences).
Now i've switched to eclipse to develop in php(and more),and i would like this shotcut back, but i cannot find it.I found the one that gets all the occurences(the name is 'Add all matches to multi selection'),but not the one who just gets the next one.
Can someone help?
In Eclipse, the command to add the next occurrence to multi-selection is called Multi selection down relative to anchor selection.
By default, there is no shortcut for this command, so you have to add a key binding yourself in the preferences General > Keys (hit Ctrl+Shift+L twice), e.g. Alt+K (which would be similar to Find Next Ctrl+K).
See also:
Eclipse 4.24 - New and Noteworthy - Action commands for multiple carets/selections
My Eclipse 2022-06 Java IDE Improvements video at 8:46
I've got a problem with php storm. Every time I press Enter after a word, PhpStorm makes up a tag instead of a new line as you can see here:
Do you know where I can disable this function?
Please check your Emmet settings (expand key) -- you may have Enter as expand key -- use more traditional Tab or something else instead.
Settings/Preferences | Editor | Emmet
IN Eclipse i want to chnage the default editor of some .htm files.
If i try to go to FIle Association and assiciate the default editor then file gets opened in that new editor but i don't get the syntax highlighting.
The solution is that the file association is locked ny some plugin editor
Preferences -- Context type----text ----Your editor -- reomve the extension
But i get the .htm(locked) so i cant remove it.
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-content-type.htm
Note: Certain items will be marked as "locked". An item is locked if
it is one of the associations provided by the plug-in that declares
the content type. In other words, you can remove only user-contributed
associations.
Is there any way to remove those locks even thought it can be hackish way but i want to do it
You don't need to "unlock" an existing association to add a new association and make it the default.
Add a new association via the "Add" button
Select the new entry
Hit the "Default" button to make your new entry the default editor
Could it be, that you want to change the "File Association"? This can be done in General / Editors / File Associations. BUT Eclipse uses at least one default-editor and this is the reason for the "locked"-message in the "Content Types". You could set the "Text Editor" to all unwanted types. Looks like a workaround, but makes sense, because it is the same as the file associations of your operating system, that asks you for the program to display the file.
Another question is, why do you want to unlock or remove the "Content Type"? Does it change anything in the Eclipse logic?
Go see this answer from "Greg Desmarais" (assign the desired editor to "default")
https://stackoverflow.com/a/15642583/162094
is there an option or plugin for eclipse which would enable multiple simultaneous selections in the same editor.
In sublime text, selecting some text and then pressing Ctrl+d will add next instance of the same text to the selection if possible. After selecting the instances needed the editor has multiple carrets (not necessarily on the same or adjacent columns and rows). In this mode it is possible to move all cursors forward or back simultaneously and to edit all instances of text simuntaneously.
I find this feature very usefull and miss it sorely in eclipse..
This Eclipse plugin attempts to provide this feature: https://github.com/caspark/eclipse-multicursor. From the README:
What is this?
A work-in-progress attempt to provide Sublime-Text-like
multi cursor support for text editors in the Eclipse IDE.
What works?
Multiple identical lines can be edited simultaneously using Eclipse
linked mode editing (similar to existing "rename in file"
functionality)
Next steps
"select next" functionality + associated editing using Eclipse linked
mode
"find next" + associated editing
editing of non-identical text / editing without using linked mode
split selection to lines
regexp support for find next
This feature is available in LiClipse.
See it in action (more towards the end of the video).
It supports linking with Ctrl+K, unlink with Shift+Alt+K, Ctrl+Alt+mouse double click to select words or Ctrl+Alt+Mouse to make a selection of a region (or just end lines).
Preferences>General>keys>Rename - refactoring
I changed the binding to command + shift + R when > Editing Text.
Sorry for bringing up an old question, stumbled upon it after searching google for the problem
Alt + Shift + A, then you can hold shift and use the cursor in multiple lines.
Like Ctrl+D I could not find, but like Alt+F3 in sublime (multiselects all matches), you can do by pressing Alt+Shift+R, or select text > right click > refactor > rename.
Must say that this does not work with any kind of text. It works with names of variables, functions, classes etc.
Tested on Eclipse 3.8.1
ALT + SHIFT + F worked for me.
You can see shortcuts for all here:
Goto -> Window -> Preferences -> General -> Keys and search for replace then you will see binding for Find and replace. In the bottom of that window, you can add your key to Binding text box. There you can add or edit any keys as shortcut.
If you want to replace selected word's matching words or find selected words, use below keys because you do not need to select all words in eclipse:
Ctrl+F gives me Find/Replace dialog box.
Or you can,
First Alt+A
Next Alt+F
Then press on Replace or Search button occurding to your need.
Is it posible, with eclipse, to change the called method name using of auto completion (ctrl + space) but without creating a new brackets. Otherwise I have double brackets:
person.hello()();
and must manually delete new brackets.
~thx
You can change the preference
Java -> Editor -> Content Assist -> Insert
form "Completion inserts" to "Completion overwrites". You can also toggle the settings while the content assist is active - thus if you do not want to change the global setting just hold down the Ctrl key while pressing enter on the new method on the provided method list which you opened with Ctrl-Space.
Double-click on the method name, hit Ctrl+F, fill in "Replace with" field with new method name, hit "Replace/Find" to do it one by one or "Replace All".