How to disable comment folding in ShellEd - eclipse-plugin

I installed ShellEd, a shell script editor for Eclipse.
It folds multiline-comments by default, and I can't find an option to turn it off. Is there such an option, and if so, where?

Right click on the folding symbol in the editor, select Folding from the menu, then choose your preferred option.
Took me MONTHS to find out myself.

This is just to expand on the correct answer already given by user3280555.
The keyboard short-cut to do this is Ctrl + Numpad_divide
If you want to do the same with your mouse:
This is what is meant by the "Folding symbol" on the editor:
Once you right click on it, simply uncheck: Folding > Enable Folding

Related

PhpStorm - permute reverse selection

I switched from sublime text to phpstorm recently and missing the permute reverse selection feature from sublime (CTRL+T on windows).
More clear:
Swapping selections with each other.
From
xxx
yyy
to
yyy
xxx
Do you guys know if there is something equivalent in PhpStorm? I didn't find anything in the www.
So after days of research this feature does not exist in PhpStorm, unfortunately.
I'll contact JetBrains.
Thanks though.
Maybe you help a option from awesome plugin String Manipulation
Menu → Edit → String Manipulation → Swap Characters/Selections
Configure hot-keys
Settings → Keymap
Search "Swap Characters" and select line
Add Keyboard Shortcut(press Enter)
Set your shortcuts
Press Apply and OK
Enjoy!
You can use Shift+Alt+Up and Shift+Alt+Down to moves lines up and down which should have the desired effect.
On Windows, you can press CTRL+ALT+S to show up settings dialog. On the left menu, select Keymap. In the search box on the right, you can type to find commands shortcuts. Also, the first button at right of that search box allows you to search a command by its shortcut.
Perhaps doing a little research with these two features you can find what you need. I'm not sure if PhpStorm has such feature (swapping selections), though.

Cycle through autocomplete suggestions without arrows

I'm really impressed with the autocomplete feature of the IntelliJ IDE so far.
What I'd like to do, is cycle through the autocomplete suggestions I get when hitting Ctrl + Space without using the arrow keys (↑, ↓).
The reason for this is that I prefer to keep my fingers on the home row (I'm using IntelliJ's Vim emulator additionally).
For example, how would I select sortThis instead of sorted without using the arrow keys or the mouse?
Peter Gromov's answer brought me to a satisfying solution:
In IntelliJ's settings, for Keymap → Editor Actions → Down I set a custom shortcut: Ctrl + J.
This way I can cycle forward through the suggestions.
Setting a shortcut for Down with Selection or Scroll Line Down in the IdeaVim-specific shortcuts did not affect the selection of autocomplete suggestions though.
The answer here: https://stackoverflow.com/a/9713306/2370679 led me to discover that Ctrl+n & Ctrl+p allow navigation of the auto-complete options without having to modify any settings
For macOS the IDE will give a hint that "^↑ and ^↓ will move caret up and down in the editor". These clearly do not work.
There are a few extra steps that are needed after following #matthias-braun's solution.
Here is the full list of step that I use:
Go to Preferences -> Keymap
Expand Editor Actions (not Plug-ins -> IdeaVim)
Select Down
Click the pencil icon or right-click
Select Add Keyboard Shortcut
Press the shortcut (I use ^N)*
Repeat for 3-6 for Up (I use ^P)
Click Ok**
Go to Preferences -> Other Settings -> Vim Emulation
In the drop-down under the Handler column for the row containing Down, select Vim***
Do the same thing for Up
* If you are warned about the key binding already existing then remove it. You can always reset back to the defaults by clicking the little cog icon up the very top to the right of the drop-down menu.
** The Vim Emulation doesn't seem to be populated correctly until you reopen the Preferences.
*** I'm not sure why the Handler should be Vim. This seems backwards to me but it works.
If you're able to scroll up/down in editor with some IdeaVIM-specific shortcuts, they should also work in the completion list.
In this particular case, I'd just type another "t" so that "sortThis" becomes selected (and the only) variant.
I have done the same thing with mapping the arrows but in a more logical way:
I mapped them that when I press 'Alt' 'J' is left, 'L' is right, 'I' is up, and 'k' is down. that way I can have easy access to the arrows while my fingers are on the home row and I don't need to move them nearly as much...
I'm posting it just so people who search it on google can have that idea.

