/* Ċ Ġ* ĠCopyright Ġ 2 0 0 0 - 2 0 1 7 ĠJetBrains Ġs . r . o . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ Ġ*/ Ċ package Ġcom . jetbrains . extensions . python Ċ Ċ import Ġcom . intellij . openapi . file Chooser . FileChooser Descriptor Ċ import Ġcom . jetbrains . python . Py Names Ċ Ċ @ Jvm Over loads Ċ fun ĠFile Chooser Descriptor . with Python Files ( allow Files With No Extension : ĠBoolean Ġ= Ġfalse ): ĠFile Chooser Descriptor Ġ= ĊĠ Ġthis . with File Filter Ġ{ Ġit . name . endsWith ( Py Names . DOT _ PY ) Ġ|| Ġ( allow Files With No Extension Ġ&& Ġit . extension Ġ== Ġnull ) Ġ} !! Ċ