You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Summary: functions such as memcpy() from the C standard library are treated as macros instead of functions, which causes syntax highlighting to incorrectly highlight memcpy() as a macro instead of as a function.
Steps to reproduce:
Copy-paste the attached molappend_atom() code into any empty '.c' file in a Visual Studio Code window.
Save the newly populated file.
Scroll down the invocation of memcpy() in molappend_atom() in the active VS Code editor window.
Activate the "Developer: Inspect Editor Tokens and Scopes view"
Hover over to the memcpy() invocation in the molappend_atom() function
Notice how the output from the "Developer: Inspect Editor Tokens and Scopes view" will give you a different output if you hovered over any other function in the sample code
The "Developer: Inspect Editor Tokens and Scopes view" will claim that memcpy() is being classified as a macro instead of a function
You can also hover over memcpy()'s invocation without the editor tokens inspection view and notice how it looks like a macro definition as opposed to a normal function from the C standard library.
Sample code for the void molappend_atom(molecule *molecule, atom *atom); function:
Environment
Bug Summary and Steps to Reproduce
Bug Summary: functions such as
memcpy()
from the C standard library are treated as macros instead of functions, which causes syntax highlighting to incorrectly highlightmemcpy()
as a macro instead of as a function.Steps to reproduce:
molappend_atom()
code into any empty '.c' file in a Visual Studio Code window.memcpy()
inmolappend_atom()
in the active VS Code editor window.memcpy()
invocation in themolappend_atom()
functionmemcpy()
is being classified as a macro instead of a functionmemcpy()
's invocation without the editor tokens inspection view and notice how it looks like a macro definition as opposed to a normal function from the C standard library.Sample code for the
void molappend_atom(molecule *molecule, atom *atom);
function:Other Extensions
No response
Additional context
Here are images that depict what I am seeing on my end:
The text was updated successfully, but these errors were encountered: