Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to open editors when installation is done #29922

Closed
naaajii opened this issue Mar 24, 2025 · 1 comment
Closed

Ability to open editors when installation is done #29922

naaajii opened this issue Mar 24, 2025 · 1 comment

Comments

@naaajii
Copy link
Contributor

naaajii commented Mar 24, 2025

Command

new

Description

it would be nice if CLI prompts for if we want to open the folder after installation is finished instead of manually opening our editors there.

for bonus point maybe if CLI also asks we would wanna serve the project.

Describe the solution you'd like

maybe something with the prompts itself would be nice that asks if we want to open the folder with [x] editor or serve project after installation.

we could also have flags that we can pass instead of prompting, something like:

ng new [...] --editor=code --auto-serve

Describe alternatives you've considered

maybe write package that takes same commands as Angular CLI and runs them afterwards.

chain commands all the time: ng new [...] && cd [name] && code . && ng serve --o

@alan-agius4
Copy link
Collaborator

Thanks for this feature request.

Adding flags adds unnecessary complexity, especially given the wide variety of code editors available. Each integration would require maintaining specific logic for different editors, which adds overhead and potential for issues. Additionally, when opening an editor, the intent is often to run the command in its terminal.

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants