ReallyLiri/no-namespace-providers-rider-plugin

Plugin doesnt seem to work, or unable to launch it.

vailshnast opened this issue · 13 comments

Dowloaded and installed plugin from marketplace, but it doesnt seem to work. Is there specific actions i need to make in order to make this working? Im using rider with unity, maybe this could be an issue.

https://prnt.sc/1h33a4n
https://prnt.sc/1h33t7b

This wasn't tested on Windows, that might be the issue.
Which Rider version are you using?

This wasn't tested on Windows, that might be the issue.
Which Rider version are you using?

Rider 2021.1.3 https://prnt.sc/1h3cmim

currently the plugin will mark a directory as "not a namespace provider" only on demand -- that is, when its visible in the project explorer.
From your screenshot I'm guessing the directory IS visible in Rider, right?
Do you get any exception logs from Rider? should be appearing in a bottom right corner, or in Event Log

image

Unfortunatly no messages in Event log.
Yeah it is Unity Project, and all folders are visible in Rider.
Is there any button to make all folders "non providers", if auto feature doesnt work?
https://prnt.sc/1mbgr84

Great idea, working on this feature

v1.6 is released with a new feature to apply on entire solution on demand. Please update and try :)
nRXlwG5
18AAo1R
V1Ed2CM

I`ve just updated plugin, tried on non unity project. Noticed several things:

  1. Auto feature does work on first project, however after adding at least on script to folder.
  2. Button does never detects updates, as you can see from video event log.
  3. On other projects nothing works unfortunatly.

Maybe i configured something wrong, or this doesnt realy work on windows, however you are doing amazing job, thanks in advance!

bandicam.2021-08-14.17-51-25-842.mp4

Thanks, I'll try to reproduce this flow, hopefully will get to it in next few days. I'm also trying to get a Windows machine to try this on. Will update :)

I published another version 1.7, with a more "brute force" approach to apply the configuration.

Next week I know I can try to debug the plugin on a Windows machine and will update. Thanks for your time!

<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets/games/@EntryIndexedValue">True</s:Boolean>

<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cgames/@EntryIndexedValue">True</s:Boolean>
I digged to dotsettings that rider is generating, first line is not working, which is generated by your plugin, the second one is when i do it manually. What is the reason for that?(

I could guess the problem is with / \ symbols

yes, it seems to be missing escaping. I probably only handled unix styled paths and not Windows, and that's where the gap is :)

version 1.8 of the plugin is published with the path encoding fixed, please test it
ref: aa987c0

Working like a charm, thanks!