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 in the body of an interface, the public_method snippet inserts:
public void name() {
}
instead of
public void name();
There might be a way to return an interface-friendly snippet, depending on the context. Same issue with the private_method snippet.
Actually, a bunch of snippets irrelevant to the interface body context are proposed: try_catch, try_resources, switch, ctor, protected_method. We shouldn't see them here. Actually try_catch, try_resources, switch should only be proposed when completing inside a code block, regardless of the type.
The text was updated successfully, but these errors were encountered:
When in the body of an interface, the
public_method
snippet inserts:instead of
There might be a way to return an interface-friendly snippet, depending on the context. Same issue with the
private_method
snippet.Actually, a bunch of snippets irrelevant to the interface body context are proposed:
try_catch
,try_resources
,switch
,ctor
,protected_method
. We shouldn't see them here. Actuallytry_catch
,try_resources
,switch
should only be proposed when completing inside a code block, regardless of the type.The text was updated successfully, but these errors were encountered: