Cannot select non-code files (.md, .txt) to include in chat window via 📎 file list button
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
Comece pelo tratamento da lista de arquivos 📎 na janela do Copilot Chat e reproduza o problema com README.md e task_list.txt em um projeto Xcode no macOS. Compare o comportamento deles com o de um arquivo .md.swift renomeado; considera-se concluído quando os arquivos .md e .txt compatíveis aparecem na lista e podem ser selecionados como contexto do chat sem o workaround.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
In the Chat window for GitHub Copilot for Xcode (v0.31.0), non-code files, specifically markdown and text files (.md and .txt files) are not listed in the file list when I tap the 📎 button.
It is therefore impossible for Copilot to access the contents of a README.md or task_list.txt file directly within the Copilot UI. Thanks for taking a look.
Versions
- Copilot for Xcode: 0.31.0
- Xcode: 16.2 (16C5032a)
- macOS: Sequoia 15.3.1 (24D70)
Steps to reproduce
- Open an Xcode project that contains a
.txtor.mdfile on macOS. - Select GitHub Copilot >> Open Chat from the macOS menubar (having installed GitHub Copilot for Xcode, of course—NOT the independently developed "Copilot for Xcode").
- Attempt to select one of these non-code files (e.g.
README.mdortask_list.txt) from the 📎 file list to provide it as context in Copilot chat.
Results
Expected: Non-code files like README.md and task_list.txt are listed in the 📎 file list in the Copilot Chat window.
Actual: Non-code files do not appear in the 📎 file list and thus cannot be shared as context in Copilot Chat.
Impact
This limits users' ability to use GitHub Copilot for Xcode to maintain task lists, README, license files, release notes, and other non-code documents.
Workaround
Rename README.md to README.md.swift and the file now appears in the 📎 file list.
Screenshots
0 - project layout
1 - .md file missing from file list
2 - workaround by renaming files
Logs
N/A
Additional context
There is a problem in which DerivedData files are spuriously included in the 📎 file list menu (if the DerivedData is located in the project directory). I'll file a separate ticket for that, but these could probably both be addressed together.
ps. I'm open to full-time or contract work and would love to contribute if there is an opportunity. https://www.linkedin.com/in/billfeth Thanks!
- Linguagem predominante
- Swift
- Estrelas
- 6.3k
- Forks
- 2k
- Merge médio
- 3d 21h
- PRs com merge (30d)
- 2
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/CopilotForXcode
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
github/CopilotForXcode#181 · 2 reações ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
github/CopilotForXcode#945 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 35/100
github/CopilotForXcode#943 ·
-
Luisgerardomartinezlara Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 10/100
github/CopilotForXcode#936 · 2 comentários ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 10/100
github/CopilotForXcode#934 ·
Todas as issues de github/CopilotForXcode
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
manaflow-ai/cmux#13417 ·
-
triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
ionic-team/capacitor#8616 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
paritytech/host-rust-core#868 ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
Cocoanetics/SwiftMail#238 · 1 comentário ·