Python autocompletion comparable to IPython Notebook for Sublime Text 3 - python

Does anyone know of anything comparable? I am currently using Anaconda for linting and autocompletion, but it is nowhere near as good as the IPython Notebook autocompletion.

The package SublimeCodeIntel is the best I've seen in Sublime for Python autocompletion. It's available through Package Control or on github.

I had the same concern when moving from Jupyter Notebook to Sublime Text, and tried Anaconda's autocomplete, which is far worse than Jupyter's.
But after trying SublimeCodeIntel, all problems solved! It is almost same as VSCode's auto-complete and code tips.

Related

intellisense vscode not showing parameters nor documentation when hovering above with mouse

I'm trying to migrate my entire workflow from eclipse and jupyter notebook all over to VS Code. I installed the python extension, which should come with Intellisense, but it only worse partly. I get suggestions after typing a period, but don't get any information on parameters nor documentation when hovering over with my mouse. Thank you so much for your help and have a wonderful new year!
P.S If anyone has any experience with using anaconda environments with VS Code, that would be greatly appreciated as well as I running into some problems with it recognizing the libraries.
Also you can see here that when I manually activate Intellisense, it doesn't recognize that it's in a method.
Sorry for the long string of edits, but I discovered that when typing print in a regular python file, it works, but not in a jupyter notebook file. Also, it still doesn't work for numpy. Thanks for the help everyone.
You could use the shortcut key "Ctrl+Space" to open the suggested options:
In addition, it is recommended that you use the extension "Pylance", which works better with the extension "Python".
Update:
Currently in VSCode, the "IntelliSense" document content is provided by the Python language service, which is mainly for Python files (".py" files call this function), while in Jupyter, the "IntelliSense" used by the ".ipynb" file comes from the extension "Jupyter". You could refer to the content of this link to use VS code insiders, and its notebook editor has better intellisense.
In VS code insiders:

How can I get sublime to stop outlining my comments?

I have been trying to get sublime to stop outlining my comments with python but am having a hard time. I am not sure if it is one of the packages I downloaded, or the language I am using. It makes it difficult to read whats in the comments sometimes. I am new to programming and this text editor and would appreciate any help, thanks! Here's what it looks like
The packages I installed are anaconda, Djaneiro, Emmet, PyV8, requirementstxt, sidebarenhancements, sublimeLinter, and sublimeREPL.
Since you installed the anaconda package you need to add the following package setting:
"anaconda_linting":false
See the Anaconda Python IDE docs
There is people that doesn’t care about linting or they just use another plugin to do it, they can completely deactivate this feature setting the anaconda_linting as false in the anaconda or project configuration.
note: imports validation depends of anaconda linting handler so it will not work if anaconda linting is disabled

Pycharm integration with Anaconda 3.6.0

I'm having a little bit of trouble with Pycharm Community recognizing Anaconda 3.6.0. The interpreter works and runs programs, however, it doesn't seem to be reading the code intuitively and providing any of the suggestive features (autocompletion) or colouring for the different text (i.e all text is just grey). So it's more like a featureless text editor that can run code then a sophisticated IDE at the moment.
When using standard Python 2.7 as the interpreter it has all of the normal features that should be appearing. I thought Pycharm had full support for Anaconda and should have these features. Does anyone have any suggestions as to what to do? Thanks!
I hope you are making sure to select the right interpreter for both the project as well as general interpreter in File->settings. I have installed anaconda for both python 2.7 and python 3. I specify the path of the anaconda version I want to use for the current project and it works fine.

No autocompletion with the ipdb prompt when using Spyder

I'm using Spyder for my python programming.
I'm having a problem when I use the debugfile (F7) command/function.
Once in the ipdb prompt I have no autocompletion and the up arrow action (for the history of commands) does not work.
When I'm using IPython on the terminal (I'm on MacOS) everything works fine.
I have installed Spyder, ipdb, and IPython using macport.
When I've tried installing with anaconda, the same problem occurs.
Do you have any idea of what's happening?
Thanks
(Spyder dev here) This is a limitation of the new, kernel-based architecture of IPython. We're planning to create a workaround over it and also significantly improve our debugging facilities next year, as can be seen in our Roadmap.

IPython IDE for Windows

I recently installed IPython after hearing about it on this forum. I am looking for an environment that is similar to what might come with MATLAB or RStudio for R.
I was under the impression that IPython would give me that but the version I downloaded for Windows looks very bare. In fact I do not really see a difference between IDLE and IPython except tab completion and history (which I have been wanting) but this is about as much as the interpreter that comes with R which I used to think was hard to work with.
Have I misunderstood the point of IPython? Or is it possible that I have not installed correctly?
I have also downloaded the 'Console' and while I am not convinced that it is working properly, it looks very bare as well.
Komodo looks good but is somewhat costly. Netbeans and Eclipse also look good, but do not seem to be straightforward to install, at least for somebody with my level of knowledge, so it would be good if somebody could verify their compatibility with Python, features, and ease of use for a non-expert user.
I suggest you try Spyder
You can find it here : https://www.spyder-ide.org/
It is perfect for you : it is a lightweight Scientific IDE with the explicit purpose of being similar in feel to matlab.
It has an editor, a console and lots of neat features and plug-ins.
It can use IPython as its console.
IPython is "just" an enhanced python console with pure awesomeness built-in. (actually it's much more : it's a client-server architecture with multiple interfaces to pure magic, in console mode, Qt, and even inside a browser with the Notebook)
Definitely check it out later on when you've used the basic console for a while.
For the context, i've been using Eclipse, pycharm, got tired of those, and i started to ask around what people use, and the one i've heard the most about is sublime text.
You should take a look, maybe it's what you are looking for!
I just saw it's not open source though!
What i'm using now is Ninja-IDE, which is written in python and is open source and seems pretty good! It has plenty of plugins, which includes an IPython plugin
Have you tried the qtconsole backend? It was released after you asked your question.
This is a very lightweight widget that largely feels like a terminal,
but provides a number of enhancements only possible in a GUI, such as
inline figures, proper multiline editing with syntax highlighting,
graphical calltips, and much more.
From the Windows command prompt, enter:
ipython qtconsole

Categories

Resources