-
Notifications
You must be signed in to change notification settings - Fork 51
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
Get plugin working on CLion #57
Comments
Given that there is support for D code in CMake, I am very likely to try and get the latest version of this plugin working in CLion. |
Ok cool - go ahead - I'm about to have a baby - I'm going to be out of action for the rest of this year |
@kingsleyh Good luck to you and you other half on the little one. I am assuming there are people here who can merge pull requests in your absence. |
@russel I can merge but @kingsleyh needs to put builds in plugin repo. I put the last few PR's in the develop branch so they can get further testing before going into master. So currently develop is the most up to date and any further changes should go there. I've got enough time to do the occasional merge/testing/responding to issues but I've not had the time to finish the work I was looking at for a dub tool window (home life is also manic). A while ago I did a little investigation into getting the plugin working on CLion but it's not as small a job as I'd hoped for. before moving on we really should get a new release in the plugin repo. @kingsleyh do you have time for quick call with russel, @pirocks and me so that progress can continue |
hey - if you can make the plugin file I need to upload to the jetbrains plugin centre I can do it. But I don't have time for anything else at the moment. |
@SingingBush @pirocks @kingsleyh I wonder if it is time to create a DLanguage organisation with Kingsley as lead and others with owner permission such that things can always progress no matter who is "missing"? If the organisation is the entity doing the merging and uploading then there is unlikely to be a blockage. I will not be around again today I suspect, but I should be available tomorrow onwards. |
I think the blockage is that the plugin upload only lets one person upload a plugin - unless you know of a way multiple people can do it |
we should be able to set travis up in such a way that any tag gets uploaded to the plugin repo after a successful buld. the username & password just need to be set up in travis as environment variables. That way the only thing we need to do is merge all changes into master, make sure it all works as expected then create a new tag. There's examples of this kind of thing being done and I think some of the other intellij plugins do it. |
I can't find any documentation on an automated way to deploy to the jetbrains repo - there is documentation about deployment to your own enterprise repo but not sure if that's what we need. |
in the
so as long as those variables are set in travis account then I think we could just have a build that does something like: if current build has TRAVIS_TAG set then run |
I checked the Intellij gradle plugin repo and can confirm that the publishPlugin task uploads plugin distribution archive to http://plugins.jetbrains.com |
So if the latest release D Language plugin is uploaded to this repository, is it available for CLion as well as IntelliJ IDEA? Are we replacing rather than providing another plugin? |
I've pushed a change to develop branch with my username and password for the env variables in the .travis.yml - hopefully this will work |
Can we get a status update for this issue? |
I had a quick look at this again before xmas. As mentioned before it's not a small task. The build settings can be changed to get the plugin running against a local install of CLion. Set alternativeIdePath to point to clion and also make sure that |
For anyone that wants to try this out, edit
Now edit
this is essentially all the common parts that are in every Jetbrains IDE (see docs). Now you can at least boot up CLion with the plugin using the IDE boots fine and if you go to setting you can find the D Tools section. However when you try to load a project or create a new D project it's just not possible. There's a NoClassDefFoundError for |
* basic ProjectOpenProcessor to open dub-based projects in CLion * extract IDEA-only plugin dependencies * replace usages of IDEA-only APIs with generic APIs
* basic ProjectOpenProcessor to open dub-based projects in CLion * extract IDEA-only plugin dependencies * replace usages of IDEA-only APIs with generic APIs
* basic ProjectOpenProcessor to open dub-based projects in CLion * extract IDEA-only plugin dependencies * replace usages of IDEA-only APIs with generic APIs
* basic ProjectOpenProcessor to open dub-based projects in CLion * extract IDEA-only plugin dependencies * replace usages of IDEA-only APIs with generic APIs
the CLion stuff has been rebased and merged into develop |
Should just be a matter of a tweak in the plugin.xml and possibly some minor additions to the code
The text was updated successfully, but these errors were encountered: