aaron-bond / better-comments

https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
MIT License
821 stars 157 forks source link

Not working in Remote-WSL for specific languages. Found a possible solution to this problem #509

Open milosdjurica opened 7 months ago

milosdjurica commented 7 months ago

I've encountered an issue where this extension behaves differently between local and Remote-WSL development environments. For some languages such as Java, JavaScript, TypeScript, CSS, and HTML, Better Comments work as expected both on local and Remote-WSL. However, for certain languages like Solidity, Better Comments work as expected on local development but do not apply in the Remote-WSL environment.

I found this comment : https://github.com/aaron-bond/better-comments/issues/344#issuecomment-934977692 @aaron-bond Here you say that you found a way to enable it to work for all languages, as long as user has language extension that tells Better Comments about the format.

My guess why it is behaving different for some languages is:

My question for @aaron-bond is : Is there a way to apply this automatic check on remote development too?

If there is no way to enable it automatically, I would like to manually specify some languages like Solidity but I will need some guidance on how to do so. If you can provide guidance on how to add different languages manually, I believe that this issue would be fixed and people would be able to create pull request for languages that they want to use this extension for.