-
Notifications
You must be signed in to change notification settings - Fork 48
Saving a class leads to three compiles #1526
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
Comments
Hi @TwaHendrik, thanks for that additional info. I created an issue for your problem. This point is very interesting:
I would not expect this setting to change the behavior when a class is edited inside of VS Code. Do you have any other programs that might be changing the file after it gets saved, like git hooks? I have not been able to reproduce this issue so far. |
Hi @isc-bsaviano , We have simplified the test scenario as much as possible. We have started a completely new Docker with IRIS 2024.1 (Image: containers.intersystems.com/intersystems/iris:2024.1). No custom settings made. The Settings.json also only contains the default settings and a completely new vs code folder. We create only one class in default USER Namespace and save it via crtl + s. Class
Output
I hope this helps to reproduce the error. |
Hi @TwaHendrik, thanks for the detailed reproduction steps.I still cannot get this to occur. Here's what I did:
|
Hi @isc-bsaviano , We have tested it again on Mac OS and it works there. There seems to be a difference between windows and mac.
|
HI @TwaHendrik, I was testing on Mac. I will have access to a Windows machine on Monday so I will test this again then. |
I was able to reproduce this on Windows. |
We have updated to the new version 3.0.1. Now we have the problem described.
After saving, we get this output. The class was compiled three times.
It was a very simple class without any dependencies.
`Compilation started on 04/07/2025 08:40:41 with qualifiers 'cukb'
Class twa.unittests.util.TestHelper is up-to-date.
Compilation finished successfully in 0.099s.
Compilation started on 04/07/2025 08:40:42 with qualifiers 'cukb'
Class twa.unittests.util.TestHelper is up-to-date.
Compilation finished successfully in 0.018s.
Compilation started on 04/07/2025 08:40:43 with qualifiers 'cukb'
Class twa.unittests.util.TestHelper is up-to-date.
Compilation finished successfully in 0.020s.`
Originally posted by @TwaHendrik in #1470 (comment)
The text was updated successfully, but these errors were encountered: