filmov
tv
PSoC Creator Advanced Tips and Tricks: Snippets

Показать описание
I’m Scott Atkins; I’ve been working on PSOC Creator for 8 or 9 years. And one of our new features is Snippets that allows you to type a short word and expand how to a whole section of code. So as I’m typing, the teleprompt pop-ups and we have Function there, identified by the different icons. I hit Tab twice, it expends to a pre-canned header for a function and text, and then you have fields where you can replace pieces and it will replace in the generated code automatically.
So, if your company has a way that your functions are supposed to look, you make a function Snippet, and you just type function Tab Tab, and you get exactly what its supposed to be every time.
So, if your company has a way that your functions are supposed to look, you make a function Snippet, and you just type function Tab Tab, and you get exactly what its supposed to be every time.