Auto- or code completion for PyCharm on Mac - autocomplete

I need help with enabling auto-complete giving suggestions when I write code. I recently reinstalled PyCharm and I remember that the IDE giving me suggestions when I was writing, example:
I write "pr" and a suggestion list pops up with "print(), ...".
Couldn't find if this is a recent issue for Mac users but I tried comparing with a friend (Windows-user) and she had no problems.

PyCharm 2019.2:
Open up preferences (⌘ + , or PyCharm > Preferences), navigate to Editor > General > Code Completion and check Show suggestions as you type checkbox. This will enable code completion suggestions when you type.
Alternatively, you can double tap Shift key, type in code completion and explore the options there.

Related

How to activate intellisense in VScode? (c#)

I just want to activate autocompletion in VS code. There's a lot of answers to that questions but NONE of it actually helped me. (so please don't mark as duplicate when other answers DON'T help) Apparently, you have to press "Ctrl+Alt+Spacebar" but this doesn't work or me. I don't see any option in the nav menu to toggle a completion mode either. Or maybe you need to create a file in your folder? I don't know! non of this worked and I don't even know how it did work when I've seen intellisense! So please help me find a way to do this, and it'll better if this would be permanent. Thanks.
First you must have an internet connection.
Then you should find extensions sidebar in vs code(you can open it by press 'Ctrl+Shift+X' or open it in top of the screen, View->Extensions).
After that you should search for C# extension that made by Microsoft(search C# in search textbox and click on first result)
Picture of searching C# extension
Then install that extension by clicking on install button
Wait a few minutes to install (e.g it took 15 minutes for me)
Now you have C# extension.
After that you should close the VsCode and open again.
Now you have auto completion (if not, you probably should press 'Ctrl+Space' while coding)
If you want to have smart auto completion, VsCode doesn't have IntelliCode for C#. IntelliCode is just for Visual Studio.
But you can use Tabnine or Copilot extension(you can search and install it like installing C# extension but you should search tabnine instead of C#)
Tabnine is good but it couldn't help me like Intellicode in Visual Studio.

How can I make Visual Studio Code's auto-complete suggestions appear more quickly?

I have more than sufficient resources free:
but Visual Studio Code is taking several seconds to show an auto-completion list, even when I have typed 80% of what is to be completed.
How can I make Visual Studio Code's auto-complete suggestions appear more quickly?
It is possible that you have some VS code's extension enabled that is slowing down your system.
To check if that's the case open Command Palette (Ctrl+shift+p) and type "Disable all installed extensions".
Check if the experience is faster and more responsive now. If that's the case now you need to find the extension that is slowing you, for doing so follow these steps:
open Command Palette (Ctrl+shift+p) and type "Show Installed Extensions", now from the list you will have to spend some time activating and deactivating extensions until you find the one causing the troubles.
NOTE: You can show suggestions at any time pressing Ctrl+space and Ctrl+shift+space, so you can try forcing it when it's not showing.
An out of blue suggestion, but you can try light weight editors like Sublime text 3. The response time in auto-complete there is one of the best I have ever seen.

Is there any plugins of VSCode for angular1.x to "go-to-definition"?

I used to code using webstorm. and it could go to definition simply by pressing ctrl and click the dropdown options.
angular2+ using typescript and supported by VSCode itself already.
anyone's help are appreciated

Eclipse autocomplete parentheses in control structures

I have a quick question that might save me a few seconds of annoyance every day. I know that eclipse can do a lot of autocomplete magic, so this might be possible:
As a programmer who learned with python, I constantly forget to surround contitions in control structures (like if or while) with parentheses. How do I make eclipse autocomplete opening and closing parentheses when I finish typing while or if?
I am aware that I can autocomplete whole structures with ctrl-space, but how can I configure eclipse to do this by itself?
Any help is appreciated.
So in stock Eclipse, the usual way to bring up assisted content is to type Ctrl+Space. The problem with this is that it brings up both Help Proposals and Template Proposals, with the Help Proposals displayed first. You end up wasting time scrolling down to find what you actually want from the Template Proposals. And there's just that much more clutter to choose from.
The solution is this:
Go Window->Preferences->General->Keys. In the type filter text search for "Template". This should bring up a "C++ Content Assist (Template Proposal)" line. Click on it. Now map this to whatever shortcut you'd like (I did Shift+Space because that's an easy one to do while typing). Make sure to click on the "Binding" option to do this. Click "Ok" and you're done!
If you ever want to add or change what is brought up by that shortcut, and for which specific strings it works, just go Window->Preferences->C/C++->Editor->Templates and you can edit those to do exactly what you'd like when using that newly assigned shortcut.
Hope this helps.
EDIT: I am unable verify if this works for PyDev, as I'm running Eclipse Oxygen, which doesn't currently offer PyDev or the Eclipse Marketplace Client plugin. However, my guess is this would still work in PyDev. Best of luck!
Sources:
Setting auto complete shortcuts in Eclipse
How to change the Control+Space autocomplete shortcut keys in Eclipse for Android
Thanks for any help, but the only thing that seems to work are workarounds. My prefered "solution" is to change the Auto activation triggers for Java in Preferences>Java>Editor>Content Assist from . to .iwfs, so that the autocomplete dialog automatically pops up when I start typing if, while, for or switch. Then hitting enter will do exactly what I needed.

Eclipse Content Assist Showing Same Options Everywhere

I am using the latest version of Eclipse (4.3) and every time I go to use the dot operator it shows the same options every single time. Here is what it shows.
As you can see it only displays things such as "create new object" which does not make any sense for an import. Can anyone explain why this is happening and show me how to get it back to normal?
You can check and activate the available autocompletion suggestion providers via Window > Preferences, Java > Editor > Content Assist > Advanced.