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
dropped support for relative paths in launch.json: UX problems #1575
Comments
👍 we should improve this, I will look into how to make this experience nicer |
Do we need to update the yo code generator as well? |
Yes, I will update it. |
All yo code generator templates use |
What exact keyboard shortcut validation are you refering to? I propose that instead of having smart inteli-sense and light bulbs, we just automatically update the content of the launch.json for the user and show an info message such that he is aware of what is going on. |
@isidorn switch your OS X keyboard layout to Swiss German and open the keyboard shortcuts. Then scroll through the list and you will see that some bindings show adornments (he basically looks at the keyboard strings and validates that they can be produced by the current keyboard layout) . Alex demoed this in the standup last week. @aeschli is out of the loop because this is semantic validation which is not covered by the json schema. But since we need this anyway in the future we should support semantic validation and Alex has implemented it in a day or so... |
We are now showing a warning message in the launch.json if the user uses a relative paths and we do not spam with msgs on top of screen. |
When using old launch.jsons with relative paths, VSCode throws warnings into the users face.
I don't think that we can ship with this in January.
In general I think that we should not show warnings in this way because it is annoying and unhelpful. Instead we should show warning (later "error") squigglies in the json editor and offer intellisense to help the user inserting the missing "${workspaceRoot}" and have a "light bulb" action for fixing the whole launch json (as an example use the validation that got introduced for the Keyboard Shortcuts json).
If this is not possible for January, I suggest that we only fix our intellisense, templates, samples, etc. but show no warnings in the launch.json editor.
The text was updated successfully, but these errors were encountered: