Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/n/i/ninja-ide-HEAD/ninja_ide/gui/dialogs/preferences/preferences_general.py   ninja-ide(Download)
        self._checkConfirmExit.setChecked(settings.CONFIRM_EXIT)
        self._txtWorkspace.setText(settings.WORKSPACE)
        extensions = ', '.join(settings.SUPPORTED_EXTENSIONS)
        self._txtExtensions.setText(extensions)
        self._notify_position.setCurrentIndex(settings.NOTIFICATION_POSITION)

src/n/i/ninja-ide-HEAD/ninja_ide/gui/explorer/nproject.py   ninja-ide(Download)
        self.use_tabs = project.get('use-tabs', settings.USE_TABS)
        self.extensions = project.get('supported-extensions',
            settings.SUPPORTED_EXTENSIONS)
        self.python_exec = project.get('pythonExec', settings.PYTHON_EXEC)
        self.python_path = project.get('PYTHONPATH', '')

src/n/i/ninja-ide-HEAD/ninja_ide/gui/main_panel/main_container.py   ninja-ide(Download)
            extensions = ';;'.join(
                ['{}(*{})'.format(e.upper()[1:], e)
                 for e in settings.SUPPORTED_EXTENSIONS + ['.*', '']])
            fileNames = list(QFileDialog.getOpenFileNames(self,
                             self.tr("Open File"), directory, extensions))

src/n/i/ninja-ide-HEAD/ninja_ide/tools/ui_tools.py   ninja-ide(Download)
    def _thread_refresh_project(self):
        if self._extensions != settings.SUPPORTED_EXTENSIONS:
            folderStructure = file_manager.open_project_with_extensions(
                self._folder_path, self._extensions)
        else:
    def _thread_open_project(self):
        try:
            project = json_manager.read_ninja_project(self._folder_path)
            extensions = project.get('supported-extensions',
                settings.SUPPORTED_EXTENSIONS)
            if extensions != settings.SUPPORTED_EXTENSIONS:

src/n/i/ninja-ide-HEAD/ninja_ide/core/file_handling/file_manager.py   ninja-ide(Download)
        d[root] = [[f for f in files
                   if (os.path.splitext(f.lower())[-1]) in
                   settings.SUPPORTED_EXTENSIONS],
                   dirs]
    return d
def is_supported_extension(filename, extensions=None):
    if extensions is None:
        extensions = settings.SUPPORTED_EXTENSIONS
    if os.path.splitext(filename.lower())[-1] in extensions:
        return True

src/n/i/ninja-ide-HEAD/ninja_ide/gui/tools_dock/find_in_files.py   ninja-ide(Download)
        self.filters_line_edit.setPlaceholderText("*.py")
        self.filters_line_edit.setCompleter(QCompleter(
            ["*{}".format(item) for item in settings.SUPPORTED_EXTENSIONS]))
        self.replace_line = QLineEdit()
        self.replace_line.setEnabled(False)