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



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



  • @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



  • @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.



  • This post is deleted!

Log in to reply