A specific functionality or enhancement provided by Windows Copilot
As a proactive developer I could not help myself and finally the same day that I choose to publicly pose my question... I found out why.
**-------------------------------------------------------------------------------------------------------------------------
Quick: for devs
**
As a DEV, familiar with Copilot and development at it's core, here is a quick workaround and solution:
- Copilot: Navigate to your Notebooks, choose your project.
- To bypass the bug, upper left, Click Apps (9 dots), choose OneDrive, it will ask to sign into "onedrive.live.com" for the first time. The bug has now been bypassed.
- In your project, you can now click OneDrive and choose a folder (and contents) or cherry pick files. Copilot is now synced to those files and folders.
- IMPORTANT: Copilot has ZERO sense of any file-structure/tree/hierarchy of the folder you may have referenced. To let Copilot know what your structure is, in order to be productive in your development-code, do a PowerShell/pwsh or cmd: "tree /f /s > tree.txt". Upload this tree.txt to the refence or place inside of the OneDrive folder you have referenced.
That's it. If you understood from that, you circumvented the bug for this session.
Explanation:
if you are not a DEV and need instructions, follow along:
You can open Apps, then OneDrive! That's the workaround. It's an extra step that unblocks the glitch/bug in Copilot. I will now illustrate. Then OneDrive will now work as intended on Projects from Notebooks. For this session! When you reboot your computer, you will have to do this again.
You can't open Copilot > Notebooks > Choose project > Side Panel: "| Creations | References |" > References: | Upload | Links | OneDrive | > Choose OneDrive: "My Files"
Do this first, to "unclog" the current "bug in Copilot" wrt "Copilot with OneDrive":
(TO VIEW IMAGES BETTER, RIGHT-CLICK, OPEN-IMAGE NEW TAB)
The first time it will ask you, inside Copilot, to log into "onedrive.live.com". Now the glitch is bypassed for this session and you can normally access OneDrive via the Notebooks: > OneDrive icon.
Why? So you can work on a project and instead of "Upload" files, you can use OneDrive to keep the files in sync. This does mean keeping files on your desktop on your OneDrive Desktop install on your computer. It's easier to keep things in sync and easier to chat with your Copilot.
However, now that I found out a way to get OneDrive to work in Copilot, I am underwhelmed. It's a cherry picker to Upload from OneDrive. Rather than what I expected.
What did I expect? I expected to select OneDrive, select a folder for this project in my Notebooks, then copilot now has access to this folder and when I update the files, Copilot will now see those changes. I thought that was why OneDrive was there. Unfortunately it's a glorified Upload method.
It would be just pure Awesomeness if you could "Choose Folder to share with copilot" with out Projects in Copilot Notebooks. No OneDrive, just local folder selection.
With regards to MS Staff Moderator's comment: I did some tests.
- You can add a folder : HOWEVER Copilot cannot read the contents of the folder.
Images are more powerful than a few paragraphs:
(TO VIEW IMAGES BETTER, RIGHT-CLICK, OPEN-IMAGE NEW TAB)
I refer to the folder. it's a simple index.html and styes.css inside the folder. It's a basic starter code. Copilot can see the folder, but can't read the contents of the folder.
So, adding folders is moot, just for fun right now. Interesting dead ends are being met so far.
NEXT IMAGE:
There is a weird finding and it seems moot, yet again. Here is the image:
(TO VIEW IMAGES BETTER, RIGHT-CLICK, OPEN-IMAGE NEW TAB)
We are working on "MAPS", a simple html and css file so far. I uploaded "MAPS" to the OneDrive reference, as a folder reference:
- Can you see my new folder Copilot and can you tell me what's inside? NO.
- Notebooks is what we are working on. A project space if you will.
- I have references for Copilot to read via "Upload" and it works.
- I have now referenced a folder in OneDrive; moot, Copilot cannot read the folder nor contents of folder.
- Weird: If you select the folder reference, a Copilot sidebar opens and you can not click a files (select a file) and Copilot "NEW SIDEBAR CHAT" can discuss it. But Notebooks "Chat" is not aware, there is no WIP (Work In Progress).
Updated Verdict: You can do a workaround to get OneDrive visible. It's a fancy file picker to upload. You can choose a Folder that will appear in OneDrive as a reference; however Copilot cannot read anything inside it. Moot. It's for fun-dead-end hunting (sorry, bad joke). You can click the Folder Reference from Notebooks current work session and a side-bar Copilot will be there for a new side-bar-chat, but Notebooks Copilot chat will not be informed. OneDrive remains to be a fancy uploader IMHO and still has many bugs to work out.
So I was not satisfied with this. Another EDIT.
YES, the folder reference is VALID, but with a crucial caveat! In Programming and DEV creations, we use structured folders and files inside folders and referencing other files via directory associations either relatively or direct paths. COPILOT is 100% unaware, currently, of the "Folder Contents" and folder strucutre/hierarchy! I probed, "What are the contents of this new folder I referenced?" Copilot cannot say. Here is the importance of that:
(TO VIEW IMAGES BETTER, RIGHT-CLICK, OPEN-IMAGE NEW TAB)
For this Aha! Moment, I did this cmd: "tree /f /a > tree.txt"
L:\PROJECTS\MAP_VIEW>tree /f /a
(TO VIEW IMAGES BETTER, RIGHT-CLICK, OPEN-IMAGE NEW TAB)
And I dropped a new file into the OneDrive folder, it snyc'd, and Copilot was able to see it.
(TO VIEW IMAGES BETTER, RIGHT-CLICK, OPEN-IMAGE NEW TAB)