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
Question about vscode "problems" tab #28
Comments
Got a little follow-up on this bug: Hope this helps! |
Everything works for me, I'm confused. Any idea where this temporary file is coming from? |
The hypothesis is it's either a temporary file on disk, on in memory, which is created on the first cycle of file scan to find all the error. It's path is <path_to_file>/<filename.html>/0.<16 digits>.html, it's somehow inside the html file being edited. It's either created by the extension, or by some king of daemon inside the VSCode itself. |
@holohup did you try with all other extensions disabled? Any chance you can take a screenshot video of what is happening? |
@holohup could you also share your vscode settings? Are you saving files on a removable storage? |
Odd, I wonder what makes the problems tab update. I copied in your config and made a few html.j2 files. I only get problems showing up/updating when I save the file. |
Hey there, |
I tried to do the same thing on Linux and Windows and it works fine. I think we should start by figuring out what exactly creates the temporary files. I was also confused by the fact that on your video linting only works on these temporary files, but not on regular files. Can you also please upload your |
I'm currently working on a mac M1, maybe the vscode works somehow different on this architecture? I think you got it wrong - I was hovering over regular files, and in the end I've opened a temporary file (all text plain white) to show it's path inside the regular file. asgiref==3.5.2 |
I don't think it has anything to do with macOS, because the person here had an identical problem, but on Windows.
I installed the same versions of the dependencies, but I still could not reproduce the issue. |
There's still hope that someone who can bring more details into this issue googles this page and helps. Thank you for your efforts! |
Do any other linters have the same problem? pylint, or htmllint, or another? |
Hey. Got no problems using other linters. |
@holohup is the problem still relevant? |
@monosans hi! I've checked that project again with different scenarions and the bug never came up. I suppose it's gone now. The only thing that changed is the vscode version, I think, so the problem must have had been there. Thank you for your work! |
hey @monosans there is a new issue djlint/djLint#305 about the problems tab in vscode. It sounds like vscode lists all problems for all open files in the problems tab. This is the normal vscode behavior, or is there a way to only run djlint on the current file? djlint/djLint#305 (comment)
The text was updated successfully, but these errors were encountered: