[python] move PyProjectScopeBuilder to pycharm community customization

GitOrigin-RevId: fb38f3038a19bd66302920ce435d03da891a5fb5
This commit is contained in:
Vladimir.Koshelev
2025-02-17 16:28:02 +00:00
committed by intellij-monorepo-bot
parent 762718eb48
commit 268bc9307f
3 changed files with 11 additions and 5 deletions
@@ -17,6 +17,10 @@
</extensionPoints>
<extensions defaultExtensionNs="com.intellij">
<projectService serviceInterface="com.intellij.psi.search.ProjectScopeBuilder"
serviceImplementation="com.intellij.pycharm.community.ide.impl.PyProjectScopeBuilder"
overrides="true"/>
<refactoring.elementListenerProvider implementation="com.intellij.pycharm.community.ide.impl.miscProject.impl.MiscProjectListenerProvider"/>
<statistics.counterUsagesCollector implementationClass="com.intellij.pycharm.community.ide.impl.miscProject.impl.MiscProjectUsageCollector"/>
<registryKey defaultValue="5" description="Number of primary buttons on welcome screen (other go to 'more actions')"
@@ -92,6 +96,11 @@
<defaultToolWindowLayout implementation="com.intellij.pycharm.community.ide.impl.PyToolWindowLayoutProvider" order="last"/>
<codeInsight.codeVision.settings.defaults implementation="com.intellij.pycharm.community.ide.impl.PyCharmCodeVisionSettingsDefaults"/>
<projectService serviceInterface="com.intellij.psi.search.ProjectScopeBuilder"
serviceImplementation="com.intellij.pycharm.community.ide.impl.PyProjectScopeBuilder"
overrides="true"/>
</extensions>
<extensions defaultExtensionNs="Pythonid">
@@ -1,5 +1,5 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.jetbrains.python.psi.search;
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.pycharm.community.ide.impl;
import com.intellij.injected.editor.VirtualFileWindow;
import com.intellij.openapi.project.Project;
@@ -85,9 +85,6 @@ The Python plug-in provides smart editing for Python scripts. The feature set of
implementationClass="com.jetbrains.python.requirements.PoetryDependencyPackageNameCompletionContributor"/>
<completion.contributor language="TOML"
implementationClass="com.jetbrains.python.requirements.PoetryDependencyVersionCompletionContributor"/>
<projectService serviceInterface="com.intellij.psi.search.ProjectScopeBuilder"
serviceImplementation="com.jetbrains.python.psi.search.PyProjectScopeBuilder"
overrides="true"/>
<localInspection language="Requirements" shortName="UnsatisfiedRequirementInspection" suppressId="UnsatisfiedRequirement" bundle="messages.PyBundle"
key="INSP.requirement.uninstalled.name" groupKey="INSP.GROUP.requirements" enabledByDefault="true" level="WARNING"
implementationClass="com.jetbrains.python.requirements.UnsatisfiedRequirementInspection"/>