Sublime Forum

LanguageTool local server setup

#1

I am using Language​Tool and have following setup in order to use local server. In order to verify that I am using local-server I have close my internet.

I get following error when I press ctrl+shift+c.
E: could not parse server response (may be due to quote if using http://languagetool.org)

[Q] How could I fix this error in order to use my local-server? I think I have to start running following line java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --allow-origin "*" can sublime-text handle itself automatically?


LanguageTool.sublime-settings file:

	{
    "languagetool_server_remote": "http://localhost:8081",
    "languagetool_server_local": "http://localhost:8081/v2/check",
    "default_server": "local",
    "display_mode": "panel",
    "languagetool_jar": "/Users/user/Documents/LanguageTool-4.9.1/languagetool.jar",
    "highlight-scope": "comment",
    "ignored-scopes": [
        "support.function.*.latex",
        "meta.*.latex",
        "comment.*.tex",
        "keyword.control.tex"
    ]
0 Likes