Sarrus1 / sourcepawn-studio

VSCode extension for SourcePawn scripting
https://sarrus1.github.io/sourcepawn-studio/
MIT License
147 stars 23 forks source link

Incorrect snippet !!template #236

Closed domikuss closed 2 years ago

domikuss commented 2 years ago

Basic informations

Further Information

When trying to use a snippet !!template show errors in the public Plugin myinfo due to the use of ' ' and not " "

Before: image

After: image

To Reproduce

  1. Try to use it !!template snippet
  2. ВWe see errors in the public Plugin myinfo

Expected behaviour

Correct public Plugin myinfo block

Error messages

invalid character constant

One likely cause for this error is the occurrence of an unknown escape sequence, like “\x”. Putting multiple characters between single quotes, as in ’abc’ also issues this error message. A third cause for this error is a situation where a character constant was expected, but none (or a non-character expression) were provided.

Sarrus1 commented 2 years ago

Thanks for reporting but why did you close #235 ?

domikuss commented 2 years ago

Having checked locally, this change added more problems :D image image

domikuss commented 2 years ago

I was able to solve the problem. #237