void (@NotNull Editor editor, @NotNull @NlsContexts.HintText String text, boolean isDumbMode) { HintManager.getInstance().showInformationHint( editor, StringUtil.escapeXmlEntities(text) + CodeInsightBundle.message("completion.incomplete.light.edit.suffix", OPEN_FILE_IN_PROJECT_HREF), e -> { if (HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType()) && OPEN_FILE_IN_PROJECT_HREF.equals(e.getDescription())) { VirtualFile file = LightEditService.getInstance().getSelectedFile(); if (file != null) { LightEditOpenInProjectIntention.performOn(Objects.requireNonNull(editor.getProject()), file); } } }); }