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
The generated translation accessors include KDoc strings, so that you can hover over a call to see the text it will return, eg:
/** Changed position of {$count} new cards. */funbrowsingChangedNewPosition(`count`: Int): String {
return translate(2, 25, mapOf("count" to asTranslateArg(`count`)))
}
/** Clear Unused Tags */funbrowsingClearUnusedTags(): String {
return translate(2, 26, mapOf())
}
/** A saved search with the name {$name} already exists. Do you want to overwrite it? */funbrowsingConfirmSavedSearchOverwrite(`name`: String): String {
return translate(2, 27, mapOf("name" to asTranslateArg(`name`)))
}
Currently these are not visible when working on the AnkiDroid repo, as they don't get included in the generated .class files. Not essential, but would be nice to have if AnkiDroid wants to start using these.
This fixes, partially, ankidroid#208. When used with a local Maven repo, it
works correctly. Unfortunately it doesn't fix things for the normal
case, as gradle/intellij seem to get confused when the library is in
an .aar instead of a jar.
Once this is fully working, it will allow people to hover over backend
functions/messages to get documentation, when it exists.
The generated translation accessors include KDoc strings, so that you can hover over a call to see the text it will return, eg:
Currently these are not visible when working on the AnkiDroid repo, as they don't get included in the generated .class files. Not essential, but would be nice to have if AnkiDroid wants to start using these.
Related: #15
The text was updated successfully, but these errors were encountered: