The code in package editor is not marked appropriately

Hi, I am using packages

suddenly the comments and the code are not made as they should be.

Hey @technical-engineer16 :wave:t2:

Could you elaborate and expand on the information here, detailing what you’re expecting to see and what’s not happening for you?

There is very little information here to know what problem you’re reporting - a cut down example piece of code would also help.

hi, I am expecting to see the comments marked as comments and saved commands like console.log be marked with colors

For example:

The issue resolved but it was like in the first screenshot for a few days.

now the issue is back:

Can you create an example function in a script and use that in a request to show the issue.

Those context screenshots alone done show the issue or what you’re expecting to see in the console.

Hi @technical-engineer16. :wave:

I see what you mean. Switching to JSDoc commenting style should fix the issue you’re experiencing. To switch, you need to start your comment with “/**” instead of “/*”. Use "double asteriks.

Ideally, I’d expect single asterisks to work like in every other text editor so I’ll take this as feedback to the relevant team.

image

didnt worked

What didn’t work?

What are you seeing when you use that function in an actual request? Can you show images of that?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.