Community
    • Login

    How to make dspellcheck work when language is set to python?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 852 Views 1 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.
    • henvu50H Offline
      henvu50
      last edited by

      How to make dspellcheck work when language is set to python?

      1 Reply Last reply Reply Quote 0
      • Terry RT Offline
        Terry R
        last edited by

        @henvu50 said in How to make dspellcheck work when language is set to python?:

        How to make dspellcheck work when language is set to python?

        You might have found an issue. The settings for the spell checking state file types to either include or exclude with the default being include and the actual type being *.*.

        I created a TXT file and sure enough the badly spelt words were automatically identified. I then did a “save as” and changed extension to a python file. The spelling underlines disappeared. Again back to TXT and spelling works, then to a BAT file and spelling underlines is lost again. That suggests ONLY TXT files are being spell checked?!

        Hopefully someone else can confirm my findings. If so there is a process of creating a “issue” on github. See this post. This however is a plugin so where exactly to raise the issue I don’t know. The online manual was last rewritten back in 2017. On this web page is a link for bug reporting re the dspellcheck plugin directly. I see none are listed.

        I do wonder though why you would want to spellcheck code, it would likely come up with numerous bad spelling as variables and the like don’t have to follow correct grammar (and often don’t).

        I also noted there are 2 other settings which you may need to deselect, comments and strings in the “In code, check only” area of the settings.

        Terry

        Alan KilbornA henvu50H 2 Replies Last reply Reply Quote 1
        • Alan KilbornA Offline
          Alan Kilborn @Terry R
          last edited by

          @Terry-R said in How to make dspellcheck work when language is set to python?:

          See this post.

          That bit of text might very well result in an issue being logged against Notepad++, despite your follow-on wording. Not the end of the world, but, not appropriate, either.

          1 Reply Last reply Reply Quote 0
          • henvu50H Offline
            henvu50 @Terry R
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0

            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