mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
[java debugger] collect statistics on how many "attach debugger" inlay hints are shown
This should help to estimate the number of people who could be interested in "auto attach debugger" feature GitOrigin-RevId: b7c7881aa6b3d2e255d58169f56ac66d9b4f5bcf
This commit is contained in:
committed by
intellij-monorepo-bot
parent
90d9638636
commit
0f243eda4a
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.execution.impl;
|
||||
|
||||
import com.intellij.codeInsight.hints.presentation.InlayPresentation;
|
||||
@@ -66,6 +66,7 @@ public class JavaDebuggerConsoleFilterProvider implements ConsoleFilterProvider
|
||||
|
||||
@Override
|
||||
public EditorCustomElementRenderer createInlayRenderer(Editor editor) {
|
||||
JavaDebuggerActionsCollector.attachFromConsoleInlayShown.log();
|
||||
PresentationFactory factory = new PresentationFactory(editor);
|
||||
InlayPresentation presentation = factory.referenceOnHover(
|
||||
factory.roundWithBackground(factory.smallText("Attach debugger")),
|
||||
|
||||
Reference in New Issue
Block a user