Live data from Hacker News

Getting around prompt input limits in copilot

therobotlives.com

1–6 of 6 posts

Re: Getting around prompt input limits in copilot

#3

I came across a nice little solution in copilot X and copilot 365/pro for including and referencing custom instructions to add behavior/formatting support to copilot (e.g. edit mode, article writing mode, documentation writting mode etc.)

Neat!

How do you get copilot to use these instructions? Can you define a “default include” somewhere?

Re: Getting around prompt input limits in copilot

#4
post #3

I came across a nice little solution in copilot X and copilot 365/pro for including and referencing custom instructions to add behavior/formatting support to copilot (e.g. edit mode, article writing mode, documentation writting mode etc.)

Neat! How do you get copilot to use these instructions? Can you define a “default include” somewhere?

copilot scans open files so I mention the file name in my prompt or reference the file explicitly using the reference file option in the chat window in the intellij copilot chat beta.

``` Follow the instructions for preparing responses from the COPILOT.md file in how you answer and format your answer to the following prompt.

```

Re: Getting around prompt input limits in copilot

#5
post #3

I came across a nice little solution in copilot X and copilot 365/pro for including and referencing custom instructions to add behavior/formatting support to copilot (e.g. edit mode, article writing mode, documentation writting mode etc.)

Neat! How do you get copilot to use these instructions? Can you define a “default include” somewhere?

I feel like the explicitly go out of their away to avoid building in custom instructions/increased prompt context to lower their costs so this is a bit of a work around.

Re: Getting around prompt input limits in copilot

#6
post #3

Earlier quoted context omitted.

Neat! How do you get copilot to use these instructions? Can you define a “default include” somewhere?

copilot scans open files so I mention the file name in my prompt or reference the file explicitly using the reference file option in the chat window in the intellij copilot chat beta. ``` Follow the instructions for preparing responses from the COPILOT.md file in how you answer and format your answer to the following prompt. ```

Thank you