code.quarkus.io icon indicating copy to clipboard operation
code.quarkus.io copied to clipboard

Allow generated project in-browser preview

Open grossws opened this issue 3 years ago • 2 comments

Something like Spring Initializr Explore feature that allows to navigate generated project in browser instead of downloading zip archive.

Basic requirements:

  • project tree view
  • minimal syntax highlight for *.java, pom.xml, *.gradle[.kts], *.properties, *.md (optionally render it instead of highlight)
  • obvious hotkey to close modal, e.g. Esc

grossws avatar Dec 09 '22 20:12 grossws

I know the feature but I never figured out the usecase for it.

What usecase do you see for it ?

maxandersen avatar Dec 10 '22 03:12 maxandersen

@maxandersen, in my personal experience I used it to update/migrate from older to newer features/modules/extensions when examples/codegen is available.

Though I don't use generated projects for Spring Boot/Quarkus as is, I rework their use to the org-wide templates (on-prem buildscripts, repos, plugins etc). In simple cases like new dependency/extension migration could just entail looking through the docs. And Quarkus has great docs as it is.

I guess for many Quarkus users it would be covered by quarkus ext add .. but it's sometimes great to look at what would be generated when different dependencies/extension are choosen.

It certainly shouldn't be a priority feature since its use is quite niche.

grossws avatar Dec 11 '22 01:12 grossws