Pb with vscode current extension?

Hi all,

it seems the vscode extension is broken since the last update, breakpoints are not considered anymore: in the simple example below it doesn’t break in line 6 ???

Also I noticed several incorrect behaviors in hint and syntax completion as in writing myfunc2 below

what’s happening there ?

Thank you

David

Hello @davcheze

It seems to work with 1.0.5 version:

Can you confirm?

Vincent

Hi Vincent,

I confirm debuging and stopping at breakpoint is working again as expected.

However I still have an issue with the writing of function with auto-completion/template tool, as show below. I just entered succesfully the function’s name and parameters, when I tried to enter the instructions inside the function’s block, it is duplicating out of the block???

Thank you

David

Hi @davcheze

Nice catch, I was able to reproduce the problem and reported an issue: Using function snippet leads to code duplication (#15) · Issues · scilab / forge / vscode_extension · GitLab

Vincent

Hi David,

The function snippet uses multiline writing to edit the function name and the comment at the same time, so you have to hit escape to go out of this editing mode.

I’ve changed the snippet to remove this feature because it’s more disturbing than helpful :slight_smile:
This will be available in the next version of the extension.

Cédric