https://github.com/pgreze/aidea
Drop-in replacement for the idea/studio/whatever commands generated by IDEA based IDEs
https://github.com/pgreze/aidea
Last synced: 3 months ago
JSON representation
Drop-in replacement for the idea/studio/whatever commands generated by IDEA based IDEs
- Host: GitHub
- URL: https://github.com/pgreze/aidea
- Owner: pgreze
- License: apache-2.0
- Created: 2022-10-16T13:03:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T02:37:51.000Z (over 1 year ago)
- Last Synced: 2025-01-12T05:28:42.905Z (4 months ago)
- Language: Kotlin
- Size: 143 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aidea
Drop-in replacement for the idea/studio/whatever
commands generated by IDEA based IDEs.## Installation
TODO
## Features
### Open a project with IDEA
```bash
$ aidea ./my-project
1: IntelliJ IDEA 2022.2.3, build IC-222.434
/Users/pgreze/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/222.4345.14/IntelliJ IDEA CE.app2: Android Studio 2021.3, build AI-213.7172
/Users/pgreze/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/213.7172.25.2113.9014738/Android Studio.appWhich installation to use? 2
```This is the default behavior of generated idea/studio/whatever
commands this project is aiming to replace.### List available IDEA installations
```bash
$ aidea
/Users/pgreze/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/222.4345.14/IntelliJ IDEA CE.app
/Users/pgreze/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/213.7172.25.2113.9014738/Android Studio.app
```### Open a .main.kts file with IDEA
```bash
$ aidea ./hello.main.kts
```This will generate and launch a tiny gradle project,
enough to run your .main.kts file with
all IDEA features like auto-completion, etc.Disclaimer: this is a convenient way to edit .main.kts files,
but consider [kscript](https://github.com/kscripting/kscript)
for more advanced uses.