package Ġcom . ced ric z iel . idea . con course . code Insight Ċ Ċ import Ġcom . ced ric z iel . idea . con course . Con course Bundle Ċ import Ġcom . ced ric z iel . idea . con course . Con course Icons Ċ import Ġcom . ced ric z iel . idea . con course . Con course Patterns Ċ import Ġcom . ced ric z iel . idea . con course . Con course Utils Ċ import Ġcom . intellij . code Insight . daemon . Related Item Line Marker Info Ċ import Ġcom . intellij . code Insight . daemon . Related Item Line Marker Provider Ċ import Ġcom . intellij . code Insight . navigation . Navigation G utter Icon Builder Ċ import Ġcom . intellij . psi . Psi Element Ċ import Ġorg . jetbrains . yaml . psi . YAML KeyValue Ċ import Ġorg . jetbrains . yaml . psi . YAML Scalar Ċ Ċ class ĠResource Name Line Marker Provider Ġ: ĠRelated Item Line Marker Provider () Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġcollect Navigation Markers ( ĊĠĠĠĠĠĠĠ Ġelement : ĠPsi Element , ĊĠĠĠĠĠĠĠ Ġresult : ĠMutable Collection < in ĠRelated Item Line Marker Info <* >> ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ(! Con course Utils . is Pipeline File ( element . containing File ) Ġ|| Ġ! Con course Patterns . resource Step Value (). accept s ( element )) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġif Ġ(! Con course Utils . resource Steps (). contains (( element . parent Ġas ĠYAML KeyValue ). key Text )) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġval Ġfind Resources In File Ġ= ĠCon course Utils . find Resources In File ( element . containing File ) ĊĠĠĠĠĠĠĠ Ġval Ġcon course ResourceName Ġ= Ġ( element Ġas ĠYAML Scalar ). text Value ĊĠĠĠĠĠĠĠ Ġif Ġ( find Resources In File . isNotEmpty () Ġ&& Ġfind Resources In File . containsKey ( con course ResourceName )) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġresult . add ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠNavigation G utter Icon Builder . create ( Con course Icons . RESOURCE ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Tooltip Text ( Con course Bundle . message (" gutter . goto . resource ")) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. setTarget ( find Resources In File [ con course ResourceName ] !!. element ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. create Line Marker Info ( element . firstChild ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