Open noam-honig opened 1 month ago
Currently the code editor does not have type aware intellisense. However this is something we are planning to improve in future.
@AriPerkkio thanks for getting back to me, I see that in the angular tutorial it seems to work (at least partially) https://angular.dev/tutorials/learn-angular
Is this a different engine?
Is this a different engine?
Looks like Angular's tutorial is using the same editor (CodeMirror) that TutorialKit uses. This simply hasn't been implemented on TutorialKit's side.
Hi Guys,
Just saying that this is my top priority feature - my tutorial (learn.remult.dev) is in typescript, and remult takes full advantage of typescript - but without the editor support, its missing the point a little.
So just in case you were wondering what's a priority for me - this is the one :)
Thanks
Describe the bug
I'm writing a tutorial that uses typescript, and I can't get typescript auto complete to work on the code editor (and also typecheck)
Link to a StackBlitz project which shows the error
No response
Steps to reproduce
Here's my repo: https://github.com/noam-honig/play-with-tutorial-kit/tree/typescript-typing
I use a vite typescript project for the template.
I added a file: src\content\tutorial\1-basics\1-introduction\1-welcome_files\test.ts
When I try to type
firstName
inside the new object, it doesn't auto complete, nor does it type check that I spelled it correctly.Expected behavior
I expect auto complete to display firstName and lastName, and if I type a wrong value, to get some error highlighting as I do in stackblitz Screenshot from stackblitz![image](https://github.com/user-attachments/assets/d066e05c-8123-4c51-92ad-55f9e84f5ca1)
Screenshots
No response
Platform
Additional context
No response