Do you think it is possible to write a TUI fronten...
# general-advice
a
Do you think it is possible to write a TUI frontend for IDEA? I mean is it possible to use the
idea
command as a backend for a frontend that I write for IDEA?
s
Something like this?
Copy code
$ tuidea
select project(0-9): 
(0) some-app /Users/user1/...
(1) ....
In macOS, this info is saved under user directory (ex.
~/Library/Application Support/JetBrains/IntelliJIdea2025.2/options/recentProjects.xml
) So I think it's possible to retrieve information you need and implement TUI, but you should implement your own mapping logic. Also data format like this can be easily changed
a
No, I mean a full TUI. Editor, sidebar, etc
s
Ok then I'd say it's not possible. Note that
idea
is only launcher script, not cli. Maybe you can make some plugin try to expose IntelliJ as an LSP server. There was an attempt to do that (intellij-lsp-server) but not every component can be controlled from plugin, I guess.
a
I see, thanks
so there is no headless version of idea
s
Right