Skip to content

Commit

Permalink
comment dont have default placeholder
Browse files Browse the repository at this point in the history
Fixes #234060
  • Loading branch information
alexr00 committed Nov 18, 2024
1 parent 3413ae9 commit ffb0c66
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import { SelectionClipboardContributionID } from '../../codeEditor/browser/selec
import { MenuId } from '../../../../platform/actions/common/actions.js';
import { ContentHoverController } from '../../../../editor/contrib/hover/browser/contentHoverController.js';
import { GlyphHoverController } from '../../../../editor/contrib/hover/browser/glyphHoverController.js';
import { PlaceholderTextContribution } from '../../../../editor/contrib/placeholderText/browser/placeholderTextContribution.js';

export const ctxCommentEditorFocused = new RawContextKey<boolean>('commentEditorFocused', false);
export const MIN_EDITOR_HEIGHT = 5 * 18;
Expand Down Expand Up @@ -84,6 +85,7 @@ export class SimpleCommentEditor extends CodeEditorWidget {
SelectionClipboardContributionID,
InlineCompletionsController.ID,
CodeActionController.ID,
PlaceholderTextContribution.ID
])
],
contextMenuId: MenuId.SimpleEditorContext
Expand Down

0 comments on commit ffb0c66

Please sign in to comment.