Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Ruby ampersand dot &. syntax #302

@Kayyow

Description

@Kayyow

Your environment

  • vscode-ruby version: 0.17.0
  • Ruby version: 2.5
  • VS Code version: 1.21
  • Operating System: Arch Linux

Make sure you have ruby, ruby-debug-ide and ruby-debug-basex19 installed before submitting your issue -- thank you !

Expected behavior

It would be cool if the Ruby extension could colorize the "ampersand dot" &. of Ruby which is used as an equivalent of the Rails try(:prop) method. This Ruby syntax isn't really clear so I think it's important to have a great colorization to easily read it.

Actual behavior

The Ruby syntax "ampersand dot" isn't colorized at all :
model&.prop&.prop2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions