total-typescript / advanced-patterns-workshop

An interactive TypeScript repo on advanced patterns (WIP)
1.31k stars 198 forks source link

Explain how to create new file in Stackblitz Editor #10

Open freiondrej-lokalise opened 1 year ago

freiondrej-lokalise commented 1 year ago

Hello,

for https://github.com/total-typescript/advanced-patterns-workshop/blob/main/src/05-external-libraries/26.5-override-external-lib-types.solution.ts and https://github.com/total-typescript/advanced-patterns-workshop/blob/main/src/05-external-libraries/26.5-declaration.solution.d.ts, it would be helpful to add a hint how to display project files (and thus allow creating a new file) in the StackBlitz Editor - I only found out by accident that you can go with CMD+B to display it, didn't find a GUI way to do that which prevented me to proceed with the solution. 🙂

boltex commented 9 months ago

@freiondrej-lokalise Thank you!! I came here looking on how to create new files, as unlike vscode.dev web editor, none of the usual shortcuts work (ctrl+n, double clicking on the tabs bar, etc.)

boltex commented 9 months ago

Also, I cannot get it to accept the answer, even when the hover confirms it's the right type (even after re-saving the file to restarts its compilation and checks) : image