NightOwl888 commented on PR #2: URL: https://github.com/apache/lucenenet-codeanalysis-dev/pull/2#issuecomment-3353240707
I gave it a try to see if it works in Lucene.NET using the latest build from CI. It didn't update automatically until I restarted Visual Studio to reload the cache. Most likely because we didn't bump to 1.1 yet. The analyzer seems to be working well, but when I try the code fix, it strips the license header from the file. <img width="1058" height="563" alt="image" src="https://github.com/user-attachments/assets/16e002dc-4c9c-4883-9476-3ec666a19553" /> ----------------------------- The comments are stored in the `LeadingTrivia` of the code element (which returns a `SyntaxTriviaList`). That list needs to be carried over into the updated node unchanged. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
