DragonKnightOfBreeze / Paradox-Language-Support

IDEA Plugin: Paradox Language Support.
https://windea.icu/Paradox-Language-Support
MIT License
36 stars 4 forks source link

Renaming/refacotring name of inline replaces all instances in files with the file name only, no path. #33

Closed adriangaro closed 1 year ago

adriangaro commented 1 year ago

Basically what happens renaming an inline causes all invocations of the inline to get refactored wrong.

For example, if i rename my_inline.txt to my_new_name_inline.txt, the refactor swaps all inline script invocations from

inline_script = path/to/my_inline

to:

inline_script = my_new_inline.txt

Thus removing the path prefix.

DragonKnightOfBreeze commented 1 year ago

Forgot to check this situation for versions. Also try other renamings? They are not guaranteed to be work correctly.

adriangaro commented 1 year ago

I tried doing shift+F6 for other too (ie script values, triggers and effects) and those work no issue it seems