faustinoaq / vscode-javac-linter

A Java linter for Visual Studio Code
MIT License
10 stars 2 forks source link

javac linter garbled text #3

Open ten9miq opened 6 years ago

ten9miq commented 6 years ago

What is the solution?

Microsoft Windows [Version 10.0.16299.64] Vs Code 1.18.1 x64 java linter 1.2.6 jdk 1.8.0_151 Language used : Japanese

screenclip

default

screenclip 1

faustinoaq commented 6 years ago

Hi @OHM79 , let me reproduce this issue 😅

Meanwhile, Can you try 👉 https://marketplace.visualstudio.com/items?itemName=redhat.java ? and check if you can see error messages properly 👍

BTW, This was my first extension and I need to improve some things, by example a better way to do error parsing. 😅

ten9miq commented 6 years ago

@faustinoaq Thank you for contacting me

My English isn't so good so feel free to ask me if there is anything unclear.

java Linter Uninstalled. Java Extension Pack already installed. Language Support for java will not display the error log.

Is that what you asked?

default

faustinoaq commented 6 years ago

Is that what you asked?

Yes

Language Support for java will not display the error log

I found this:

As you type reporting of parsing and compilation errors is one feature

Take a look https://github.com/redhat-developer/vscode-java#features

What is the solution?

Currently I'm extracting error message using https://github.com/faustinoaq/vscode-javac-linter/blob/master/server/src/server.ts#L140

Maybe I need to encode the message using utf-8 in some way, I thought is was used by default 😅

faustinoaq commented 6 years ago

Hi @OHM79 I released 1.3.0, I made some changes to simplify code and update dependencies, my basic error parser still needs to be improved though.

Also you can try using tasks to detect java errors