My VS 2015 doesn't seem to offer code completion unless I use ctrl+space or a period. Is there an option for code assist to auto pop up when you start typing? I already have "auto list members" checked in Text Editor -> All Languages. This is really annoying because I have to use the hotkey every time for syntax keywords and variables.
Thanks
You can change the intellisense settings at
Options -> Text Editor -> C# -> IntelliSense
Make sure "Show completion list after a character is typed" is checked.
Tools -> Options -> Text Editor -> All Languages (assuming you want that) -> General -> Statement Completion -> check "Auto list members"
Related
I use Netbeans 7.2.1, when I type private String a(Java code), the IDE shows a tip window aString which asks me to name a variable with its type as postfix. In addition, when I continue to type ;, it completes the code with private String aString;. Actually, I do not like this naming style, so, how to change the settings?
For windows :
Go to Tools > Options > Editor > Code Completion
Select Language Java from dropdown
Auto pop-up on typing any Java identifier part
You can take help from the images below:
Under Preferences -> Editor -> Code Completion is where you can find the auto complete properties. You can disable the 'Auto Popup Completion Window' to keep it from automatically popping.
You can bring up the auto complete popup with the hotkey: control+space
Also while the completion window is displayed, pressing the esc will close it without inserting an autocomplete value.
Go to: Preferences -> Editor -> Formatting.
In the drop-down box "Language", choose "Java".
There are many other categories you can choose from and you can customize your code formatting style there.
I have Visual Studio 2012 with Resharper installed. When editing css files, when I type /*, I get autocompletion like so: /**/
I would like to disable that, but I cannot find it in the options menu.
Where can I disable that?
Thank you!
One way to avoid this annoyance is to add the closing comment symbols first.
Go to tools -> options -> text editor -> all languages(or chose one), and untick Automatic brace completion. You can also search for it in options menu.
I don't want Eclipse to display any keyword in bold. I've browsed through a lot of options in the Preferences window, but could not find a way to do this. Is it possible?
This depends on the type of file you're editing. For example, in Java:
Window menu -> Preferences -> Jave -> Editor -> Syntax Colouring -> Java (in the "Element" box) -> Keywords excluding 'return' -> Uncheck bold
Similarly for "Keyword 'return'".
Look at the preview to check everything you want is no longer bold.
I'm trying to disable the automatic closing of brackets in Eclipse, and while I've mostly succeeded, I can't stop the editor from inserting a closing parenthesis for a method call. The result is that when I type:
myBool.equals(true);
it inserts a closing parenthesis as soon as I type the opening parenthesis, and what I actually get is:
myBool.equals(true);)
I've disabled all of the auto-complete options in the Preferences -> Java -> Editor -> Typing menu, as well as Preferences -> Java -> Editor -> Content Assist -> Fill method arguments and show guessed arguments. I also disabled the smart insert mode option under the Edit menu. Is there another option somewhere else I need to use to stop Eclipse from doing this?
This is with Eclipse 3.5.2 (Build ID M20100211-1343) in case it matters.
Edited to add: I should also mention that this only happens if I wait for the "intellisense" pop-up with suggested method names to appear after I type the period. If I just continuously type the code without waiting for the suggestion box to appear, the closing parenthesis doesn't get inserted.
I don't know how to disable the method parenthesis auto-complete - so I'm not sure, if you'll be satisfied with my answer. But to avoid ending up with
myBool.equals(true);)
you can actually enable (Parenthesis, [square] and <angle> brackets in the Preferences -> Java -> Editor -> Typing menu. This inserts the parenthesis automatically (which you probably don't want), but you can just continue typing normally, as you would in an editor without "intelligence": Your closing parenthesis will simply overwrite the automatically inserted parenthesis, so you won't end up with );).
If I understand the problem correctly, here is the solution! I had the same problem.
Main Menu | Window | Preferences | <The language you are using> | Editor | Typing
In the section "Automatically close," uncheck the options you don't want.
I don't know if this functionality is new. I just started using Eclipse again and haven't ever used it much.
I found the answer on this stackoverflow page.
As you noticed, it only happens if you wait for the proposals ("intellisense") box to pop up.
The "solution" is to disable proposals under one or both of the following, although doing so is probably more of a hassle because of what you'll be giving up.
Preferences -> Java -> Editor -> Content Assist -> "Insert single proposals automatically"
Preferences -> Java -> Editor -> Content Assist -> Advanced
I've always found the eclipse's automatic close quotes and parenthesis features to be useless. For example hitting on a single " will lead to
"<cursor>"
I don't need the second quote. It's annoying to remove afterward. How to turn this feature off?
Update: I now kept the setting on. If you type another quote " it will break through.
Try Window -> Preferences -> Java -> Editor -> Typing and uncheck the "Strings" checkbox in the "Automatically close" group.
You need to turn this feature off for all editors:
Go to Preferences and in the "type filer text" box type "typing".
Then click on each result and un-check all unwanted automatically close options.
Jump out of the quotes by simply hitting Enter when you are done typing the string contents (at least, in the java editor).
To turn off auto quotes in Titanium Studio, under preferences -> Titanium Studio -> Editors -> uncheck "Auto-close matching character pairs"
You could also hit quote when you want to exit the auto-complete quote. This will put you outside the quote as if you closed it yourself. So this feature doesn't really break the flow of you programing.
The location for similar auto quoting capabilities in PyDev for eclipse:
Windows -> PyDev -> Editor -> Typing -> "Automatic literal closing."
In order to enable pressing enter to exit the quotes check "Enable link on automatic parentheses or literals closing."