<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Python Indent plugin not working correctly?]]></title><description><![CDATA[<p dir="auto">To All,</p>
<p dir="auto">I installed the Python Indent plugin and enabled it.  The plugin appears to not be following PEP8 indent standards when splitting lines.  For example:</p>
<p dir="auto">PEP8 (correct):<br />
80 column<br />
____print(“a very very…”)<br />
_________“… long line”)<br />
Python indent (not correct):<br />
____print(“a very very…”)<br />
____(“…long line”)</p>
<p dir="auto">I could give other examples when splitting lists, function arguments, etc. across lines.  Has anyone else seen this problem and is there a fix other than just manually indenting correctly?</p>
<p dir="auto">Hopefully my use of “_” will format this correctly when being viewed.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Steve</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17957/python-indent-plugin-not-working-correctly</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 14:01:53 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17957.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Jul 2019 22:06:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Wed, 30 Oct 2019 22:18:45 GMT]]></title><description><![CDATA[<p dir="auto">Hey, this is old but I just now stumbled upon it. I am the author of this plugin.</p>
<p dir="auto">As some of the posters above have figured out, the plugin does not attempt to follow PEP8. This is not because I have anything against PEP8, but simply I didn’t want to deal with that amount of parsing. I originally wrote this plugin to deal with the simple annoyance of having to tab every time I opened a new block. It applies a very simple heuristic of checking the start of the line for one of the keywords that open a new block in Python.</p>
<p dir="auto">It can actually be tricked into doing the wrong thing in a number of other situations (fairly unlikely situations though), such as having a multi-line statement to open a block, or using one of those keywords at the start of a line in a multi-line string. These situations are sufficiently rare that I have never attempted to fix them. In the much more common case of line continuations (which OP is talking about), I simply manually align them with space.</p>
<p dir="auto">If you want to get in touch with me about the plugin the best way is to open an issue on the Bitbucket page. I do not check these forums very often. I am also open to any code contributions if someone would like to tackle this.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/48175</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48175</guid><dc:creator><![CDATA[Derek Brown]]></dc:creator><pubDate>Wed, 30 Oct 2019 22:18:45 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Tue, 23 Jul 2019 11:55:00 GMT]]></title><description><![CDATA[<p dir="auto">Yes, that’s what the “-i” argument to <code>yapf</code> (in-place) and subsequent <code>NPP_OPEN</code> - to reopen the file and force a N++ refresh do.</p>
<pre><code>PS VinsWorldcom@C:\Users\VinsWorldcom&gt; yapf -h  | grep "in-place"
  -i, --in-place        make changes to files in place
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/45561</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45561</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Tue, 23 Jul 2019 11:55:00 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Tue, 23 Jul 2019 05:29:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a></p>
<p dir="auto">I got it on the batch file doing the heavy lifting.  Your suggestion for a NppExec script to run  yapf:</p>
<p dir="auto">cmd /c yapf -i “$(FULL_CURRENT_PATH)”</p>
<p dir="auto">is similar to my  my NppExec scripts to run Pylint and Flake8:</p>
<p dir="auto">C:\Python37\Scripts\pylint.exe “$(FULL_CURRENT_PATH)”<br />
C:\Python37\Scripts\flake8.exe “$(FULL_CURRENT_PATH)”</p>
<p dir="auto">Pylint and Flake8 only read my current Python file in NPP.  They does not modify it.  Does your NppExec example script that runs yapf actually modify the current Python file in NPP?</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Steve</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45552</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45552</guid><dc:creator><![CDATA[Steven Haymes]]></dc:creator><pubDate>Tue, 23 Jul 2019 05:29:00 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 22 Jul 2019 23:50:21 GMT]]></title><description><![CDATA[<p dir="auto">I should have been more specific - I have an NppExec script calling a Windows batch script that does all the heavy lifting.  I have all sorts of compile, run, help, etc. features enabled by file extension and a simple config file to change parameters was easier than hacking lots of NppExec scripts.</p>
<p dir="auto">However, it’d be easy enough to do in NppExec alone.  Basically, my script does:</p>
<pre><code>NPP_MENUCOMMAND Edit\Blank Operations\Trim Trailing Space
IF "$(NAME_PART)"=="Makefile" GOTO CONTINUE
IF "$(EXT_PART)"==".mak" GOTO CONTINUE
IF "$(EXT_PART)"==".mk" GOTO CONTINUE
// Only convert tab to space if not a Makefile, so above bypass for Makefiles
NPP_MENUCOMMAND Edit\Blank Operations\TAB to Space

:CONTINUE
NPP_SAVE
cd "$(CURRENT_DIRECTORY)"
"$(NPP_DIRECTORY)\plugins\nppExtTasks.bat" style "$(FULL_CURRENT_PATH)"
NPP_OPEN "$(FULL_CURRENT_PATH)"
</code></pre>
<p dir="auto">But you could replace the call to my "nppExtTasks.bat with:</p>
<pre><code>IF "$(EXT_PART)"==".c" GOTO CCPP
IF "$(EXT_PART)"==".cpp" GOTO CCPP
IF "$(EXT_PART)"==".py" GOTO PYTHON
IF "$(EXT_PART)"==".pl" GOTO PERL
IF "$(EXT_PART)"==".pm" GOTO PERL
IF "$(EXT_PART)"==".html" GOTO HTML
IF "$(EXT_PART)"==".xml" GOTO XML
GOTO END

:CCPP
cmd /c astyle "$(FULL_CURRENT_PATH)"
GOTO END

:PYTHON
 cmd /c yapf -i "$(FULL_CURRENT_PATH)"
GOTO END

:PERL
 cmd /c perltidy "$(FULL_CURRENT_PATH)"
GOTO END

:HTML
cmd /c tidy5 -m "$(FULL_CURRENT_PATH)"
GOTO END

:XML
cmd /c tidy5 -m -config "$(PLUGINS_CONFIG_DIR)\tidy5.xml.conf" "$(FULL_CURRENT_PATH)"
:END
</code></pre>
<p dir="auto">I have a .perltidyrc, and an .astylerc in my home directory.  And of course, all the executables (i.e., perltidy, tidy5, astyle, etc.) are in directories in my PATH.</p>
<p dir="auto">Hope that helps.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45549</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45549</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Mon, 22 Jul 2019 23:50:21 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 22 Jul 2019 19:26:37 GMT]]></title><description><![CDATA[<p dir="auto">Michael,</p>
<p dir="auto">Can you please post your NppExec script?  I am curios how you are implementing yapf.</p>
<p dir="auto">Are you are running the NppExec yapf script on the open file after a save and it corrects the errors then or does it correct the errors as you type?  I assume that it is run after a save just like I would run Pylint or Flake8 to detect errors but with yapf, it both detects and corrects the errors.</p>
<p dir="auto">What the Python Indent plugin does is provide proper <strong>(but limited)</strong> Python indenting as you type.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Steve</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45545</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45545</guid><dc:creator><![CDATA[Steven Haymes]]></dc:creator><pubDate>Mon, 22 Jul 2019 19:26:37 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 22 Jul 2019 18:12:53 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">do you know yapf?</p>
</blockquote>
<p dir="auto">I use yapf to format my Python code in Notepad++.  I have an NppExec script tied to “Style Format” and based on the current file extension, it makes the current file “pretty”:</p>
<p dir="auto">.c/.cpp = astyle<br />
.html/.xml = tidy5<br />
.pl/.pm = perltidy<br />
.py = yapf</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45544</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45544</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Mon, 22 Jul 2019 18:12:53 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 22 Jul 2019 18:09:27 GMT]]></title><description><![CDATA[<p dir="auto">FWIW, I do a LOT of Python programming using Notepad++.  I’m not sure the time/effort saved from having it do that kind of tabbing for me would be all that noticeable.  It certainly wouldn’t do out-tabbing (unless it could read my mind), so there’s that.  And for working with existing code I have a nice little Pythonscript tabber/untabber that does the current line no matter where the caret is on that line, which I feel is a bigger time saver than this “Python indenter” thing sounds like.  To each his own, though, which you may know better as YMMV.  Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45542</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45542</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 22 Jul 2019 18:09:27 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 22 Jul 2019 17:57:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a></p>
<p dir="auto">One step at a time.  I was able to open the solution is Visual Studio.  Next I need to understand the code.</p>
<p dir="auto">S</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45541</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45541</guid><dc:creator><![CDATA[Steven Haymes]]></dc:creator><pubDate>Mon, 22 Jul 2019 17:57:55 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 22 Jul 2019 10:50:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steven-haymes" aria-label="Profile: Steven-Haymes">@<bdi>Steven-Haymes</bdi></a></p>
<p dir="auto">do you know <a href="https://github.com/google/yapf" rel="nofollow ugc">yapf</a>?<br />
Maybe useful for your project.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45533</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45533</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 22 Jul 2019 10:50:40 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Sun, 21 Jul 2019 20:55:22 GMT]]></title><description><![CDATA[<p dir="auto">To All,</p>
<p dir="auto">So I downloaded the code for the Python Indent plugin, looked at it, did some testing and this is what I found:</p>
<ul>
<li>Plain vanilla Notepad++ does not do any Python indenting.  It just sets the tab to 4 spaces as required by Python and follows the previous indent level.</li>
<li>The Python Indent Plugin just does very basic Python indenting for if statements, for loops def statements and such by indenting the next line 4 spaces.</li>
</ul>
<p dir="auto">Here is some snippets from the Python Indent plugin’s code:</p>
<pre><code>char* clauseHeaders[] = {"if", "elif", "else",
                     "for", "while",
                     "try", "except", "finally",
                     "with",
                     "def", "class",
                     nullptr};
</code></pre>
<p dir="auto">and</p>
<pre><code>    /* Compare the first word in the code against the headers. Auto-indent only if
       one of the headers is found. */
    for(int j = 0; clauseHeaders[j] != nullptr; j++)
    {
        if(strncmp(&amp;line[i], clauseHeaders[j], clauseHeadersLen[j]) == 0 &amp;&amp; !isVarName(line[i+clauseHeadersLen[j&rsqb;&rsqb;))
        {
            ret = true;
            break;
        }
    }
</code></pre>
<p dir="auto">It would be more work to write Python Indent to follow PEP8 as each line would have to be parsed for parentheses, square brackets and such and their positions recorded.  Python Indent was written in C++ and compiled with Microsoft Visual Studio which I have installed.  I do not know C++ but I do know C and to my knowledge (which may be wrong) the line parsing part should be no different between C++ and C so I may look into doing this.</p>
<p dir="auto">On the Python Indent plugin developer’s webpage <a href="https://bitbucket.org/Kered13/python-indent-for-notepad" rel="nofollow ugc">https://bitbucket.org/Kered13/python-indent-for-notepad</a> , there is no contact information for him other than to log an issue so I may do this to let him know that I may be tweaking his code.</p>
<p dir="auto">Steve</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45529</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45529</guid><dc:creator><![CDATA[Steven Haymes]]></dc:creator><pubDate>Sun, 21 Jul 2019 20:55:22 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Tue, 16 Jul 2019 14:32:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steven-haymes" aria-label="Profile: Steven-Haymes">@<bdi>Steven-Haymes</bdi></a></p>
<blockquote>
<p dir="auto">I do not see what the Python Indent plugin is actually doing.</p>
</blockquote>
<p dir="auto">I think you’ve tapped out the depths of anyone that has any knowledge about that plugin here.  Barring the author replying or attempting to contact the author more directly, I don’t think you’re going to get any further nuggets on this topic.  Of course you can always examine the source code of the plugin itself to get your answers about what it endeavors to do.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45412</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45412</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 16 Jul 2019 14:32:34 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Tue, 16 Jul 2019 14:24:30 GMT]]></title><description><![CDATA[<p dir="auto">NPP already has the ability to set tabs to 4 spaces and to follow tab levels built into it, so it seems to me that a plugin named “Python Indent” would therefore follow PEP8 as NPP is already doing the rest when it comes to tabs and Python.  At this point, I do not see what the Python Indent plugin is actually doing.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45411</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45411</guid><dc:creator><![CDATA[Steven Haymes]]></dc:creator><pubDate>Tue, 16 Jul 2019 14:24:30 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Tue, 16 Jul 2019 10:53:41 GMT]]></title><description><![CDATA[<p dir="auto">My two cents,<br />
first I never used that plugin so I’m unaware of its functionality and<br />
second, pep8 is a proposal not a law.<br />
I assume the plugin author didn’t like this proposal.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45408</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45408</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 16 Jul 2019 10:53:41 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 15 Jul 2019 20:18:33 GMT]]></title><description><![CDATA[<p dir="auto">Alan,</p>
<p dir="auto">Thanks on how to insert code from NPP to my web browser which is Firefox.  Here is a snippet of the Python code showing proper PEP8 indentation that the Python Indent plugin is <strong>not</strong> doing so I have to do it manually:</p>
<pre><code># get local Hunspell directory path and user dictionary file
app_data = os.getenv("APPDATA")
loc_hunspell_dir = os.path.join(app_data,
                                "Notepad++\\plugins\\config\\Hunspell")
loc_hunspell_file = os.path.join(loc_hunspell_dir, "en_US.usr")
</code></pre>
<p dir="auto">Note the 2nd and 3rd lines that show the proper PEP8 indentation when splitting a function argument list over 2 lines.</p>
<p dir="auto">A similar Python indent plugin that I have for my other programming editor ViM works properly for PEP8 so I am assuming that the Python Indent plugin for Notepad++ is not properly handling PEP8 indent rules.</p>
<p dir="auto">This Python program synchronizes my DspellCheck plugin’s user defined dictionary files between my desktop and laptop outputting a file of merged and sorted unique words that replaces the original files.</p>
<p dir="auto">Steve</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45389</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45389</guid><dc:creator><![CDATA[Steven Haymes]]></dc:creator><pubDate>Mon, 15 Jul 2019 20:18:33 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 15 Jul 2019 18:10:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steven-haymes" aria-label="Profile: Steven-Haymes">@<bdi>Steven-Haymes</bdi></a> said:</p>
<blockquote>
<p dir="auto">insert a picture so that I can give a real code example, using some Python that I wrote</p>
</blockquote>
<p dir="auto">Why do you want it to be a “picture”?  Make it real code text instead.  Assuming your code is in Notepad++:  Select the code you want to post.  Press Tab.  Press Ctrl+c.  Press Shift+Tab.  Change to browser where you are composing for this forum.  Press Ctrl+v.  Check the preview window on the right to make sure it looks like code.  Submit when ready.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45386</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45386</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 15 Jul 2019 18:10:13 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 15 Jul 2019 18:07:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steven-haymes" aria-label="Profile: Steven-Haymes">@<bdi>Steven-Haymes</bdi></a> said:</p>
<blockquote>
<p dir="auto">How does one insert a picture</p>
</blockquote>
<p dir="auto">upload image to imgur (or similar).  embed images with the syntax <code>![](http://i.imgur.com/QTHZysa.png)</code>.  please use imgur’s “direct link” with <code>i.imgur.com</code> as the hostname and the appropriate <code>.png</code> or <code>.gif</code> extension, rather than the “image” link, which really links to the HTML-wrapper, and will not embed in the forum</p>
<p dir="auto">You  can also embed raw text (like code) between ~~~ lines, like</p>
<pre><code>~~~
raw text goes here
   it will include spaces
   and _not_ use Markdown
~~~
</code></pre>
<p dir="auto">-—<br />
FYI:</p>
<blockquote>
<p dir="auto">This forum is formatted using <a href="https://daringfireball.net/projects/markdown/syntax" rel="nofollow ugc">Markdown</a>, with a help link buried on the little grey <code>?</code> in the COMPOSE window/pane when writing your post.  For more about how to use Markdown in this forum, please see <a href="https://notepad-plus-plus.org/community/topic/14262/how-to-markdown-code-on-this-forum/4" rel="nofollow ugc">@Scott-Sumner’s post in the “how to markdown code on this forum” topic</a>, and my updates <a href="https://notepad-plus-plus.org/community/topic/14262/how-to-markdown-code-on-this-forum/9" rel="nofollow ugc">near the end</a>.  It is very important that you use these formatting tips – using single backtick marks around small snippets, and using code-quoting for pasting multiple lines from your example data files – because otherwise, the forum will change normal quotes (<code>""</code>) to curly “smart” quotes (<code>“”</code>), will change hyphens to dashes, will sometimes hide asterisks (or if your text is <code>c:\folder\*.txt</code>, it will show up as <code>c:\folder*.txt</code>, missing the backslash).  If you want to clearly communicate your text data to us, you <em>need</em> to properly format it.</p>
</blockquote>
]]></description><link>https://community.notepad-plus-plus.org/post/45385</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45385</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 15 Jul 2019 18:07:41 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 15 Jul 2019 18:03:01 GMT]]></title><description><![CDATA[<p dir="auto">Ross,</p>
<p dir="auto">The Plugin says “Python auto-indent plugin”.  The developer’s website <a href="https://bitbucket.org/Kered13/python-indent-for-notepad/src/default/" rel="nofollow ugc">https://bitbucket.org/Kered13/python-indent-for-notepad/src/default/</a> says nothing.  PEP8 is pretty basic to Python indenting.  How does one insert a picture so that I can give a real code example, using some Python that I wrote for NPP?</p>
<p dir="auto">Steve</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45384</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45384</guid><dc:creator><![CDATA[Steven Haymes]]></dc:creator><pubDate>Mon, 15 Jul 2019 18:03:01 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 15 Jul 2019 15:38:54 GMT]]></title><description><![CDATA[<p dir="auto">Is PythonIndent advertised as following PEP8?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45373</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45373</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Mon, 15 Jul 2019 15:38:54 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 15 Jul 2019 05:30:52 GMT]]></title><description><![CDATA[<p dir="auto">Further to <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> suggestion, this is what it looks like in the forum if you indent your code by 4 spaces and replace every <code>_</code> with a space:</p>
<pre><code>PEP8 (correct):
                       80 column
    print(“a very very...”)
         (“... long line”)

Python indent (not correct):
    print(“a very very...”)
    ("...long line")
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/45361</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45361</guid><dc:creator><![CDATA[rossjparker]]></dc:creator><pubDate>Mon, 15 Jul 2019 05:30:52 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 15 Jul 2019 01:50:18 GMT]]></title><description><![CDATA[<p dir="auto">I <em>think</em> I understand, but it sure would have been clearer to show some real spacing instead of a bunch of ___________.</p>
<p dir="auto">You could have shown real code spacing by leading off each line with four blank spaces before the real content.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45358</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45358</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 15 Jul 2019 01:50:18 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 15 Jul 2019 00:24:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi Peter,</p>
<p dir="auto">Thanks for the reply.  I will give this forum a week or so before I contact Derek Brown.  Also, I was bad when I made my first post.  It should read:</p>
<p dir="auto">The plugin appears to not be following PEP8 indent standards when splitting lines. For example:</p>
<p dir="auto">PEP8 (correct):<br />
_______________________80 column<br />
____print(“a very very…”)<br />
_________<strong>(</strong>“… long line”)</p>
<p dir="auto">Python indent (not correct):<br />
____print(“a very very…”)<br />
____(“…long line”)</p>
<p dir="auto">Steve</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45357</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45357</guid><dc:creator><![CDATA[Steven Haymes]]></dc:creator><pubDate>Mon, 15 Jul 2019 00:24:12 GMT</pubDate></item><item><title><![CDATA[Reply to Python Indent plugin not working correctly? on Mon, 15 Jul 2019 00:00:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steven-haymes" aria-label="Profile: Steven-Haymes">@<bdi>Steven-Haymes</bdi></a> said:</p>
<blockquote>
<p dir="auto">plugin appears to not be following PEP8 indent standards</p>
</blockquote>
<p dir="auto">I don’t recall any mentions of that plugin in the forum, so I don’t know if there are any experts or users of that plugin who can help confirm.  But that could be a bug in the plugin…</p>
<p dir="auto">I don’t know if the user <a class="plugin-mentions-user plugin-mentions-a" href="/user/derek-brown" aria-label="Profile: Derek-Brown">@<bdi>Derek-Brown</bdi></a> is the same Derek Brown as credited for being the author in the Plugins Admin, and he hasn’t logged in here for 5 months, if he is the right Derek Brown.  But Plugins Admin does list <a href="https://bitbucket.org/Kered13/python-indent-for-notepad" rel="nofollow ugc">https://bitbucket.org/Kered13/python-indent-for-notepad</a> as the project page, where there’s an (empty) <a href="https://bitbucket.org/Kered13/python-indent-for-notepad/issues?status=new&amp;status=open" rel="nofollow ugc">issues page</a>… so if no one else is able to step in here and help with the issue,  you might be able to file a bug report at the plugin repository.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45355</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45355</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 15 Jul 2019 00:00:36 GMT</pubDate></item></channel></rss>