Noam-Dori / ros-integrate

Extends IntelliJ-Based IDEs with ROS specific development tools
Apache License 2.0
22 stars 3 forks source link

package format 2? #38

Closed peci1 closed 4 years ago

peci1 commented 4 years ago

Feature: Support package.xml format 2.

Background I've some format 2 packages, and any time I want package suggestions in <depend> or <exec_depend> tags, CLion tells there is nothing to suggest. <build_depend> works as it is also a format 1 tag.

Details Version 0.1.5., CLion 2020.1 Beta

Noam-Dori commented 4 years ago

When you restart CLion, does it temporarily solve the issue? If so, this might be caused by bug #23 where the component responsible for finding packages randomly clears its cache. If this is the case, the bug is fixed in the next version, 0.1.6, though you can also get the fix right now if you install the plugin from source.

peci1 commented 4 years ago

No, restarting does not help. I did the test right after starting CLion, as soon as the project was loaded.

peci1 commented 4 years ago

Ah, disabling Hatchery fixes this. Is there a way to get inspections from both?

Noam-Dori commented 4 years ago

I think the reason hatchery interferes with this plugin's inspections is that it converts the file type of package.xml files to its own special files since this plugin does not change anything about the physical package.xml file. I think you could raise the issue to hatchery to make their special treatment of package.xml files less interfering.

peci1 commented 4 years ago

Maybe it'd be more efficient if you talked to hatchery guys directly? I'm not sure I'd be of much help in resolving this issue...

Noam-Dori commented 4 years ago

I opened an issue on their github page: https://github.com/duckietown/hatchery/issues/30 Hopefully this issue could be resolved

peci1 commented 4 years ago

Great, thanks!