--- lang: ja-jp breaks: true --- # Github Copilot Chat にソリューション内の全てのファイルを読み込ませる試み 2024-12-19 ## ソリューション内の全ての `*.cs` `*.razor` `*.md` ファイルを列挙 ```ps= Get-ChildItem -Path "XXXXXXXXXXXXXXXX" ` -Include "*.cs", "*.razor", "*.md" ` -Recurse | Where-Object { ` $_.Name -notlike "*.g.cs" ` -and $_.Name -notlike "*.NETCoreApp,*" ` } | Sort-Object Name | Select-Object -ExpandProperty Name | ForEach-Object { ` "#file:'$_'" ` } ``` 出力例 ``` #file:'ReceiveOrderTaxAccountSearchRequest.cs' #file:'ReceiveOrderTaxAccountSearchResponse.cs' #file:'CustomDateTimeConverter.cs' #file:'CustomStringToIntConverter.cs' #file:'JsonSerializerUtil.cs' ``` ## 関連記事 > GitHub Copilotによるコード生成「できること」「できないこと」 > https://www.sigmact.com/updated/ai/copilot/github-copilot-code-generation-capabilities/ ###### tags: `Github Copilot` `Github Copilot Chat`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up