mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
editor_components.md: move note for "Java" section first
This commit is contained in:
parent
a51c68f5cb
commit
51cdbc1bf9
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user