Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
017f1786a9 | ||
|
|
63e84b08d7 |
+4
-4
@@ -45,19 +45,19 @@ Unter Windows:
|
|||||||
Das installierbare Plugin-ZIP entsteht hier:
|
Das installierbare Plugin-ZIP entsteht hier:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
build/distributions/textual-tcss-1.2.10.zip
|
build/distributions/textual-tcss-x.y.z.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
Gradle lädt beim ersten Build die benötigten Gradle- und PyCharm-Komponenten herunter. Der Build kann einige Minuten dauern. Für einen lokalen Entwicklungslauf steht außerdem `./gradlew runIde` beziehungsweise `.gradlew.bat runIde` bereit.
|
Gradle lädt beim ersten Build die benötigten Gradle- und PyCharm-Komponenten herunter. Der Build kann einige Minuten dauern. Für einen lokalen Entwicklungslauf steht außerdem `./gradlew runIde` beziehungsweise `.gradlew.bat runIde` bereit.
|
||||||
|
|
||||||
## Plugin in PyCharm installieren
|
## Plugin in PyCharm installieren
|
||||||
|
|
||||||
1. Baue das Plugin wie oben beschrieben oder besorge die Datei `textual-tcss-1.2.10.zip` aus `build/distributions/`.
|
1. Baue das Plugin wie oben beschrieben oder besorge die Datei `textual-tcss-x.y.z.zip` aus `build/distributions/`.
|
||||||
2. Öffne PyCharm.
|
2. Öffne PyCharm.
|
||||||
3. Öffne **Settings** (Windows/Linux: **File | Settings**, macOS: **PyCharm | Settings**).
|
3. Öffne **Settings** (Windows/Linux: **File | Settings**, macOS: **PyCharm | Settings**).
|
||||||
4. Wähle **Plugins**.
|
4. Wähle **Plugins**.
|
||||||
5. Öffne das Zahnrad-Menü und wähle **Install Plugin from Disk…**.
|
5. Öffne das Zahnrad-Menü und wähle **Install Plugin from Disk…**.
|
||||||
6. Wähle `textual-tcss-1.2.10.zip`. Die ZIP-Datei vorher nicht entpacken.
|
6. Wähle `textual-tcss-x.y.z.zip`. Die ZIP-Datei vorher nicht entpacken.
|
||||||
7. Bestätige die Installation und starte PyCharm neu, wenn PyCharm dazu auffordert.
|
7. Bestätige die Installation und starte PyCharm neu, wenn PyCharm dazu auffordert.
|
||||||
8. Öffne eine `.tcss`-Datei oder eine Python-Datei mit einer `CSS`- oder `DEFAULT_CSS`-Zuweisung. PyCharm sollte die entsprechenden TCSS-Inhalte mit Textual-CSS-Unterstützung anzeigen.
|
8. Öffne eine `.tcss`-Datei oder eine Python-Datei mit einer `CSS`- oder `DEFAULT_CSS`-Zuweisung. PyCharm sollte die entsprechenden TCSS-Inhalte mit Textual-CSS-Unterstützung anzeigen.
|
||||||
|
|
||||||
@@ -92,7 +92,7 @@ class MyApp:
|
|||||||
- Hauptquellcode: `src/main/java/de/textualtcss/intellij/`
|
- Hauptquellcode: `src/main/java/de/textualtcss/intellij/`
|
||||||
- Plugin-Registrierung: `src/main/resources/META-INF/plugin.xml`
|
- Plugin-Registrierung: `src/main/resources/META-INF/plugin.xml`
|
||||||
- Plugin-ID: `de.textualtcss.intellij`
|
- Plugin-ID: `de.textualtcss.intellij`
|
||||||
- Version: `1.2.10`
|
- Version: `x.y.z`
|
||||||
- TCSS-Eigenschaftskatalog: Textual `8.2.8`
|
- TCSS-Eigenschaftskatalog: Textual `8.2.8`
|
||||||
|
|
||||||
Die IntelliJ Platform Gradle Plugin-Tasks (`buildPlugin`, `runIde`) verwalten Verpackung und lokale IDE-Sandbox.
|
Die IntelliJ Platform Gradle Plugin-Tasks (`buildPlugin`, `runIde`) verwalten Verpackung und lokale IDE-Sandbox.
|
||||||
|
|||||||
@@ -44,18 +44,18 @@ On Windows:
|
|||||||
The installable plugin ZIP file is created here:
|
The installable plugin ZIP file is created here:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
build/distributions/textual-tcss-1.2.10.zip
|
build/distributions/textual-tcss-x.y.z.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
During the first build, Gradle downloads the necessary Gradle and PyCharm components. The build process may take a few minutes. For a local development run, `./gradlew runIde` (or `.gradlew.bat runIde`) is also available.
|
During the first build, Gradle downloads the necessary Gradle and PyCharm components. The build process may take a few minutes. For a local development run, `./gradlew runIde` (or `.gradlew.bat runIde`) is also available.
|
||||||
|
|
||||||
## Installing the plugin in PyCharm
|
## Installing the plugin in PyCharm
|
||||||
|
|
||||||
1. Build the plugin as described above or obtain the `textual-tcss-1.2.10.zip` file from `build/distributions/`.
|
1. Build the plugin as described above or obtain the `textual-tcss-x.y.z.zip` file from `build/distributions/`.
|
||||||
2. Open PyCharm. 3. Open **Settings** (Windows/Linux: **File | Settings**, macOS: **PyCharm | Settings**).
|
2. Open PyCharm. 3. Open **Settings** (Windows/Linux: **File | Settings**, macOS: **PyCharm | Settings**).
|
||||||
4. Select **Plugins**.
|
4. Select **Plugins**.
|
||||||
5. Open the gear icon menu and select **Install Plugin from Disk…**.
|
5. Open the gear icon menu and select **Install Plugin from Disk…**.
|
||||||
6. Select `textual-tcss-1.2.10.zip`. Do not unzip the file beforehand.
|
6. Select `textual-tcss-x.y.z.zip`. Do not unzip the file beforehand.
|
||||||
7. Confirm the installation and restart PyCharm if prompted.
|
7. Confirm the installation and restart PyCharm if prompted.
|
||||||
8. Open a `.tcss` file or a Python file containing a `CSS` or `DEFAULT_CSS` assignment. PyCharm should display the relevant TCSS content with Textual CSS support.
|
8. Open a `.tcss` file or a Python file containing a `CSS` or `DEFAULT_CSS` assignment. PyCharm should display the relevant TCSS content with Textual CSS support.
|
||||||
|
|
||||||
@@ -90,7 +90,7 @@ Button { color: $text; }
|
|||||||
- Main source code: `src/main/java/de/textualtcss/intellij/`
|
- Main source code: `src/main/java/de/textualtcss/intellij/`
|
||||||
- Plugin registration: `src/main/resources/META-INF/plugin.xml`
|
- Plugin registration: `src/main/resources/META-INF/plugin.xml`
|
||||||
- Plugin ID: `de.textualtcss.intellij`
|
- Plugin ID: `de.textualtcss.intellij`
|
||||||
- Version: `1.2.10`
|
- Version: `x.y.z`
|
||||||
- TCSS property catalog: Textual `8.2.8`
|
- TCSS property catalog: Textual `8.2.8`
|
||||||
|
|
||||||
The IntelliJ Platform Gradle Plugin tasks (`buildPlugin`, `runIde`) manage packaging and the local IDE sandbox.
|
The IntelliJ Platform Gradle Plugin tasks (`buildPlugin`, `runIde`) manage packaging and the local IDE sandbox.
|
||||||
|
|||||||
Reference in New Issue
Block a user