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

[CLOSED] Support for VB syntax #4672

Open
core-ai-bot opened this issue Aug 29, 2021 · 6 comments
Open

[CLOSED] Support for VB syntax #4672

core-ai-bot opened this issue Aug 29, 2021 · 6 comments

Comments

@core-ai-bot
Copy link
Member

Issue by ghost
Thursday Sep 05, 2013 at 07:43 GMT
Originally opened as adobe/brackets#5072


Hi,

CodeMirror has support for VB syntax, something unusual for non-Windows editors. To enable it, the following snippet should be appended to languages.json file:

"vb": {
"name": "VB",
"mode": ["vb", "text/x-vb"],
"fileExtensions": ["vb"],
"lineComment": ["'"]
}

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Sep 05, 2013 at 15:32 GMT


@demomm That was recently added in pull request adobe/brackets#5010, but data is slightly different:

    "vbscript": {
        "name": "VBScript",
        "mode": "vbscript",
        "fileExtensions": ["vbs"],
        "lineComment": ["'", "REM"]
    }

Should "vb" be added as a file extension?

@core-ai-bot
Copy link
Member Author

Comment by ghost
Thursday Sep 05, 2013 at 15:48 GMT


Hi,

No, since it uses another mode.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Sep 05, 2013 at 16:00 GMT


Gotcha. Care to submit a pull request?

@core-ai-bot
Copy link
Member Author

Comment by ghost
Friday Sep 06, 2013 at 06:59 GMT


Sure, but not until later in the weekend.

@core-ai-bot
Copy link
Member Author

Comment by gruehle
Monday Sep 16, 2013 at 18:00 GMT


Reviewed, marked as "starter bug".

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Oct 31, 2013 at 22:39 GMT


Fixed. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant