From 1a1f2eb4bd1bfd3860de9b0b9e1ac84aa5f9257c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Tue, 3 Dec 2019 12:00:03 +0100 Subject: [PATCH] psi_cookbook.md: formatting --- basics/psi_cookbook.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/basics/psi_cookbook.md b/basics/psi_cookbook.md index 4dd1c12da..a9338599a 100644 --- a/basics/psi_cookbook.md +++ b/basics/psi_cookbook.md @@ -4,19 +4,19 @@ title: PSI Cookbook This page gives a list of recipes for the most common operations for working with the PSI (Program Structure Interface). Unlike [Developing Custom Language Plugins](/reference_guide/custom_language_support.md), it talks about working with the PSI of existing languages (such as Java). -## How do I find a file if I know its name but don't know the path? +### How do I find a file if I know its name but don't know the path? `FilenameIndex.getFilesByName()` -## How do I find where a particular PSI element is used? +### How do I find where a particular PSI element is used? `ReferencesSearch.search()` -## How do I rename a PSI element? +### How do I rename a PSI element? `RefactoringFactory.createRename()` -## How can I cause the PSI for a virtual file to be rebuilt? +### How can I cause the PSI for a virtual file to be rebuilt? `FileContentUtil.reparseFiles()`