When comparing Notepad++ vs PyCharm Professional Edition, the Slant community recommends PyCharm Professional Edition for most people. In the question“What are the best JavaScript IDEs or editors?” PyCharm Professional Edition is ranked 19th while Notepad++ is ranked 33rd. The most important reason people chose PyCharm Professional Edition is:
PyCharm has CVS, Git, Subversion and Mercurial integration.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Syntax highlighting for a wide variety of languages
Notepad++ has built-in support for syntax highlighting for a wide selection of programming languages.
Pro Light and fast
Notepad++ is a very light program that starts almost instantly. This makes it a great text editor for users that want something that will start the second they open it.
Pro Extendable via plugins
A list of hundreds of plugins is maintained.
Pro Portable
You can get a portable version of N++ and put it on a flash drive or your dropbox account and have your editor, configured the way you like, at any computer that you are on.
Pro Free under GPL
Notepad++ is licensed under GPL, which means it is free/open source software that you can use freely.
Pro Regex replace in selection, active tab, or all tabs
In Notepad++, the user can utilise regular expressions to quickly modify text across multiple files.
Pro Persistent documents, even after exiting the application
If you close Notepad++ (npp), your documents remain even if you haven't saved.
Pro User defined language syntax support
You can define your own custom syntax highlighting rules (or add support for others) .
Pro Easy to use and admin
Very easy to use and personalize.
Pro Multi-line editing
While it is disabled by default, when enabled, it is possible to edit more than one line at a time. This is helpful in many situations.
Pro Split screen
The user can open and edit files in multiple screens within the editor window.
Pro Supports Markdown
If you have the Plugin Manager installed you can search for MarkdownViewer++ and install it via that plugin.
Pro Version control integration
PyCharm has CVS, Git, Subversion and Mercurial integration.
Pro Catches run-time information when running the code
PyCharm can leverage run-time information when running your application with the built-in debugger to figure out what types can possibly be passed to which functions, etc.
Pro One of the best autocompletion engines around
PyCharm has two types of autocompletion: structural completion and word expansion.
Structural autocompletion makes predictions based on its understanding of Python and JavaScript objects, while the latter tries to predict the word currently being typed based on previously typed words. Word expansion also works in comments and docstrings and it's similar to vim's omnicompletion.
Both types of autocompletion work extremely well, have little to no problems and are quite fast even when loading suggestions on the go.
Pro Great pip support
PyCharm offers great pip integration. When opening a project it automatically checks for a requirements.txt
file in the root of the project. If it's found, it checks if all the libraries are available in the interpreter. If one or more libraries are missing, it issues a warning and asks whether you want to install any missing libraries.
Pro Free version available
There's a community edition (with limited features) that's free to use. You can also get a 30-day trial of the Professional edition.
Pro Excellent integration with debugging tools
All the debugging can be done inside the IDE. Breakpoints in the code can be added using keyboard shortcuts or the mouse. When the code is executed through the debugger a toolbar pops up with all the relevant context needed for the debugging process.
The whole process is smooth and painless and you don't even have to switch windows to do the debugging.
Pro Excellent refactoring support
There are many refactoring options including renaming and changing signature across entire projects. It also includes the an ability to preview changes before committing and exclude anything unwanted.
Pro Free student access to Professional Edition
With a valid .edu address students can register to use the Professional edition and enjoy all the perks of the full paid version for free.
Though it should be mentioned that the with the free student acess you cannot use PyCharm for any commercial purposes, even accepting donations for an open source project.
Pro Vim mode for people used to Vim commands
IdeaVim supports motion keys, insert mode commands, marks, registers, visual mode commands, vim regexps, key mapping, macros, digraphs, some ex and :set commands. You can find a full comparison in the IdeaVim reference manual.
Pro Great for navigating large codebases
PyCharm has amazing code navigation implementations. It supports both goto symbol and goto declaration. The former finds classes, variables, functions, etc by name. While the latter is used by moving the cursor on top of a symbol and by using the mouse or a keyboard combination it finds the declaration of that symbol and takes you there.
Both of these features are extremely helpful when consulting large code-bases and when trying to understand an API written by someone else.
Pro Automatically figures out what test to run based on the method the cursor rests at a given time
PyCharm, based on what method or class the cursor rests, can figure out what tests to run and perform them with a keyboard shortcut or two, without breaking up the flow and need to switch to a command line interface.
Pro Built-in Django support
Pycharm has excellent django support, from templating to management commands, it has it all.
Pro Easy to optimize code with built-in profiling tools
If you have a yappi profiler installed on your interpreter, PyCharm starts the profiling session with it by default, otherwise it uses the standard cProfile profiler.
Pro Remote debugging over ssh coupled with automatic deployment creates a streamlined workflow
The professional version allows remote debugging over ssh, which together with automatic deployment creates a streamlined workflow.
Pro Supports installing third party libraries
No need to go to the command line to download a new package, PyCharm has an easy system to browse, download, and update third party packages.
Pro Has a lot of plugins
PyCharm offers a high variety of plugins like Pylin, Mypy etc. covering all the above mentioned. Plus it has a built-in support to detect wrong formatted/named things (inspection).
Pro Amazing direct database integration
Pycharm supports SQLlite, PostgresQL, Mysql, etc out of the box and is integrated very nicely with Pycharm. Making database modifications could never have been easier as changing a cell value and committing the changes straight from pycharm.
Pro Sophisticated static analysis tools
Cons
Con Windows-only
While it can run in Wine, it is native only to Windows. Linux users will have to use Notepadqq instead.
Con Settings confusingly scattered
Examples: try to change the tab size or used font.
Con Annoying update notifications upon start-up
Annoying update notifications tend to pop up upon start-up after not having used the app or machine for a few days. At the same time, they can be easily turned off.
Con Outdated UI
Only the text area can be themed, and it doesn't have as many features as browser-based text areas.
Con Limited new syntax support for new languages
It may be hard to find good plugins for relatively new languages.
Con Session backups not enabled by default
Unsaved tabs will be lost when Npp crashes, unless you first enable the session backup option.
Con User defined language doesn't support triple quote strings
It also doesn't support triple hashed comments. Both styles are overridden by their single character single line version.
Con Very high memory usage
Memory usage is usually anywhere around 1-2GB and possibly larger with larger projects
Con Not suitable to edit project's files written in other languages
There is a high variety of support for a lot of languages like markdown etc. Not for Java and so on, but it is a Python IDE.
Con Some relatively basic functionality requires paid license
JavaScript, CoffeeScript, TypeScript, HTML/CSS, SQL requires a paid license. Also, all Python frameworks require a paid license.
Con Odd Autosave "feature", can't be disabled fully
PyCharm automatically saves your files for you, always, without telling you. You can't disable this. There's a way to indicate if a file has been modified via an indicator in the tab (not enabled by default - why?).
If you exit it won't ask you if you want to save the modified file. Totally unintuitive and contrary to all other established workflows. It's ok to try something new, but give users the option to have the "normal" behaviour of any other IDE/editor out there. Can be a deal breaker for those that need to know/have control over when they save their files. (PyCharm offers a history to undo the automatic save, but why force a user to undo something with extra steps that shouldn't have happened in the first place?)
Con Not possible to run scripts in a single console
Con It cannot reindex on the fly packages installed from git source
If you've installed a package with the command:
pip install -e git+https://pass@github.com/me/package.git@0.0.3#egg=package
you have two options available to make PyCharm update/see it:
- restart PyCharm
- invalidate caches
Con Asinine licensing scheme
JetBrains licensing, especially if you have multiple products, is a blocker. You just can't have a fixed line-item price (for departmental budgeting) for their licenses.
Con Vim mode is limited
Con Rendering is awful
Con Little native desktop integration
If you use Linux with Gnome or KDE, PyCharm does relatively little to integrate into your local desktop environment