How to allow code-folding on Geany IDE?

Is there any way to fold all of functions at one time on Geany IDE?
Is there any way to do that?
I am looking for any option which let my Geany IDE to fold all of the functions at one time.
Go to Document -> Fold All.
One may pre-configure Geany shortcuts for (un)-folding as needed:
Enter
Ctrl+Alt+P to open a Geany [Preferences] settings UI-panel
Select [Keyboard Keybindings] tab on the left,
Scroll down to section [+][Document] and unfold it's attribute settings
Setup an unused keyboard shortcut for each of, as handy:
- Toggle Folding On/Off on a current code-block
- Unfold the whole document
- Fold the whole document
( prompts are not exact, actual Geany language-localisation may provide other expressions while meaning is clear )
One may pre-configure Geany to enable / disable (un)-folding + details:
Enter
Ctrl+Alt+P to open a Geany [Preferences] settings UI-panel
Select [Editor] tab on the left,
(un)-Check selection boxes as preferred in:
[x] Enable folding
[x] Fold/Unfold all children of a fold point ... a [Shift]+<aMouseCLICK> is interpreted as a one-shot reversed setting of this preferences attribute

Disable click and drag cut and paste in IntelliJ Idea IDE

In my IntelliJ Idea 13.1.2 IDE I keep running into situations where I'm selecting on a click and drag via my laptop touch pad. I keep accidentally clicking and dragging text and cutting lines. I've searched the options and settings panels for the words click and drag but I don't see a way to turn this feature off. IntelliJ's help talks about how to use click and drag cutting but doesn't say how to disable it.
Does anyone know how to disable cut and paste through click and drag in the IntelliJ IDE?
I found it in Settings → Editor → General.
Under the Mouse heading. The option is called "Enable Drag'n'Drop functionality in editor".
This also seems to disable drag and drop moving of files though.
In WebStorm 2020.1 (and presumably in other Jetbrains IDEs), the related option 'Move code fragments with drag-and-drop' is in Preferences > Editor > General:
Unchecking the checkbox does the trick without unwanted side effects such as also disabling the drag-and-drop operations for files etc.
There is no way to disable Drag-n-drop highlighted text in the editor itself!!! ALT guard for drag-n-drop files is a good idea as I accidentally drag and drop files on daily basis. Kudos for discovering that I just enabled it.
I have contacted Intellij support to give us a setting that we can disable in editor drag and drop. I think that is a stupid feature in the first place...

How to disable auto show hints in JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm) on mouse over

How to disable auto show hints in IntelliJ IDEA on mouse over?
Edit:
This hint could be very big if you call existing method with incorrect parameters. It's very uncomfortable.
There are the same behaviour in PyCharm:
and WebStorm:
Those popups (or tooltips) has been my worst annoyance in the editor for a while. There is how I fixed it:
On the editor, at the bottom-right of the window, there is a head icon. Click it and uncheck the box "Import popup".
You can have a look at this guide (with images) to help you finding the checkbox:
http://www.jetbrains.com/idea/webhelp/disabling-inspections.html
I hope that can help you
TOTALLY: Open Settings (or Pereferences, if you are OS X user) dialog, choose Editor | Inspections. On the Mange tab (right pane of the dialog) select Copy. Then click the language node. Here you can find the setion that is probably responsible for your tooltips and disable it. Or disable the whole language node, if you like. This way you have all the IDE features working and no tooltips at all. You can return back to Project Default inspections profile when you need it.
PARTIALLY: Try to disable the respected intention action. Press Alt+Enter when you see the tooltip, select the action from the list and press the right arrow key. In the context menu, select "Disable".
From JetBrains Forum.
You probably need to uncheck the Inlay Hints.
For Windows 10 & PyCharm Community 2020.3.3 :
File > Settings > Editor > Inlay Hints
Uncheck Show hints for: