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

Entering and leaving directory statements are not processed, resulting in incorrect paths for the problemMatcher #27494

Closed
xaljox opened this issue May 30, 2017 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues

Comments

@xaljox
Copy link

xaljox commented May 30, 2017

  • VSCode Version: 1.12
  • OS Version: Mac OS 10.12.5 & Ubuntu 16.04
    Steps to Reproduce:
  1. download e.g. bash source code from GitHub
  2. In top source dir mkdir build; cd build; ../configure; make
    If the make is done from within studio code, it can be seen that some paths to warnings are resolved properly, but others, to files in sub projects not.
    All reported paths are relative to the current working directory, however this directory changes during the build process. This change of directory is reported with statements like:
    make[1]: Leaving directory '/media/psf/Home/GitHub/bash/bash-4.4/build/builtins'
    make[1]: Entering directory '/media/psf/Home/GitHub/bash/bash-4.4/build/support'
    In this kind of environment which is not that uncommon, it seems kind of impossible to get the problem matcher working properly. Depending on the area you are working on you have to edit the tasks file to get a correct link to the file.
    To complicate things more the leaving statements pops back to the previous one, so if you parse the entering and leaving statements, it is not stateless. You have to keep track of a stack of directories.
@dbaeumer
Copy link
Member

Dups #11663

@dbaeumer dbaeumer added tasks Task system issues *duplicate Issue identified as a duplicate of another issue(s) labels May 30, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues
Projects
None yet
Development

No branches or pull requests

2 participants