RubyMine quick doc on intellisense? - rubymine

Is it possible to show quick documentation about highlighted item on the intellisense menu in RubyMine like Eclipse does for Java?

View | Quick Documentation or it can be configured to appear automatically on explicit code completion in Settings (Preferences on Mac) | Editor | Code Completion: Autopopup documentation.

Related

Disable the "refactor preview" confirmation tab

A few weeks ago, refactoring code using F2 worked without any confirmation. Since a few days, however, using F2 opens up a "Refactor preview" tab in the bottom panel.
The refactoring will not be done until I manually check what I want to refactor, and click the checkmark at the top right.
I cannot find anything online or in the vscode settings. Can this be disabled so that the refactoring automatically proceeds like it used to?
Are you accidentally pressing Shift + Enter after renaming?
This behavior should only happen after you press F2, change the name of the item, and then press Shift + Enter. Pressing only enter should automatically perform the rename without the refactor preview tab opening. The rename box states this:
In case its not clear, here is a video that illustrates this.
Note: This solution is only for c/c++ case. The reason is that C/C++ extension is doing bad in analyzing the code and relies on user to determine which ones to rename, then the preview panel is poped up for this.
Try disable Editor > Rename: Enable Preview in settings, and then restart vscode.
If the problem still exists, try replace C/C++ extension's intellisense with clangd:
Install clangd extension in vscode;
Disable C/C++ extension's intellisense by adding this to settings.json:
"C_Cpp.intelliSenseEngine": "Disabled"
Then vscode will adopt clangd's intellisense, which renames without a preview.
Uninstalling C/C++ extension is NOT recommended because intergrated gdb will be lost, but you can try lldb as a substitude:
Install CodeLLDB extension in vscode;
Configure cmake's default debug type to lldb in settings.json:
"cmake.debugConfig": {
"type": "lldb"
}

How to get rid of these underlined things in Visual Studio Code?

Whenever I type any HTML code in Visual Studio Code these items underline automatically which make code very illegible. I was looking for some solution but I haven't find anything useful.
Here's the example:
go to Files > Preferences > Settings in your VSCode
then search for editor.links in your settings search bar, uncheck the option Editor: links and thats it

Sorting tabs in VS Code

If I open the following files in Visual Studio Code: style.css, comments.php, archive.php, footer.php
VS Code shows the tabs in the following way:
archive.php | comments.php | footer.php | style.css
I need to show it in the order that I open it, that is: style.css | comments.php | archive.php | footer.php
In other editors, it works like this.
How can I configure to show me the tabs in the order that I open the files?
Try this but you do not have that option "explorer.sortOrder": "modified"
workbench.editor.openPositioning: right should work for you.
Workbench › Editor: Open Positioning
Controls where editors open. Select left or right to open editors to
the left or right of the currently active one. Select first or last to
open editors independently from the currently active one.

Avoiding Netbeans documentation pop up window when editing code

This info window you see down here appears every time some CSS property or HTML attribute is written. The one on the top contains documentation about that element, and I dont want it to appear as it is very annoying when coding.
How can I make it not appearing? I've searched on Tools - Hints but cant fins this option.
Tools->Options->Code Completion tab
Remove checkbox from "Auto popup documentation window"
Netbeans 8.2
Tools -> Options -> Editor -> Code Completion -> Auto popup documentation window
Click on Tools--->Java Platforms.
Classes tab will be open by default,please switch it to Javadoc tab!
There will be a manual entry for javadoc like http:\\docs.oracle.com/java/api/...,kindly click on Remove button,close this window and then restart Netbeans IDE!!!
This effect will be done and you won't be seeing any popups!
If it doesn't help,please leave a comment!

Eclipse: Enable autocomplete / content assist

How can I enable autocomplete in Eclipse? I can't find it!
If you would like to use autocomplete all the time without having to worry about hitting Ctrl + Spacebar or your own keyboard shortcut, you can make the following adjustment in the Eclipse preferences to trigger autocomplete simply by typing several different characters:
Eclipse > Preferences > Java > Editor > Content Assist
Auto Activation > Auto activation triggers for Java
Enter all the characters you want to trigger autocomplete, such as the following:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._
Now any time that you type any of these characters, Eclipse will trigger autocomplete suggestions based on the context.
By default in Eclipse you only have to press Ctrl + space for autocomplete. Then select the desired method and wait 500ms for the javadoc info to pop up.
If this doesn't work go to the Eclipse Windows menu → Preferences → Java → Editor → Content assist and check your settings here
window->preferences->java->Editor->Contest Assist
Enter in Auto activation triggers for java:abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._
Apply and Close
other method:
type initial letter then ctrl+spacebar for auto-complete options.
For auto-completion triggers in Eclipse like IntelliJ, follow these steps,
Go to the Eclipse Windows menu -> Preferences -> Java -> Editor -> Content assist and check your settings here
Enter in Autocomplete activation string for java:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._#
Apply and Close the Dialog box.
Thanks.
For anyone having this problem with newer versions of Eclipse, head over to Window->Preferences->Java->Editor->Content assist->Advanced and mark Java Proposals and Chain Template Proposals as active.
I am not sure if this has to be explicitly enabled anywhere..but for this to work in the first place you need to include the javadoc jar files with the related jars in your project. Then when you do a Cntrl+Space it shows autocomplete and javadocs.
If you are only unfamiliar with the auto-complete while typing syntax or inbuilt methods in the eclipse you can simply type the desired syntax or method name and press Ctrl+Space that will display the list of desired options and you can select one of them.
If the auto-complete option is not enabled then you have to check your settings from Windows menu -> Preferences -> Java -> Editor -> Content assist
If the auto-complete option is not enabled then you have to check your settings from Windows menu -> Preferences -> Java -> Editor -> Content assist->Advanced and mark Java Proposals and Chain Template Proposals .
In Eclipse click Windows Drop-Down > Click Preferences > Navigate to Java > Editor > Content Assist
In order to Make the Auto suggestion/completion to work you have to set trigger that invoke the Auto Completion.
Now go to,
Auto Activation > Auto activation triggers for Java
Enter all the characters you want to trigger autocomplete to be
invoked in Eclipse IDE, such as the following:
Alpahabets: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
OR
Special Characters: ~!##$%^&*()_+=-:;'"|?/.,
OR
Any combination of Alpahabets & Special Characters.
Now based on the references, Eclipse will trigger autocomplete suggestions for you.
For me, it helped after I changed the theme to 'mac' since I am running on a MacOSX.
Eclipse: >Preferences > General > Appearance > Choose 'Mac' from the menu.