Better editor support #92
johnlindquist
announced in
Roadmap
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Progress
Explanation
The current editing experience leaves a lot to be desired since there's zero code-hinting or import help
How
current recommended workaround for a much better experience:
I think we can get rid of the
npm
helper completely by leveraging how we scan the//Menu: Foo
metadata to also scan forimport("foo")
and prompt to install. I still need to experiment with the experience of it..kit
The plan is to add a
.kit/src
containing TypeScript files that export to the current structure. This will be a huge win for everyone, especially people who want to contribute/refactor since we can just operate in thesrc
dir and treat the.kit
root as a "dist". This might be challenging to configure since the preload scripts need to be commonjs whereas the cli/etc scipts are modules, but I'm confident it can be done.Beta Was this translation helpful? Give feedback.
All reactions