Maxmix
Member³
Currently we have nice feature in "Find Database Objects" module:
from context menu on found DB object (let's say, package body), it is possible to choose item "Locate text", and in presented program window we can immediately see first occurrence of search string, with further opportunity to move to following occurrences with "Find Next" command.
However, PLSDev can switch to already opened window. If the contents of that window is different from that's in DB (for example, I did some changes but not compiled yet), then we have got a problem. I believe this is the reason why PLSDev crashes from time to time at attempts to access "Locate text" command.
My suggestion: never attempt to "locate" in existing windows. Instead, always open a new window which could get a new name if needed. For example, we have opened window named
[size=8pt]Program Window - Edit source of package body TANGIBLES.INVENTORY_PKG@NOVOSIB[/size]
Now we are invoking "Locate text" on TANGIBLES.INVENTORY_PKG package body. PLSDev shall open a new program window named
[size=8pt]Program Window - Search source of package body TANGIBLES.INVENTORY_PKG@NOVOSIB[/size]
from context menu on found DB object (let's say, package body), it is possible to choose item "Locate text", and in presented program window we can immediately see first occurrence of search string, with further opportunity to move to following occurrences with "Find Next" command.
However, PLSDev can switch to already opened window. If the contents of that window is different from that's in DB (for example, I did some changes but not compiled yet), then we have got a problem. I believe this is the reason why PLSDev crashes from time to time at attempts to access "Locate text" command.
My suggestion: never attempt to "locate" in existing windows. Instead, always open a new window which could get a new name if needed. For example, we have opened window named
[size=8pt]Program Window - Edit source of package body TANGIBLES.INVENTORY_PKG@NOVOSIB[/size]
Now we are invoking "Locate text" on TANGIBLES.INVENTORY_PKG package body. PLSDev shall open a new program window named
[size=8pt]Program Window - Search source of package body TANGIBLES.INVENTORY_PKG@NOVOSIB[/size]