This would be helpful for when asking the AI to write documentation, information that you need during the current development session, etc.
Can you explain more in detail? I dont know what you mean by that
I run into this issue, too. My code has a very long system prompt that’s fed to the AI. In the code window, this massive prompt is all on one line, requiring a ton of scrolling right. Tough to edit.
@chopomatic if you both mean the prompt, then this is not the way for the future. There should/will be an option to change the system prompt to your needs and add/extend it within the UI, so its not needed to add it every time, what makes no sense, cause it makes the context size even bigger.
What you already could do is, to change the system prompts directly in the file or add your own system prompt by copy the existing and adding your stuff (make sure you dont delete the needed bolt artifacts etc., otherwise the codeeditor will not work):
I don’t have to add it every time. It’s hard-coded in a file–index.ts, maybe?–but it’s tough to edit because it’s all on one line with no wrap.
Well my use case is that when I get feedback from the AI, like using it to write an essay to a document in the project files, the AI doesn’t use new lines and just pumps out a 5 foot string of text to the right. Makes reading inconvenient. See image.
Ah ok, now I understand, seems to be a good thing to get this fixed. Dont even know if we just should wrap it always and there is a need for toggling it (its just one more button again)
I figure toggleable because printing text art, big ASCII diagrams e.g. ai created flow charts, needs to work.