Skip to content

Commit 659bcdf

Browse files
authored
comment dont have default placeholder (microsoft#234105)
Fixes microsoft#234060
1 parent b31751c commit 659bcdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/workbench/contrib/comments/browser/simpleCommentEditor.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import { SelectionClipboardContributionID } from '../../codeEditor/browser/selec
3838
import { MenuId } from '../../../../platform/actions/common/actions.js';
3939
import { ContentHoverController } from '../../../../editor/contrib/hover/browser/contentHoverController.js';
4040
import { GlyphHoverController } from '../../../../editor/contrib/hover/browser/glyphHoverController.js';
41+
import { PlaceholderTextContribution } from '../../../../editor/contrib/placeholderText/browser/placeholderTextContribution.js';
4142

4243
export const ctxCommentEditorFocused = new RawContextKey<boolean>('commentEditorFocused', false);
4344
export const MIN_EDITOR_HEIGHT = 5 * 18;
@@ -84,6 +85,7 @@ export class SimpleCommentEditor extends CodeEditorWidget {
8485
SelectionClipboardContributionID,
8586
InlineCompletionsController.ID,
8687
CodeActionController.ID,
88+
PlaceholderTextContribution.ID
8789
])
8890
],
8991
contextMenuId: MenuId.SimpleEditorContext

0 commit comments

Comments
 (0)