Acode icon indicating copy to clipboard operation
Acode copied to clipboard

Prettier's Function Parameters Syntax Highlighting

Open RyanLarge13 opened this issue 2 years ago • 2 comments

I would love to see Syntax highlighting for function parameters when the variables are being used within the functions code block!!

RyanLarge13 avatar Apr 04 '23 13:04 RyanLarge13

I don't understand your suggestion can you give examples or something?

deadlyjack avatar Apr 09 '23 05:04 deadlyjack

Yes!! Forgive me for the late reply. I will give you a great example on VS code and compare it with Acode for better understanding.

In this photo below I have a basic run function that takes to parameters highlighted in red given my theme, but when the parameter variables are called within the return they are not highlighted in red, it shows as plane text as when calling any variable. This is the Acode example Acode

In this photo below I have the same exact function being called and executed with the same parameters, this is in VS code. As you can see, the parameters are highlighted in orange and when they are called in the return statement, these parameter variables are also highlighted in orange indicating that you are using the variables you defined in the functions parameters. VScode

I think this is very handy and would be a great addition to the text editor!

RyanLarge13 avatar Jun 27 '23 17:06 RyanLarge13

Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Acode, please let us know by commenting on this issue(i.e Bump!), and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 14 days. Thanks for your help!

github-actions[bot] avatar Jun 04 '25 03:06 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jun 18 '25 03:06 github-actions[bot]