You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently create a "main" directory for this and move it there. This has rightly been perceived as confusing, and there's nothing in this process that provides a clue as to why this happened. We could add a comment or something like that in the template, but a simpler approach is to just skip templating in the workspace root. This will instead flag a violation, giving users a chance to learn about it, and disable it if they so want.
On the topic of disabling, we should also allow disabling templating altogether.
The text was updated successfully, but these errors were encountered:
* lsp/templating: gracefully unknown root
This also disables templating for files in the root.
Fixes#1164
Related to #1141, but this needs
more work
Signed-off-by: Charlie Egan <[email protected]>
* Guard rather than use error control flow
Signed-off-by: Charlie Egan <[email protected]>
* Correct test error message
Signed-off-by: Charlie Egan <[email protected]>
---------
Signed-off-by: Charlie Egan <[email protected]>
We currently create a "main" directory for this and move it there. This has rightly been perceived as confusing, and there's nothing in this process that provides a clue as to why this happened. We could add a comment or something like that in the template, but a simpler approach is to just skip templating in the workspace root. This will instead flag a violation, giving users a chance to learn about it, and disable it if they so want.
On the topic of disabling, we should also allow disabling templating altogether.
The text was updated successfully, but these errors were encountered: