vscode-matlab icon indicating copy to clipboard operation
vscode-matlab copied to clipboard

Question about matlab comments and following symbol under cursor.

Open paulo-fernando-silva opened this issue 6 years ago • 2 comments

I'm developing a debugger for matlab code using octave. I'm using your language extension, and it I'm wondering about a couple of things. Do you mark comments as comments? It seems vsc asks to evaluate expressions from within comments. I'm trying to avoid that.

Additionally, do you know if the language extension has any influence in the F12 "follow symbol under cursor" functionality? It doesn't seem to work for matlab language. (I don't have matlab installed and octave doesn't have a linter in case that matters)

Thanks

paulo-fernando-silva avatar Dec 12 '18 17:12 paulo-fernando-silva

With version 1.0 we've updated the syntax highlighting syntax which might improve the comments recognition, they should be now marked correctly. Could you please tell me if you still experience the issue with that version?

I didn't implement the follow symbol under cursor functionality, it's an interesting improvement, I might look how to do it.

Gimly avatar Mar 28 '19 21:03 Gimly

Thanks for the tip. Unfortunately version 1.0 still doesn't seem to recognize comments correctly... Or at least that's what I'm imagining. But maybe vscode sends mouse hover expression evaluation requests even for stuff that is marked as comments. I guess I should find out if that is the case.

As for the follow symbol under cursor, it might be that it requires linter support.

paulo-fernando-silva avatar Apr 09 '19 12:04 paulo-fernando-silva