Visual Studio Code – What regex would I use to add javadocs to a java program in vscode?
My current attempt: Find: (^$n[s]*.*{|^$n[s]*.*@.*$) Replace: /***/$1 Problem: works well except for the fact that the javadoc boilerplate is not indented. What change would I implement to indent it accurately? Input: public class Main { class innerClass { int a;…