Milys / NC-Gcode-VSCode

GCode Syntax Highlighter for VSCode
MIT License
14 stars 8 forks source link

Wrong comment format #7

Closed nambuco closed 4 years ago

nambuco commented 4 years ago

Using ctrl-K ctrl-C to comment lines add // instead of;

I correct this charging extension language-configuration.json file on .vcode folder from:

    "comments": {
        // symbol used for single line comment. Remove this entry if your language does not support line comments
        "lineComment": "//",
        // symbols used for start and end a block comment. Remove this entry if your language does not support block comments
        "blockComment": [ "/*", "*/" ]
    },

to:

    "comments": {
        // symbol used for single line comment. Remove this entry if your language does not support line comments
        "lineComment": ";",
        // symbols used for start and end a block comment. Remove this entry if your language does not support block comments
        //"blockComment": [ "/*", "*/" ]
    },

Please update the extension.

Thanks

scottmwyant commented 4 years ago

Fixed in cd8125517f798293addbb86dc6467cf9c7116a28. New extension released as ML2.nc-gcode. Please see readme.md