Currently, I am working on a project involving TypeScript and Angular, utilizing the library Spartacus. Often times, I find myself needing to reference the source code.
This is how I currently go about it:
I come across StateUtil
from @spartacus/core
, then proceed to navigate through the Spartacus project, searching for StateUtil
or specifically class StateUtil
until I locate it.
My preferred method would be:
To have a feature similar to other programming languages like GO or Python. Simply Ctrl + click on StateUtil
and instantly access the entire source code (instead of just the type definition).
I understand that in the node_modules
directory, libraries are compiled. However, having the option to download the source code could greatly enhance the development process and make it more convenient.