• Login
Community
  • Login

LanguageTool Plugin

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
spell checkerlanguagetoolplugin
9 Posts 2 Posters 7.0k 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.
  • C
    CableWombat
    last edited by Jan 3, 2016, 6:08 PM

    I’d like to use the Java based desktop-version of LanguageTool (https://www.languagetool.org/ ) as a spellchecker with NP++.

    I googled a bit and found the following project which seems to do exactly that: https://github.com/RealGecko/NppLanguageTool
    But this plugin is not included in the NP++ plugin repository and I can’t find a dowloadable plugin file on that project page, so I’m stuck.

    Has anyone managed to create / find a plugin that makes it possible to use LanguageTool?

    C 1 Reply Last reply Jan 3, 2016, 10:14 PM Reply Quote 0
    • C
      Claudia Frank @CableWombat
      last edited by Jan 3, 2016, 10:14 PM

      Hello CableWombat,

      the link provided gives also the possibility to download the source.
      To compile you need to download the free vsiual studio express version,
      load the solution (.sln) file and run build. Afaik that’s it.
      I assume you also need the language tool application itself installed
      but I might be wrong.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • C
        CableWombat
        last edited by Jan 4, 2016, 2:23 PM

        Thanks Claudia,

        I tried that but unfortunately that doesn’t work.

        When building the solution there is an error reported:
        Build failed
        \NppLanguageTool-master\DllExport\NppPlugin.DllExport.targets(8,5): error : File could not be found

        There’s a NppLanguageTool.dll created, though, but it’s not working as a NP++ -plugin.

        1 Reply Last reply Reply Quote 0
        • C
          Claudia Frank
          last edited by Jan 4, 2016, 2:25 PM

          …NppPlugin.DllExport.targets(8,5): error : File could not be found

          sounds like ILDASM.exe wasn’t found on your system. Can you check this an add it to the path variable.

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • C
            CableWombat
            last edited by Jan 4, 2016, 8:08 PM

            In fact I found 10 different ILDSAM.exe on my machine which I guess were installed with Visual Studio Community Edition:

            C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\ildasm.exe
            C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\x64\ildasm.exe
            C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\ildasm.exe
            C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\ildasm.exe
            C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ildasm.exe
            C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64\ildasm.exe
            C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\ildasm.exe
            C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\x64\ildasm.exe
            C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\ildasm.exe
            C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\ildasm.exe

            All of them have slightly different sizes and date stamps. I tried to add the path of three of them one by one to my path variable. All of them made a successful building process possible.

            But after copying the created DLL into the NP++ plugin folder and starting NP++ I get the error
             Missing “FuncItems” array, or the nb of Function Item is not set correctly
            This plugin is not compatible with current version of Notepad++.
            every time (so I guess that the other 7 will give me the same result).

            1 Reply Last reply Reply Quote 0
            • C
              Claudia Frank
              last edited by Jan 4, 2016, 8:30 PM

              every time (so I guess that the other 7 will give me the same result).

              I guess so, but from this error I would assume that this plugin wasn’t working ever.
              I don’t have much time today but will give it a try tomorrow.

              Do you know what needs to be done to install language tool program?
              Preferrable I won’t install it, just unzip it to some place.

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 0
              • C
                CableWombat
                last edited by Jan 4, 2016, 11:03 PM

                There’s no installation necessary; you’ll only need an up-to-date Java installation to run the application. On https://www.languagetool.org/ just download the file behind the link “Stand-alone for your desktop”, That’s a zip-file. Just unzip it to a folder of your choice and double-click the file languagetool.jar to run the program.

                1 Reply Last reply Reply Quote 0
                • C
                  Claudia Frank
                  last edited by Claudia Frank Jan 5, 2016, 5:57 PM Jan 5, 2016, 5:56 PM

                  Hello CableWombat,

                  I downloaded the plugin and the language tool and then I discovered,
                  that plugin developer didn’t “really” start his project.
                  All code necessary for interacting with npp and languagetool is missing.

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 0
                  • C
                    CableWombat
                    last edited by Jan 5, 2016, 7:35 PM

                    Hi Claudia,

                    ah, that explains a lot. That saves me from a lot of failing tries.
                    Thanks for investigating!

                    1 Reply Last reply Reply Quote 0
                    7 out of 9
                    • First post
                      7/9
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors