Closed alexr00 closed 4 years ago
From @JoeyRxy https://github.com/microsoft/vscode/issues/78445
Snippet. Notice that there is an newline in the catch clause between some exception types.
public static void main(String[] args) { try { // something } catch (NoSuchMethodException | SecurityException | InstantiationException | llegalAccessException | IllegalArgumentException | invocationTargetException e) { e.printStackTrace(); } }
Only the last exception type on each line get the scope: storage.type.java meta.function-call.java source.java
The other exception types get scope: meta.function-call.java source.java
Looks similar to this: #186
From @JoeyRxy https://github.com/microsoft/vscode/issues/78445
Snippet. Notice that there is an newline in the catch clause between some exception types.
Only the last exception type on each line get the scope: storage.type.java meta.function-call.java source.java
The other exception types get scope: meta.function-call.java source.java