Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
254,900 | long (boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings) { return checkHighlighting(checkWarnings, checkInfos, checkWeakWarnings, false); } | checkHighlighting |
254,901 | long (boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, boolean ignoreExtraHighlighting) { return collectAndCheckHighlighting(checkWarnings, checkInfos, checkWeakWarnings, ignoreExtraHighlighting); } | checkHighlighting |
254,902 | long () { return checkHighlighting(true, false, true); } | checkHighlighting |
254,903 | long (String @NotNull ... filePaths) { return testHighlighting(true, false, true, filePaths); } | testHighlighting |
254,904 | long (boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, @NotNull VirtualFile file) { openFileInEditor(file); return collectAndCheckHighlighting(checkWarnings, checkInfos, checkWeakWarnings); } | testHighlighting |
254,905 | HighlightTestInfo (String @NotNull ... filePath) { return new HighlightTestInfo(myProjectFixture.getTestRootDisposable(), filePath) { @Override public HighlightTestInfo doTest() { configureByFiles(filePaths); ExpectedHighlightingData data = new ExpectedHighlightingData(editor.getDocument(), checkWarnings, checkWeakWarn... | testFile |
254,906 | HighlightTestInfo () { configureByFiles(filePaths); ExpectedHighlightingData data = new ExpectedHighlightingData(editor.getDocument(), checkWarnings, checkWeakWarnings, checkInfos, false); if (checkSymbolNames) data.checkSymbolNames(); data.init(); collectAndCheckHighlighting(data); return this; } | doTest |
254,907 | void (@NotNull VirtualFile file) { setFileAndEditor(file, createEditor(file)); } | openFileInEditor |
254,908 | void (@NotNull String testDir, @NotNull InspectionToolWrapper<?,?> toolWrapper) { VirtualFile sourceDir = copyDirectoryToProject(new File(testDir, "src").getPath(), ""); testInspection(testDir, toolWrapper, sourceDir); } | testInspection |
254,909 | void (@NotNull String testDir, @NotNull InspectionToolWrapper<?, ?> toolWrapper, @NotNull VirtualFile sourceDir) { PsiDirectory psiDirectory = getPsiManager().findDirectory(sourceDir); assertNotNull(psiDirectory); AnalysisScope scope = new AnalysisScope(psiDirectory); scope.invalidate(); GlobalInspectionContextForTests... | testInspection |
254,910 | PsiSymbolReference () { PsiFile file = getFile(); assertNotNull(file); return assertOneElement(ReferencesKt.referencesAt(file, getCaretOffset())); } | findSingleReferenceAtCaret |
254,911 | PsiReference (String @NotNull ... filePaths) { if (filePaths.length > 0) { configureByFilesInner(filePaths); } return ReadAction.compute(() -> getFile().findReferenceAt(editor.getCaretModel().getOffset())); } | getReferenceAtCaretPosition |
254,912 | PsiReference (String @NotNull ... filePaths) { PsiReference reference = getReferenceAtCaretPosition(filePaths); assertNotNull("no reference found at " + editor.getCaretModel().getLogicalPosition(), reference); return reference; } | getReferenceAtCaretPositionWithAssertion |
254,913 | List<IntentionAction> (String @NotNull ... filePaths) { if (filePaths.length > 0) { configureByFilesInner(filePaths); } return getAvailableIntentions(); } | getAvailableIntentions |
254,914 | List<IntentionAction> (String @NotNull ... filePaths) { if (filePaths.length != 0) { configureByFilesInner(filePaths); } return myEditorTestFixture.getAllQuickFixes(); } | getAllQuickFixes |
254,915 | List<IntentionAction> () { doHighlighting(); return getAvailableIntentions(ReadAction.compute(() -> getHostEditor()), ReadAction.compute(() -> getHostFileAtCaret())); } | getAvailableIntentions |
254,916 | Editor () { return InjectedLanguageEditorUtil.getTopLevelEditor(getEditor()); } | getHostEditor |
254,917 | PsiFile () { return Objects.requireNonNull(PsiUtilBase.getPsiFileInEditor(getHostEditor(), getProject())); } | getHostFileAtCaret |
254,918 | List<IntentionAction> (@NotNull String hint) { return ContainerUtil.filter(getAvailableIntentions(), action -> action.getText().startsWith(hint)); } | filterAvailableIntentions |
254,919 | IntentionAction (@NotNull String hint) { List<IntentionAction> list = filterAvailableIntentions(hint); if (list.isEmpty()) { fail("\"" + hint + "\" not in [" + StringUtil.join(getAvailableIntentions(), INTENTION_NAME_FUN, ", ") + "]"); } else if (list.size() > 1) { fail("Too many intentions found for \"" + hint + "\": ... | findSingleIntention |
254,920 | IntentionAction (@NotNull String intentionName, String @NotNull ... filePaths) { List<IntentionAction> intentions = getAvailableIntentions(filePaths); IntentionAction action = CodeInsightTestUtil.findIntentionByText(intentions, intentionName); if (action == null) { LOG.debug(intentionName + " not found among " + String... | getAvailableIntention |
254,921 | void (@NotNull IntentionAction action) { if (skipPreview(action)) { launchAction(action); } else { String text = getIntentionPreviewText(action); assertNotNull(action.getText(), text); launchAction(action); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); assertEquals(action.getText(), getFile().getText(), text)... | checkPreviewAndLaunchAction |
254,922 | boolean (@NotNull IntentionAction action) { return IntentionActionDelegate.unwrap(action) instanceof CleanupInspectionIntention; } | skipPreview |
254,923 | void (@NotNull String hint) { IntentionActionWithTextCaching action = findCachingAction(hint); if (action == null) throw new IllegalArgumentException(); ShowIntentionActionsHandler.chooseActionAndInvoke(getHostFile(), getHostEditor(), action.getAction(), action.getText(), action.getProblemOffset()); } | launchAction |
254,924 | IntentionActionWithTextCaching (@NotNull String hint) { doHighlighting(); List<IntentionActionWithTextCaching> list = getIntentionListStep(getEditor(), getFile()).getValues(); return ContainerUtil.find(list, caching -> caching.getAction().getText().startsWith(hint)); } | findCachingAction |
254,925 | void (@NotNull IntentionAction action) { EdtTestUtil.runInEdtAndWait(() -> invokeIntention(action, getHostFileAtCaret(), getHostEditor())); } | launchAction |
254,926 | void (String @NotNull [] filesBefore, @NotNull @TestDataFile String fileAfter) { testCompletionTyping(filesBefore, "", fileAfter); } | testCompletion |
254,927 | void (String @NotNull [] filesBefore, @NotNull String toType, @NotNull String fileAfter) { assertInitialized(); configureByFiles(filesBefore); complete(CompletionType.BASIC); type(toType); try { checkResultByFile(fileAfter); } catch (RuntimeException e) { //noinspection UseOfSystemOutOrSystemErr System.out.println("Loo... | testCompletionTyping |
254,928 | void () { assertNotNull("setUp() hasn't been called", myPsiManager); } | assertInitialized |
254,929 | void (@NotNull String fileBefore, @NotNull String fileAfter, @TestDataFile String @NotNull ... additionalFiles) { testCompletionTyping(fileBefore, "", fileAfter, additionalFiles); } | testCompletion |
254,930 | void (@NotNull @TestDataFile String fileBefore, @NotNull String toType, @NotNull @TestDataFile String fileAfter, @TestDataFile String @NotNull ... additionalFiles) { testCompletionTyping(ArrayUtil.reverseArray(ArrayUtil.append(additionalFiles, fileBefore)), toType, fileAfter); } | testCompletionTyping |
254,931 | void (@NotNull String fileBefore, String @NotNull ... expectedItems) { assertInitialized(); List<String> result = getCompletionVariants(fileBefore); assertNotNull(result); UsefulTestCase.assertSameElements(result, expectedItems); } | testCompletionVariants |
254,932 | List<String> (String @NotNull ... filesBefore) { assertInitialized(); configureByFiles(filesBefore); LookupElement[] items = complete(CompletionType.BASIC); assertNotNull("No lookup was shown, probably there was only one lookup element that was inserted automatically", items); return getLookupElementStrings(); } | getCompletionVariants |
254,933 | List<String> () { assertInitialized(); return myEditorTestFixture.getLookupElementStrings(); } | getLookupElementStrings |
254,934 | void (char completionChar) { myEditorTestFixture.finishLookup(completionChar); } | finishLookup |
254,935 | void (@NotNull String fileBefore, @NotNull String fileAfter, @NotNull String newName, @TestDataFile String @NotNull ... additionalFiles) { assertInitialized(); configureByFiles(ArrayUtil.reverseArray(ArrayUtil.append(additionalFiles, fileBefore))); testRename(fileAfter, newName); } | testRename |
254,936 | void (@NotNull String fileBefore, @NotNull String fileAfter, @NotNull String newName, String @NotNull ... additionalFiles) { assertInitialized(); configureByFiles(ArrayUtil.reverseArray(ArrayUtil.append(additionalFiles, fileBefore))); testRenameUsingHandler(fileAfter, newName); } | testRenameUsingHandler |
254,937 | void (@NotNull String fileAfter, @NotNull String newName) { renameElementAtCaretUsingHandler(newName); checkResultByFile(fileAfter); } | testRenameUsingHandler |
254,938 | void (@NotNull String fileAfter, @NotNull String newName) { renameElementAtCaret(newName); checkResultByFile(fileAfter); } | testRename |
254,939 | PsiElement () { assertInitialized(); return myEditorTestFixture.getElementAtCaret(); } | getElementAtCaret |
254,940 | void (@NotNull String newName) { renameElement(getElementAtCaret(), newName); } | renameElementAtCaret |
254,941 | void (@NotNull String newName) { DataContext editorContext = ((EditorEx)editor).getDataContext(); DataContext context = CustomizedDataContext.create(editorContext, dataId -> PsiElementRenameHandler.DEFAULT_NAME.is(dataId) ? newName : null); RenameHandler renameHandler = RenameHandlerRegistry.getInstance().getRenameHand... | renameElementAtCaretUsingHandler |
254,942 | void (@NotNull PsiElement element, @NotNull String newName) { final boolean searchInComments = false; final boolean searchTextOccurrences = false; renameElement(element, newName, searchInComments, searchTextOccurrences); } | renameElement |
254,943 | void (@NotNull PsiElement element, @NotNull String newName, boolean searchInComments, boolean searchTextOccurrences) { PsiElement substitution = RenamePsiElementProcessor.forElement(element).substituteElementToRename(element, editor); if (substitution == null) return; new RenameProcessor(getProject(), substitution, new... | renameElement |
254,944 | void (@NotNull RenameTarget renameTarget, @NotNull String newName) { RenameKt.renameAndWait(getProject(), renameTarget, newName); } | renameTarget |
254,945 | void (char c) { assertInitialized(); myEditorTestFixture.type(c); } | type |
254,946 | void (@NotNull String s) { myEditorTestFixture.type(s); } | type |
254,947 | void (@NotNull String actionId) { assertInitialized(); EdtTestUtil.runInEdtAndWait(() -> myEditorTestFixture.performEditorAction(actionId)); } | performEditorAction |
254,948 | Presentation (@NotNull AnAction action) { AnActionEvent e = TestActionEvent.createTestEvent(action); if (ActionUtil.lastUpdateAndCheckDumb(action, e, true)) { ActionUtil.performActionDumbAwareWithCallbacks(action, e); } return e.getPresentation(); } | testAction |
254,949 | Collection<UsageInfo> (String @NotNull ... fileNames) { assertInitialized(); if (fileNames.length > 0) { configureByFiles(fileNames); } int flags = TargetElementUtil.ELEMENT_NAME_ACCEPTED | TargetElementUtil.REFERENCED_ELEMENT_ACCEPTED; PsiElement targetElement = TargetElementUtil.findTargetElement(getEditor(), flags);... | testFindUsages |
254,950 | Collection<Usage> (String @NotNull ... fileNames) { assertInitialized(); if (fileNames.length > 0) { // don't change configured files if already configured configureByFiles(fileNames); } EdtTestUtil.runInEdtAndWait(() -> myEditorTestFixture.performEditorAction(IdeActions.ACTION_FIND_USAGES)); Disposer.register(getTestR... | testFindUsagesUsingAction |
254,951 | Collection<UsageInfo> (@NotNull PsiElement targetElement) { return findUsages(targetElement, null); } | findUsages |
254,952 | String (@NotNull Collection<? extends UsageInfo> usages) { UsageViewImpl usageView = (UsageViewImpl)UsageViewManager .getInstance(getProject()).createUsageView(UsageTarget.EMPTY_ARRAY, ContainerUtil.map(usages, usage -> new UsageInfo2UsageAdapter(usage)).toArray(Usage.EMPTY_ARRAY), new UsageViewPresentation(), null); r... | getUsageViewTreeTextRepresentation |
254,953 | String (@NotNull List<UsageTarget> usageTargets, @NotNull Collection<? extends Usage> usages) { UsageViewImpl usageView = (UsageViewImpl)UsageViewManager.getInstance(getProject()) .createUsageView(usageTargets.toArray(UsageTarget.EMPTY_ARRAY), usages.toArray(Usage.EMPTY_ARRAY), new UsageViewPresentation(), null); retur... | getUsageViewTreeTextRepresentation |
254,954 | String (@NotNull PsiElement targetElement) { FindUsagesManager usagesManager = ((FindManagerImpl)FindManager.getInstance(getProject())).getFindUsagesManager(); FindUsagesHandler handler = usagesManager.getFindUsagesHandler(targetElement, false); assertNotNull("Cannot find handler for: " + targetElement, handler); Usage... | getUsageViewTreeTextRepresentation |
254,955 | String (@NotNull SearchTarget target) { Project project = getProject(); SearchScope searchScope = coalesce(target.getMaximalSearchScope(), GlobalSearchScope.allScope(project)); AllSearchOptions allOptions = new AllSearchOptions(UsageOptions.createOptions(searchScope), true); List<UsageTarget> usageTargets = List.of(new... | getUsageViewTreeTextRepresentation |
254,956 | Collection<UsageInfo> (@NotNull PsiElement targetElement, @Nullable SearchScope scope) { Project project = getProject(); FindUsagesHandler handler = ((FindManagerImpl)FindManager.getInstance(project)).getFindUsagesManager().getFindUsagesHandler(targetElement, false); CommonProcessors.CollectProcessor<UsageInfo> process... | findUsages |
254,957 | void (@NotNull String filePath, @NotNull String to, @TestDataFile String @NotNull ... additionalFiles) { assertInitialized(); Project project = getProject(); configureByFiles(ArrayUtil.reverseArray(ArrayUtil.append(additionalFiles, filePath))); VirtualFile file = findFileInTempDir(to); assertNotNull("Directory " + to +... | moveFile |
254,958 | GutterMark (@NotNull String filePath) { configureByFilesInner(filePath); CommonProcessors.FindFirstProcessor<GutterMark> processor = new CommonProcessors.FindFirstProcessor<>(); doHighlighting(); processGuttersAtCaret(editor, getProject(), processor); return processor.getFoundValue(); } | findGutter |
254,959 | List<GutterMark> () { CommonProcessors.CollectProcessor<GutterMark> processor = new CommonProcessors.CollectProcessor<>(); doHighlighting(); processGuttersAtCaret(editor, getProject(), processor); return new ArrayList<>(processor.getResults()); } | findGuttersAtCaret |
254,960 | boolean (Editor editor, Project project, @NotNull Processor<? super GutterMark> processor) { int offset = editor.getCaretModel().getOffset(); RangeHighlighter[] highlighters = DocumentMarkupModel.forDocument(editor.getDocument(), project, true).getAllHighlighters(); for (RangeHighlighter highlighter : highlighters) { G... | processGuttersAtCaret |
254,961 | List<GutterMark> (@NotNull String filePath) { configureByFilesInner(filePath); return findAllGutters(); } | findAllGutters |
254,962 | List<GutterMark> () { Project project = getProject(); SortedMap<Integer, List<GutterMark>> result = new TreeMap<>(); List<HighlightInfo> infos = doHighlighting(); for (HighlightInfo info : infos) { addGutterIconRenderer(info.getGutterIconRenderer(), info.startOffset, result); } RangeHighlighter[] highlighters = Documen... | findAllGutters |
254,963 | PsiFile (@NotNull String relativePath, @NotNull String fileText) { assertInitialized(); return addFileToProject(getTempDirPath(), relativePath, fileText); } | addFileToProject |
254,964 | PsiFile (@NotNull String rootPath, @NotNull String relativePath, @NotNull String fileText) { try { VirtualFile file = WriteCommandAction.runWriteCommandAction(getProject(), (ThrowableComputable<VirtualFile, IOException>)() -> { try { VirtualFile f; if (myTempDirFixture instanceof LightTempDirTestFixtureImpl) { f = myTe... | addFileToProject |
254,965 | PsiManager () { return myPsiManager; } | getPsiManager |
254,966 | LookupElement[] (@NotNull CompletionType type) { return myEditorTestFixture.complete(type); } | complete |
254,967 | LookupElement[] (@NotNull CompletionType type, int invocationCount) { assertInitialized(); return myEditorTestFixture.complete(type, invocationCount); } | complete |
254,968 | List<LookupElement> (@Nullable Character charToTypeAfterCompletion) { return myEditorTestFixture.completeBasicAllCarets(charToTypeAfterCompletion); } | completeBasicAllCarets |
254,969 | void (@NotNull VirtualFile file, @NotNull String text) { try { WriteAction.runAndWait(() -> VfsUtil.saveText(file, text)); } catch (IOException e) { throw new RuntimeException(e); } } | saveText |
254,970 | void (@NotNull String expectedText) { checkResult(expectedText, false); } | checkResult |
254,971 | void (@NotNull String expectedText, boolean stripTrailingSpaces) { IdeaTestExecutionPolicy policy = IdeaTestExecutionPolicy.current(); if (policy != null) { policy.beforeCheckResult(getFile()); } WriteCommandAction.runWriteCommandAction(getProject(), () -> { PsiDocumentManager.getInstance(getProject()).commitAllDocumen... | checkResult |
254,972 | void (@NotNull String filePath, @NotNull String expectedText, boolean stripTrailingSpaces) { IdeaTestExecutionPolicy policy = IdeaTestExecutionPolicy.current(); if (policy != null) { policy.beforeCheckResult(getFile()); } WriteCommandAction.runWriteCommandAction(getProject(), () -> { PsiDocumentManager.getInstance(getP... | checkResult |
254,973 | void (@NotNull String expectedFile) { checkResultByFile(expectedFile, false); } | checkResultByFile |
254,974 | void (@NotNull String expectedFile, boolean ignoreTrailingWhitespaces) { assertInitialized(); ApplicationManager.getApplication().invokeAndWait(() -> checkResultByFile(expectedFile, getHostFile(), ignoreTrailingWhitespaces)); } | checkResultByFile |
254,975 | void (@NotNull String filePath, @NotNull String expectedFile, boolean ignoreTrailingWhitespaces) { assertInitialized(); ApplicationManager.getApplication().invokeAndWait(() -> checkResultByFile(expectedFile, getFileToCheck(filePath), ignoreTrailingWhitespaces)); } | checkResultByFile |
254,976 | PsiFile (String filePath) { String path = filePath.replace(File.separatorChar, '/'); VirtualFile copy = findFileInTempDir(path); assertNotNull("could not find results file " + path, copy); PsiFile psiFile = myPsiManager.findFile(copy); assertNotNull(copy.getPath(), psiFile); return psiFile; } | getFileToCheck |
254,977 | boolean () { return true; } | shouldTrackVirtualFilePointers |
254,978 | void () { Project project = getProject(); if (project == null) { return; } LookupManager.hideActiveLookup(project); PsiDocumentManager.getInstance(project).commitAllDocuments(); FileEditorManagerEx.getInstanceEx(project).closeAllFiles(); EditorHistoryManager.getInstance(project).removeAllFiles(); } | closeOpenFiles |
254,979 | PsiFile (@NotNull String file) { configureByFilesInner(file); return getFile(); } | configureByFile |
254,980 | PsiFile (@NotNull FileType fileType, @NotNull String text) { assertInitialized(); String extension = fileType.getDefaultExtension(); associateExtensionTemporarily(fileType, extension, getTestRootDisposable()); String fileName = "aaa." + extension; return configureByText(fileName, text); } | configureByText |
254,981 | void (@NotNull FileType fileType, @NotNull String extension, @NotNull Disposable parentDisposable) { FileTypeManager fileTypeManager = FileTypeManager.getInstance(); if (!fileType.equals(fileTypeManager.getFileTypeByExtension(extension))) { WriteAction.runAndWait(() -> fileTypeManager.associateExtension(fileType, exten... | associateExtensionTemporarily |
254,982 | PsiFile (@NotNull String fileName, @NotNull String text) { assertInitialized(); VirtualFile vFile = createFile(fileName, text); configureInner(vFile, SelectionAndCaretMarkupLoader.fromFile(vFile)); return getFile(); } | configureByText |
254,983 | VirtualFile (@NotNull String fileName, @NotNull String text) { assertInitialized(); try { return WriteCommandAction.writeCommandAction(getProject()).compute(() -> { VirtualFile file; if (myTempDirFixture instanceof LightTempDirTestFixtureImpl) { VirtualFile root = LightPlatformTestCase.getSourceRoot(); root.refresh(fal... | createFile |
254,984 | Document (@NotNull PsiFile file) { assertInitialized(); return PsiDocumentManager.getInstance(getProject()).getDocument(file); } | getDocument |
254,985 | PsiFile (@NotNull String filePath) { assertInitialized(); VirtualFile file = copyFileToProject(filePath); return configureByFileInner(file); } | configureByFileInner |
254,986 | PsiFile (@NotNull String filePath) { VirtualFile fileInTempDir = findFileInTempDir(filePath); if (fileInTempDir == null) { throw new IllegalArgumentException("Could not find file in temp dir: " + filePath); } return configureByFileInner(fileInTempDir); } | configureFromTempProjectFile |
254,987 | void (@NotNull VirtualFile virtualFile) { configureByFileInner(virtualFile); } | configureFromExistingVirtualFile |
254,988 | PsiFile (@NotNull VirtualFile copy) { return configureInner(copy, SelectionAndCaretMarkupLoader.fromFile(copy)); } | configureByFileInner |
254,989 | PsiFile (@NotNull VirtualFile copy, @NotNull SelectionAndCaretMarkupLoader loader) { assertInitialized(); ApplicationManager.getApplication().invokeAndWait(() -> { if (!copy.getFileType().isBinary()) { switch (mySelectionAndCaretMarkupApplyPolicy) { case UPDATE_FILE_AND_KEEP_DOCUMENT_CLEAN -> { try { ApplicationManager... | configureInner |
254,990 | void (@NotNull VirtualFile file) { } | prepareVirtualFile |
254,991 | void () { Editor editor = InjectedLanguageUtil.getEditorForInjectedLanguageNoCommit(this.editor, getFile()); if (editor instanceof EditorWindow) { setFileAndEditor(((EditorWindow)editor).getInjectedFile().getViewProvider().getVirtualFile(), editor); } } | setupEditorForInjectedLanguage |
254,992 | VirtualFile (@NotNull String filePath) { if (myTempDirFixture instanceof LightTempDirTestFixtureImpl) { return myTempDirFixture.getFile(filePath); } String fullPath = getTempDirPath() + "/" + filePath; VirtualFile copy = LocalFileSystem.getInstance().refreshAndFindFileByPath(fullPath.replace(File.separatorChar, '/')); ... | findFileInTempDir |
254,993 | Editor (@NotNull VirtualFile file) { Project project = getProject(); FileEditorManager fileEditorManager = FileEditorManager.getInstance(project); PsiDocumentManager.getInstance(getProject()).commitAllDocuments(); Editor editor = fileEditorManager.openTextEditor(new OpenFileDescriptor(project, file), false); // to make... | createEditor |
254,994 | long (boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings) { return collectAndCheckHighlighting(checkWarnings, checkInfos, checkWeakWarnings, false); } | collectAndCheckHighlighting |
254,995 | long (boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, boolean ignoreExtraHighlighting) { if (editor == null) { throw new IllegalStateException("Fixture is not configured. Call something like configureByFile() or configureByText()"); } ExpectedHighlightingData data = new ExpectedHighlightingData( e... | collectAndCheckHighlighting |
254,996 | PsiFile () { VirtualFile hostVFile = myFile instanceof VirtualFileWindow ? ((VirtualFileWindow)myFile).getDelegate() : myFile; return ReadAction.compute(() -> PsiManager.getInstance(getProject()).findFile(hostVFile)); } | getHostFile |
254,997 | long (@NotNull ExpectedHighlightingData data) { Project project = getProject(); EdtTestUtil.runInEdtAndWait(() -> PsiDocumentManager.getInstance(project).commitAllDocuments()); PsiFileImpl file = (PsiFileImpl)getHostFile(); FileElement hardRefToFileElement = file.calcTreeElement();//to load text // to load AST for chan... | collectAndCheckHighlighting |
254,998 | void (@Nullable VirtualFileFilter filter) { myVirtualFileFilter = filter; } | setVirtualFileFilter |
254,999 | List<HighlightInfo> () { return myEditorTestFixture.doHighlighting(myAllowDirt, myReadEditorMarkupModel); } | doHighlighting |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.