Chakroun-Anas / turbo-console-log

597 stars 141 forks source link

ctrl alt L not working : Cannot read property 'trim' of undefined #106

Closed PeterLAxakon closed 3 years ago

PeterLAxakon commented 3 years ago

Turbo console log stopped working getting error: Cannot read property 'trim' of undefined

Windows 10 64bit Version: 10.0.19041 build 19041
VS Code Version: 1.51.0 Code Typescript

Chakroun-Anas commented 3 years ago

Hello,

The problem has nothing to do with the latest version of vscode, in fact the trim function is used in the method that extract the class name from a line code that contains a class declaration but after a quick check it turns out that they were some edge cases that were not handled.

I just pushed a new version that deal with this: 2.0.3, please update the extension, test again and get back to me.

Thanks.

paulvonber commented 3 years ago

@Chakroun-Anas seems everything is be back on track and working as expected. Many thanks for the update!

Chakroun-Anas commented 3 years ago

@paulvonber Glad to hear that, you welcome :)