Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m2e: incorrect error locations in Eclipse #76

Open
VsevolodGolovanov opened this issue May 22, 2018 · 0 comments
Open

m2e: incorrect error locations in Eclipse #76

VsevolodGolovanov opened this issue May 22, 2018 · 0 comments

Comments

@VsevolodGolovanov
Copy link
Contributor

VsevolodGolovanov commented May 22, 2018

Eclipse Problems view shows:

errsass

which is misleading, because if open the description (or Ctrl+C the error row) then you'd see

Description Resource Path Location Type
Error: Undefined variable: "$i".
on line 303 of ../../../argus/rep/TechService-3.20/workspace/server-app/inf-modules/webui/src/main/sass/p/_dataList.scss
from line 97 of ../../../argus/rep/TechService-3.20/workspace/server-app/inf-modules/webui/src/main/sass/argus.scss

*****************************************/
------------------------------------------^
(com.github.warmuuh:libsass-maven-plugin:0.2.10-libsass_3.5.3:compile:default-cli:generate-resources) argus.scss /webui/src/main/sass line 303 Maven Build Participant Problem

So location was correct in Problems view, but not the file. The file shown (argus.scss) is the one that imports everything.

Related problem: double clicking the error opens the wrong file, the importing one.

Error reporting should be smarter and specify the file immediately containing the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant