loganch / AutoIt-VSCode

AutoIt Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=Damien.autoit
MIT License
74 stars 25 forks source link

Add "Map" functions and "punctiation.commadot.autoit" for "," and "." characters in code. #75

Closed steipal closed 2 years ago

loganch commented 2 years ago

The map additions look good, but you have MapExists in the completions multiple times: image image

For the part punctuation adding the punctuation.commadot, I'm not seeing many results that of it's use anywhere, can you point me where you found it used?

steipal commented 2 years ago

Hi loganch, thanks for reviewing my pr :-)

I will fix the doubled "MapExists".

The idea behind the commadot addition was to enable setting my own colors on those punctuations. Of course commas are used to seperate parameters in functions but I also use maps quite extensively so to being able to color those dots makes reading the code easier. At least one have the option to customize. Like this: with

...instead of this: without

But mind you, I'm totally new to both Visual Studio Code and thus your extension. So if there are other leaner ways to deal with those characters the way I want I'm totally ears :-)