Community
    • Login

    Are there any spellcheck-style linting plugins?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    lintpluginpython
    5 Posts 4 Posters 2.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JohnPhillipRobertsonJ Offline
      JohnPhillipRobertson
      last edited by

      Is there any support for graphical Python linting in Notepad++? I mean either the typical squiggly underline that I became accustomed to when I used VS Code, or maybe a step-through one-at-a-time wizard like npp’s own ctrl-F feature or the spellchecker show on the side of this article.

      rinku singhR 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones
        last edited by

        See https://notepad-plus-plus.org/community/topic/17989/nppexec-cppcheck-not-working-but-nppexec-pylint-is-working for instructions on getting an external linter interfaced to NPP via NppExec. It may meet your needs

        1 Reply Last reply Reply Quote 1
        • JohnPhillipRobertsonJ Offline
          JohnPhillipRobertson
          last edited by

          Well, I just discovered the Linter plugin… but how do I make it work with pylint? What needs to go in the XML file?

          1 Reply Last reply Reply Quote 0
          • rinku singhR Offline
            rinku singh @JohnPhillipRobertson
            last edited by

            @JohnPhillipRobertson said:

            Are there any spellcheck-style linting plugins?

            PyPadPlusPlus plugin

            1 Reply Last reply Reply Quote 0
            • Steven HaymesS Offline
              Steven Haymes
              last edited by Steven Haymes

              In NppExec, execute the following (path may vary with your Python installation):

              C:\Python37\Scripts\pylint.exe “$(FULL_CURRENT_PATH)”

              You can add this as a Macro with: NppExec -> Advanced Options

              You can jump from the error reported in NppExec console to the line with the error in the editor with: NppExec -> Console Output Filters

              Depending on the linter that you run, you will have to tweak the filters and the order of the filters. I run both pylint and flake8.

              I find this process to be very efficient. I tried VS Code for a while and I did not like it. I would rather use Vim…

              Steve

              1 Reply Last reply Reply Quote 1

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors