beansoft / iscratch-support

Supports for the Notes IDEA plugin
Other
3 stars 0 forks source link

Question: Does it work, if files are refactored? #15

Open schittli opened 2 years ago

schittli commented 2 years ago

Hello Unfortunately, the description does not mention whether the plugin can also handle code refactoring. I ask because it looks like the Note saves a link to the file and line number, e.g. file://c:/…hello.java#130.

What happen, for example, if:

Does the Note then lose the link to the correct source code?

Thanks a lot, kind regards, Thomas

beansoft commented 2 years ago

Yes, it's not supported so far, it only links to lines. And some customer also reported this issue. And I've found IDEA's bookmark could move correctly between lines. I'll dig into IDEA's source code to see if I could improve this feature.