Hi
The Add Doc function seems to crawl and index documents by specifying URLs, but is it possible to convert local files and folders to Doc?
Hi
The Add Doc function seems to crawl and index documents by specifying URLs, but is it possible to convert local files and folders to Doc?
I recommend making your local documentation a part of your codebase and then recomputing your codebase index. This way, the codebase context features can also read your documentation.
Thanks for the great explanation. Could you be a little more specific?
Not sure if this is relevant, but do you know what does the bar chart in the video show?
*I have seen this % exceed 100, but I donât understand what you are targeting as 100%.
It looks like youâre using an old version of Cursor. Please re-download it from https://cursor.sh/.
My apologies, Iâll try to be more specific:
Thanks for the great answer, I guess the version was out of date.
ă»BTW. Doesnât it auto-update? Where can I check the version?
ă»Also, I was able to load all folders as you described with the index function.
It would also be possible to index information on the internet by setting the URL. On the other hand, I would like to import local files such as notes and other notations found at meetings, etc. Is there a way to do this?
Yes, it should auto-update. You can check the version by going to the menu bar at the top left, clicking âHelpâ => âAboutâ and then a window will open with all the information.
Yes, you can place any text-based files you want to use into your project folder to include them in your codebase context, as I described in my previous answer.
got it perfect answer .thank you.
The local docs should be stored independently from the project, like the crawled docs as it can be a hassle to always have to import them for every new project.
I agree with this â storing local docs outside of the project.
However, how does one include non project files in the cursor index? I only see that one can add remote urls, not local files in other folders. Have you been able to achieve this? Please share if so.
Thanks in advance
The only way I can think that this is possible at the moment is by using workspaces where you can add files from multiple folders on your machine into one âworkspaceâ, which Cursor would index as if it was all one big codebase.
See more info here (works the same in Cursor as VSCode):