3 ms·
You can just use @Docs [0] to import the correct documentation for your libraries. [0] https://docs.cursor.com/context/@-symbols/@-docs https://docs.cursor.com
by satvikpendem 2y ago
You can just use @Docs [0] to import the correct documentation for your libraries.
[0] https://docs.cursor.com/context/@-symbols/@-docs https://docs.cursor.com/context/@-symbols/@-docs
- zoogeny 2y agoSure, however I made the point "how quickly JS libraries tend to change" and "the typical JS server project has dozens of libs". That can add up to a lot of context. I suppose a point could be made that I could keep the docs up-to-date using Cursor's custom docs feature and hope that whatever magic they are doing to manage context doesn't blow out the daily token budget. And I haven't tried that since the flow I mentioned about tends to work (as long as the libraries in question provide good diagnostic logs). A good augmentation to my workflow might be periodically prompting "In file X I am using lib Y at version vN.M.P, check the docs for that version and report any errors or misuses ...".