Open
Description
Just a small suggestion.
When running dotnet-script init
in a directory that already has a launch.json
file with other configurations, I found it a bit surprising that it totally overwrote what I had there:
$ dotnet-script init
Creating VS Code launch configuration file
...'/home/afk/temp/.vscode/launch.json' already exists' [Skipping]
...Use global tool launch config [Updated]
<snip>
I had experience with the tool running as non-global where it used [Updated]
to mean modified and not overwritten.
So maybe changing the wording to something like
Creating VS Code launch configuration file
...'/home/afk/temp/.vscode/launch.json' already exists' [Skipping]
-...Use global tool launch config [Updated]
+...Use global tool launch config [File Overwritten]
One other related small suggestion: maybe only highlight messages like [Updated]
instead of [Skipping]
. Highlighting the skipping messages (which don't feel important) trains me to ignore the highlights.
It would print something like:
I'm happy to make a PR, but the changes are very small and might take more effort to review rather than implement.
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels