Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ concurrency:

jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- windows-latest
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
Expand All @@ -35,7 +29,6 @@ jobs:
run: ./gradlew runPluginVerifier

- uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest'
with:
name: plugin
path: build/distributions/*.zip
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "1.7.10"
id("org.jetbrains.intellij") version "1.9.0"
id("org.jetbrains.intellij") version "1.10.0"
id("org.jetbrains.changelog") version "1.3.1"
id("io.gitlab.arturbosch.detekt") version "1.22.0"
id("org.jlleitschuh.gradle.ktlint") version "11.0.0"
Expand Down
6 changes: 3 additions & 3 deletions description.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<b>PyVenvManage</b> is a plugin for managing the Python interpreter of Pycharm Projects.
<b>PyVenvManage 2</b> is a plugin for managing the Python interpreter of Python projects.

It is a general issue that Python projects may have several interpreters in different
virtual environments for the various versions of the language. Managing these venvs
is easily done with `tox`, but configuring the project in Pycharm is painful.
is easily done with `tox`, but configuring the interpreter for the project or module is painful.

With PyVenvManage the selection and setup of the venv is a few clicks without dialog boxes.
With PyVenvManage 2 the selection and setup of the venv is a few clicks without unwanted dialog boxes.

<h2>Features</h2>
<ul>
Expand Down
5 changes: 0 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
pluginVerifierIdeVersions = 212.3724.23
platformType = IC
platformVersion = 2021.1
platformDownloadSources = true
platformPlugins = PythonCore:211.6693.111
kotlin.stdlib.default.dependency = false
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected void setInterpreter(Project project, VirtualFile file, String pythonEx

if (null != module) {
ModuleRootModificationUtil.setModuleSdk(module, sdk);
String message = MessageFormat.format("Updated SDK for module {0} to: {1}", module, sdk);
String message = MessageFormat.format("Updated SDK for module {0} to: {1}", module.getName(), sdk.getName());
showNotification(project, message);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected void setInterpreter(Project project, VirtualFile file, String pythonEx
}

SdkConfigurationUtil.setDirectoryProjectSdk(project, sdk);
String message = MessageFormat.format("Updated SDK for project {0} to: {1}", project, sdk);
String message = MessageFormat.format("Updated SDK for project {0} to: {1}", project.getName(), sdk.getName());
showNotification(project, message);
}

Expand Down
13 changes: 6 additions & 7 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<idea-plugin>
<id>com.github.pyvenvmanage.pyvenv</id>
<name>PyVenv Manage</name>
<name>PyVenv Manage 2</name>
<vendor url="https://github.com/pyvenvmanage/PyVenvManage">pyvenvmanage</vendor>

<description><![CDATA[]]></description>
Expand All @@ -18,23 +18,22 @@
<iconProvider implementation="com.github.pyvenvmanage.VenvIconProvider" />
<iconLayerProvider implementation="com.github.pyvenvmanage.VenvIconProvider" />
<notificationGroup id="SDK changed notification"
displayType="BALLOON"
key="com.github.pyvenvmanage.pyvenv.sdk.changed"/>
displayType="BALLOON"/>
</extensions>

<actions>
<action
id="VenvConfigPlugin.com.github.pyvenvmanage.ConfigureProjectPythonVenv"
id="com.github.pyvenvmanage.ConfigureProjectPythonVenv"
class="com.github.pyvenvmanage.ConfigureProjectPythonVenv"
text="Set project venv"
text="Set Project Venv"
description="Configures this directory to be the venv for the project"
icon="PyVenvManageIcons.CONFIGURE_VENV">
<add-to-group group-id="ProjectViewPopupMenu" anchor="last"/>
</action>
<action
id="VenvConfigPlugin.com.github.pyvenvmanage.ConfigureModulePythonVenv"
id="com.github.pyvenvmanage.ConfigureModulePythonVenv"
class="com.github.pyvenvmanage.ConfigureModulePythonVenv"
text="Set module venv for %s"
text="Set Module Venv for %S"
description="Configures this directory to be the venv for the project"
icon="PyVenvManageIcons.CONFIGURE_VENV">
<add-to-group group-id="ProjectViewPopupMenu" anchor="last"/>
Expand Down