No autocomplete for Python in Grasshopper for a particular script

As much as the title says.

Any other Python script node has autocomplete suggestions. One particular doesn’t. It looks greyer if compared to an empty Python 3 script. But it fulfills its functionality properly regardless. All the settings are identical between all script nodes.

A very similar C# script is greyed-out as well, but has autocomplete suggestions:

The observed behaviour in a problematic script node:

{D6602F00-37D4-4047-89DB-BF108E09E22B}

The expected behaviour (the example is taken from a different Python script node)

I, unfortunately, can not share any files publicly, but will send any required data to the support.

What I tried: Rhino relaunch, didn’t help. System restart, didn’t help.

Any suggestions and questions are welcome. Thanks in advance.

Figured it out. The script had an emoji in the comment section before the code.

Having an emoji in comments in a C# script doesn’t break anything, though.

Put this on the first line of the Python 3 script:
# -*- coding: utf-8 -*-

This didn’t help, sorry.

That’s interesting. For me worked in all the scripts with emojis in the comments. maybe you also need to declare that it is a Python 3 script?

Sorry, no, it makes no difference.

Maybe that particular emoji it is not part of the Unicode table? Can you share that comment with the emoji so we can check what’s going on?

Emoji unicode characters for use on the web

:honeybee: is in the list of emojis you provided, U+1F41D.

To my naked eye they doesn’t match:

Emoji

:honeybee:

I understand. I checked if an emoji that exists in the Unicode emoji table you provided works. It does not.