Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[coffeescript] comment syntax highlighting issues #14953

Closed
ConorHiggins opened this issue Nov 4, 2016 · 1 comment
Closed

[coffeescript] comment syntax highlighting issues #14953

ConorHiggins opened this issue Nov 4, 2016 · 1 comment
Assignees
Labels
languages-basic Basic language support issues
Milestone

Comments

@ConorHiggins
Copy link

ConorHiggins commented Nov 4, 2016

  • VSCode Version: Code 1.7.1 (02611b4, 2016-11-03T13:46:00.226Z)
  • OS Version: Darwin x64 15.6.0
  • Extensions:
Extension Author Version
githistory donjayamanne 0.1.0
sublime-keybindings ms-vscode 1.5.12
stylelint shinnn 0.18.0

Steps to Reproduce:

Paste the following into a new tab and save it as a .coffee file:

define [
    'text!./template.html'
], (
    templateMarkup
) ->
    class SomeVM

        ###  ____       _
            / ___|  ___| |_ _   _ _ __
            \___ \ / _ \ __| | | | '_ \
             ___) |  __/ |_| |_| | |_) |
            |____/ \___|\__|\__,_| .__/
                                 |_|
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###

        constructor: (params={}) ->
            @somePropName = 'xyz'
            return


        ###  _____                 _     _   _                 _ _
            | ____|_   _____ _ __ | |_  | | | | __ _ _ __   __| | | ___ _ __ ___
            |  _| \ \ / / _ \ '_ \| __| | |_| |/ _` | '_ \ / _` | |/ _ \ '__/ __|
            | |___ \ V /  __/ | | | |_  |  _  | (_| | | | | (_| | |  __/ |  \__ \ - On...
            |_____| \_/ \___|_| |_|\__| |_| |_|\__,_|_| |_|\__,_|_|\___|_|  |___/
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###


        ### _____
            |  _ \(_)___ _ __ | | __ _ _   _
            | | | | / __| '_ \| |/ _` | | | |
            | |_| | \__ \ |_) | | (_| | |_| |
            |____/|_|___/ .__/|_|\__,_|\__, |
                        |_|            |___/
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###


        ### __        __         _
            \ \      / /__  _ __| | _____ _ __ ___
             \ \ /\ / / _ \| '__| |/ / _ \ '__/ __|
              \ V  V / (_) | |  |   <  __/ |  \__ \
               \_/\_/ \___/|_|  |_|\_\___|_|  |___/
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###


        ###  ____            _
            |  _ \  ___  ___| |_ _ __ ___  _   _
            | | | |/ _ \/ __| __| '__/ _ \| | | |
            | |_| |  __/\__ \ |_| | | (_) | |_| |
            |____/ \___||___/\__|_|  \___/ \__, |
                                           |___/
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###

        dispose: ->
            return

    return {
        viewModel: SomeVM
        template: templateMarkup
    }

@aeschli
Copy link
Contributor

aeschli commented Jan 31, 2017

Same issue in TextMate.

@aeschli aeschli closed this as completed Jan 31, 2017
@aeschli aeschli added this to the February 2017 milestone Jan 31, 2017
@aeschli aeschli added the languages-basic Basic language support issues label Jan 31, 2017
@aeschli aeschli changed the title Possible Grammars issue - affecting syntax on Coffeescript files [coffeescript] comment syntax highlighting issues Jan 31, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
languages-basic Basic language support issues
Projects
None yet
Development

No branches or pull requests

2 participants