mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
Fix gh-java-annotations links
This commit is contained in:
parent
26a2483468
commit
acd3a28f8d
@ -25,9 +25,9 @@ Another example is inspecting whether a given string value is properly capitaliz
|
||||
> - <ui-path>Properties files</ui-path>
|
||||
|
||||
Consider using the following annotations:
|
||||
- [`@Nls`](%gh-java-annotations%java-annotations/src/main/java/org/jetbrains/annotations/Nls.java) - for NLS strings.
|
||||
- [`@Nls`](%gh-java-annotations%/common/src/main/java/org/jetbrains/annotations/Nls.java) - for NLS strings.
|
||||
The `capitalization` attribute allows to specify required capitalization.
|
||||
- [`@NonNls`](%gh-java-annotations%java-annotations/src/main/java/org/jetbrains/annotations/NonNls.java) - for non-NLS strings
|
||||
- [`@NonNls`](%gh-java-annotations%/common/src/main/java/org/jetbrains/annotations/NonNls.java) - for non-NLS strings
|
||||
- [`@NlsSafe`](%gh-ic%/platform/util/base/src/com/intellij/openapi/util/NlsSafe.java) - for NLS-safe strings
|
||||
|
||||
### NLS Context Annotations
|
||||
@ -132,7 +132,7 @@ final class ExampleBundle {
|
||||
|
||||
Do not extend `DynamicBundle` in bundle classes.
|
||||
|
||||
Annotating message key parameter with [`@PropertyKey`](%gh-java-annotations%/java-annotations/src/main/java/org/jetbrains/annotations/PropertyKey.java) adds the IDE support in the client code, e.g., reporting unresolved message keys.
|
||||
Annotating message key parameter with [`@PropertyKey`](%gh-java-annotations%/common/src/main/java/org/jetbrains/annotations/PropertyKey.java) adds the IDE support in the client code, e.g., reporting unresolved message keys.
|
||||
|
||||
### Moving Strings to Message Bundles
|
||||
|
||||
|
4
v.list
4
v.list
@ -1,4 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||
|
||||
<!DOCTYPE vars
|
||||
SYSTEM "https://resources.jetbrains.com/writerside/1.0/vars.dtd">
|
||||
|
||||
@ -18,7 +20,7 @@
|
||||
<var name="gh-ij-plugins-master" value="https://github.com/JetBrains/intellij-plugins/tree/master"/>
|
||||
|
||||
<var name="gh-jcef" value="https://github.com/JetBrains/jcef/tree/master/java"/>
|
||||
<var name="gh-java-annotations" value="https://github.com/JetBrains/java-annotations/tree/master/"/>
|
||||
<var name="gh-java-annotations" value="https://github.com/JetBrains/java-annotations/tree/24.0.0"/>
|
||||
|
||||
<var name="gh-ijpgp" value="https://github.com/JetBrains/gradle-intellij-plugin/blob/2.0"/>
|
||||
<var name="gh-pv" value="https://github.com/JetBrains/intellij-plugin-verifier/blob/master"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user