This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update LiteCommands logo. Update minecraft version. Add fabric and sp…
…onge to platforms section. Update IntelliJ-IDEA-Plugin.md
- Loading branch information
Showing
6 changed files
with
32 additions
and
86 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,7 @@ | ||
# IntelliJ IDEA Plugin | ||
|
||
The LiteCommands **IntelliJ IDEA** Plugin enhances the development experience for LiteCommands framework users by providing a set of powerful features aimed at improving command and argument validation, offering helpful suggestions, and facilitating seamless migration. Below are the key features of the plugin: | ||
With LiteCommands plugin, you can easily develop your commands within the **IntelliJ IDEA** environment. | ||
The plugin provides **annotation inspections**, **tools** for creating new command classes, **syntax highlighting**, **code completion**, | ||
and other useful features to make your development experience smoother and more efficient. How to [install](https://github.com/LiteDevelopers/LiteCommands-IntelliJPlugin?tab=readme-ov-file#installation)? | ||
|
||
## Command Viewer | ||
|
||
The Command Viewer is a tool that allows you to view current commands in your command class. It provides a convenient way to navigate through your commands and view their structure with their properties. | ||
|
||
![intellij-command-viewer.png](intellij-command-viewer.png) { width="350" } | ||
|
||
## Command Validation | ||
|
||
The Command Validation highlights any errors in your command methods and arguments and provides helpful suggestions to fix them. | ||
|
||
### Missing Annotation | ||
|
||
![intellij-command-validation-no-annotation.png](intellij-command-validation-no-annotation.png) | ||
|
||
|
||
### Primitive cannot be nullable | ||
|
||
// TODO image | ||
|
||
### Invalid route command | ||
|
||
// TODO Image | ||
|
||
## Legacy Annotations Migration | ||
|
||
### 2.x -> 3.x | ||
- `@Permission` | ||
- `@Route` -> `@Command` | ||
- `@Section` -> `@Command` | ||
- `@Execute` | ||
- `@Arg` | ||
- `@Flag` | ||
- `@Joiner` -> `@Join` | ||
|
||
// TODO Image | ||
<img alt="litecommandsbanner-intellij" src="https://github.com/Rollczi/LiteCommands/assets/49173834/fea96613-af58-42bb-b32d-ffd6946ba4cc"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters