• Login
Community
  • Login

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

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 363 Views
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.
  • H
    henvu50
    last edited by Jun 3, 2021, 12:21 AM

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

    1 Reply Last reply Reply Quote 0
    • T
      Terry R
      last edited by Jun 3, 2021, 1:14 AM

      @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

      A H 2 Replies Last reply Jun 3, 2021, 11:52 AM Reply Quote 1
      • A
        Alan Kilborn @Terry R
        last edited by Jun 3, 2021, 11:52 AM

        @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
        • H
          henvu50 @Terry R
          last edited by Jun 3, 2021, 4:59 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors