You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will replace the curly brackets around the function rather than the single quotes around the (fake) string. In Java single quotes are only used for characters and double quotes are used for strings. As such defining a string with single quotes is incorrect. I am assuming that the delimiter search is based on the parser which does not recognize the single quotes as delimiters.
To reproduce:
Create a java file in the vscode and paste:
public class TestSingleQuoteDelimiter {
public static void main(String[] args) {
String notAString = 'this will not work';
}
}
The result after the command is:
public class TestSingleQuoteDelimiter {
public static void main(String[] args) "
String notAString = 'this will not work';
"
}
The text was updated successfully, but these errors were encountered:
quad repack [W]hiskey
Will replace the curly brackets around the function rather than the single quotes around the (fake) string. In Java single quotes are only used for characters and double quotes are used for strings. As such defining a string with single quotes is incorrect. I am assuming that the delimiter search is based on the parser which does not recognize the single quotes as delimiters.
To reproduce:
Create a java file in the vscode and paste:
The result after the command is:
The text was updated successfully, but these errors were encountered: