editor_components.md: move note for "Java" section first

This commit is contained in:
Yann Cébron 2023-05-10 14:51:26 +02:00
parent a51c68f5cb
commit 51cdbc1bf9

View File

@ -46,6 +46,10 @@ Refer to the [](code_completion.md) to learn more about completion.
### Java
> If your plugin depends on Java functionality and targets 2019.2 or later, please make sure to follow the steps from this [blog post](https://blog.jetbrains.com/platform/2019/06/java-functionality-extracted-as-a-plugin/).
>
{style="note"}
A common use case for `EditorTextField` is entering the name of a Java class or package.
This can be accomplished with the following steps:
@ -69,10 +73,6 @@ EditorTextField myInput =
new EditorTextField(document, project, JavaFileType.INSTANCE);
```
> If your plugin depends on Java functionality and targets 2019.2 or later, please make sure to follow the steps from this [blog post](https://blog.jetbrains.com/platform/2019/06/java-functionality-extracted-as-a-plugin/).
>
{style="note"}
**TIPS**:
* When creating more than one field, two separate documents are needed.