DavidFeldhoff / al-codeactions

MIT License
17 stars 8 forks source link

Create Procedure Error: Unable to locate target object: #140

Closed wbrakowski closed 2 years ago

wbrakowski commented 2 years ago

Hey David,

I have an error when trying to create a procedure in a very simple codeunit. Usually I am too lazy to file issues, but your error message told me to do so, so I did. 😆

image

Peace

DavidFeldhoff commented 2 years ago

Hi Waldemar :) Thanks! Then I'd say the message did it's job 😄 I just tried to reproduce it, but wasn't able to do it. After looking at the code where the error was thrown I noticed that it could happen if the source file is broken. And I see on your screenshot that the closing quote on the object name is missing. Might it be the case that adding the quote there is solving the problem? :)

Cheers, David

wbrakowski commented 2 years ago

Sounds good, thank you. :-)