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

comment blocks don't get formatted as comments #17

Open
fridaystreet opened this issue Sep 7, 2024 · 0 comments
Open

comment blocks don't get formatted as comments #17

fridaystreet opened this issue Sep 7, 2024 · 0 comments

Comments

@fridaystreet
Copy link

fridaystreet commented Sep 7, 2024

Hi,

I understand this could just be me, but it doesn't seem to be happening with any other file types. If I comment out a line in a .cypher file all works fine, but commented blocks don't change their formatting to the comment format.

Screenshot 2024-09-08 at 7 23 15 am

This is the cypher.configuration.json which looks to specifiy blocks correctly

{
  "comments": {
    "lineComment": "//",
    "blockComment": ["/*", "*/"]
  },
  "brackets": [
    [
      "{",
      "}"
    ],
    [
      "[",
      "]"
    ],
    [
      "(",
      ")"
    ]
  ],
  "autoClosingPairs": [
		{ "open": "[", "close": "]" },
		{ "open": "{", "close": "}" },
		{ "open": "(", "close": ")" },
    { "open": "/*", "close": "*/", "notIn": ["string", "comment"] }
  ],
  "wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)"
}

Any assistance greatly appreciated

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