-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor decoration doesn't show up when changing from multiple lines to one line at the same time #208511
Comments
This fixes it, but it sucks. @alexdima it looks like |
AFAIK nothing changed here in the editor recently, so @roblourens not sure if this is bad enough to add the workaround Henning found for this release on your side. IMHO we need to add proper placeholder API to the editor instead of doing this from the outside with injected text. We now have something like 3 or 4 places implementing placeholder text via injected text, which doesn't make sense to me. |
I set a 'placeholder' editor decoration here:
vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.ts
Line 146 in 7cfb875
I noticed that when the chat input had multiple lines of text in it, then the placeholder doesn't show up. Here I show it not working, then working with a single line of text.
Maybe it's related somehow to the issue we had in #203902? I can't debug this on my own, but it reproes 100% of the time for me, happy to help investigate.
The text was updated successfully, but these errors were encountered: