Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    LanguageTool Plugin

    Help wanted · · · – – – · · ·
    spell checker languagetool plugin
    2
    9
    6152
    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.
    • CableWombat
      CableWombat last edited by

      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?

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @CableWombat last edited by

        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
        • CableWombat
          CableWombat last edited by

          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
          • Claudia Frank
            Claudia Frank last edited by

            …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
            • CableWombat
              CableWombat last edited by

              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
              • Claudia Frank
                Claudia Frank last edited by

                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
                • CableWombat
                  CableWombat last edited by

                  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
                  • Claudia Frank
                    Claudia Frank last edited by Claudia Frank

                    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
                    • CableWombat
                      CableWombat last edited by

                      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
                      • First post
                        Last post
                      Copyright © 2014 NodeBB Forums | Contributors