Pine Wu works as an Information Architect at Visual Studio Code. He is also the author of the popular VS Code plugin Vetur.
Pine’s talk begins with a brief demo of Vetur and how it combines features to enrich and simplify the Vue development experience within VS Code. While Vetur is feature-rich, Pine says it’s about 60% complete and will be incrementally added to over time.
However, he explains that while thinking about how to radically improve the development experience, he can’t just continue to improve Vetur. He had to come up with something entirely new.
If you’re creating a prototype on pen and paper, and you want to draw a line, you have the luxury of a line appearing exactly as you move your pen along the paper. If you had to hit save and wait for the line to appear, that would literally slow down your creative process. That is Pine’s analogy for the problem that Proun solves.
Proun is a plugin designed for prototyping with single file Vue components. In his talk, Pine demonstrates how edits happen in real time. As he’s typing in VS code, the text in the browser is updating in real time with no need to save the file or refresh the browser.
Another major Proun feature Pine demonstrates is how, when he clicks on different files within VS Code, this causes the tab in his browser to switch to the tab associated with that file. There’s no need to touch the browser to view what’s happening in that file. Proun does it for you.
Pine demonstrates how intuitive the developer experience with Proun can be by showing other features, such as how VS Code’s color picker will update the styles in the browser in real time, too. He compares this to previewing colors within Chrome’s dev tools until you find a color you like, then copying that code and pasting it into your code editor. With Proun, it all happens live from VS Code, making the creative prototyping experience more seamless and function more like a sketch pad.
Pine shares how Proun makes it easier for beginners to start working with Vue, versus jumping into a Webpack configuration. And he believes Proun’s ability to catch errors and provide helpers and snippets where you need them within your editor helps all developers while reducing the need to look at external documentation while coding.
It’s essentially designed with the intention of being self-contained so a developer has what they need where and when they need it so they can focus on being creative and exploring ideas.