nokia / RED

RED - Robot Editor
Other
339 stars 112 forks source link

Is there a way to find unused keywords? #135

Open lolotoms opened 7 years ago

lolotoms commented 7 years ago

Hi,

I am looking for a way to find unused keyword to delete them. My RF project begins to be huge and I need to clean it. RIDE for python 2.7 have this functionality which is really usefull.

Another question: Is there a way to sort keyword and save the file ?

michalanglart commented 7 years ago

Hi,

unused-keywords feature is not yet implemented. This is on our to-do list with high priority however it is still being delayed for some time. This is actually part of bigger topic: implementing efficient index of entities being used, so that we will be able to quickly search through that, add refactoring (e.g. renaming keyword would update each place where it is used etc) or detect unused entities. I hope we would be able to finally start implementing it this year.

As to the sorting: it's not possible now (in tables one can sort the view, but it only influences the view). From what I remember it was possible to sort something (keywords or variables, maybe both) in tables part of editor in some early days, however it got lost in the meantime when we have provided proper tables implementation. It's rather easy, so we may provide it much sooner than unused keywords detection.

lolotoms commented 7 years ago

Thanks for your answer @michalanglart

adam-wypych commented 6 years ago

connected to #25