Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unblock other IDEs support #265

Merged
merged 2 commits into from
Nov 17, 2023
Merged

Unblock other IDEs support #265

merged 2 commits into from
Nov 17, 2023

Conversation

elmot
Copy link
Contributor

@elmot elmot commented Nov 17, 2023

No description provided.

@elmot elmot requested a review from Undin November 17, 2023 13:38
@elmot elmot self-assigned this Nov 17, 2023

/**
* @author vlan
*/
class MicroPythonConfigurableProvider(val project: Project) : ConfigurableProvider() {
override fun createConfigurable() = MicroPythonProjectConfigurable(project)
override fun createConfigurable() = MicroPythonProjectConfigurable(project)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This change makes the whole MicroPythonConfigurableProvider redundant. Let's drop it and register MicroPythonProjectConfigurable itself in the plugin manifest

build.gradle.kts Outdated
if (ideaVersion.contains("PC")) {
plugins.add("python-ce")
} else if (ideaVersion.contains("PY")) {
plugins.add("python")
} else {
plugins.add(config("pythonPlugin"))
}
plugins.add("python-ce")
Copy link
Collaborator

Choose a reason for hiding this comment

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

This change makes it impossible to properly run plugin with any IDE except ones that have bundled Python Community plugin (i.e. PyCharm Community and CLion)

@Undin Undin merged commit f1ba6ba into master Nov 17, 2023
1 check passed
@Undin Undin deleted the elmot/cl-support branch November 17, 2023 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants