@Syntax doesn't work
See original GitHub issueHi! I set @Syntax
annotation to method but if i write incorrect command i have template syntax command:
Usage: <c2>{command}</c2> <c3>{syntax}</c3>
Code:
@CommandAlias("eastereggs|ee")
public class ListCategoryCommand extends BaseCommand {
@Subcommand("list")
@CommandPermission("eastereggs.admin")
@Syntax("[page]")
@Description("List of easter eggs")
public void onListCategory(Player player, @Optional @Single @Default("1") Integer page) {
Screenshot:
What’s wrong?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Vim Syntax Highlighting does not work - Stack Overflow
I've installed a fresh Arch Linux system on my laptop and downloaded the vim package. I haven't altered the . vimrc file, but...
Read more >Javascript syntax highlighting it not working
I have an .html file which is part of a large project, and in the middle of the file, syntax highlighting just flat...
Read more >Syntax highlighting does not work in the advanced editor
I use. - Microsoft Office 2019 // Version 2112 (build 14729.20068). How do I enable syntax highlighting? Why doesn't syntax highlighting work?
Read more >Syntax highlighting doesn't work after adding a file and ...
Syntax highlighting doesn't work after adding a file and manually setting the PHP extension. From the project tab, if I right click in...
Read more >The syntax highlighting doesn't work when creating a new file ...
The syntax highlighting doesn't work when creating a new file from a template. When creating a new file in a repository from a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kyngs No problem! You’re not the only one aha
BTW: You can also use the
@Name
annotation directly on the parameter to specify a custom argument name.EDIT: OOF, I’ve mentioned someone, sorry.