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

Remove Spaces from Plugin id #50

Open
Nirostar opened this issue Aug 27, 2021 · 4 comments
Open

Remove Spaces from Plugin id #50

Nirostar opened this issue Aug 27, 2021 · 4 comments
Labels

Comments

@Nirostar
Copy link

I recently got problems with the development of a plugin needing Batch Script Support. I think the problem is related to the plugin id containing whitespaces. Would it be possible to get an id which doesn't contain whitespace characters?

@SimonIT
Copy link
Collaborator

SimonIT commented Sep 13, 2021

I don't really understand what you mean... Where do you see any spaces inside the plugin ID? What's even the plugin ID? I only now the plugin name

pluginName = 'idea-batch'
or the plugin group
group 'org.intellij.lang.batch'
, but none of them contain spaces...

@Nirostar
Copy link
Author

I mean that one: https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html#locating-plugin-id-and-preparing-sandbox

It is, for example, needed to make other plugins dependent on your plugin and it doesn't seem to work in the new version with the spaces in it.

It is set here:

<id>Batch Scripts Support</id>

@SimonIT SimonIT added bug and removed question labels Sep 13, 2021
@SimonIT
Copy link
Collaborator

SimonIT commented Sep 13, 2021

Thank you for enlighten me!
There seem to be problems with changing the ID with an update
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000777330-Changing-plugin-ID-with-update

@Nirostar
Copy link
Author

I understand. But maybe it would be possible to change it anyways and update the old plugin with a warning that any user should use the new plugin. But it should be verified if the spaces in the ID are the root cause beforehand. https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000682259-rename-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants