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
When I use {@literal @} to including @ symbols in code blocks then the line starts with one space to much.
Sample snippet in package-info.java:
/**
* ```java
* {@literal @}RunWith(AndroidJUnit4.class)
* public class MyTest {
*
* {@literal @}Rule
* public IntentsTestRule<MyActivity> activityTestRule = new IntentsTestRule<>(MyActivity.class);
*
* }
* ```
*/
Expected result:
@RunWith(AndroidJUnit4.class)
public class MyTest {
@Rule
public IntentsTestRule<MyActivity> activityTestRule = new IntentsTestRule<>(MyActivity.class);
}
But result has one space to much at each @ symbol.
@RunWith(AndroidJUnit4.class)
public class MyTest {
@Rule
public IntentsTestRule<MyActivity> activityTestRule = new IntentsTestRule<>(MyActivity.class);
}
For @Rule I can remove one space and then it looks correct but at @RunWith this workaround does not work.
The text was updated successfully, but these errors were encountered:
When I use
{@literal @}
to including @ symbols in code blocks then the line starts with one space to much.Sample snippet in
package-info.java
:Expected result:
But result has one space to much at each @ symbol.
For
@Rule
I can remove one space and then it looks correct but at@RunWith
this workaround does not work.The text was updated successfully, but these errors were encountered: