Indent Python code in Notepad++


Python code requires strict indentation and if you are using a text editor such as Notepad++ instead of an IDE you may have difficult times dealing with code intent issues.

Python Indent is the plugin that you may need to install, here is how you can do that,

  1. Open Notepad++
  2. Go to Plugins -> Plugin Admins.
  3. Search for Python Indent.
  4. Tick the checkbox against it and click Install, Notepad++ will get restarted.
  5. Now to use it go to Plugins -> Python Indent -> Enable
  6. Make sure you have Python Language selected.
  7. Now anything you type will be auto indented.
Notepad++ Python Indent Example.gif
Notepad++ Python Indent Example

More about the Plugin:

Python auto-indent plugin.
Author: Derek Brown
Homepage: https://sourceforge.net/projects/kered13-notepad-plugins/
Advertisements
Try Out Code2care Dev Tools:

Advertisements



Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Advertisements


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency