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.

Heredocs with other method params on the same line break highlighting #183

@segiddins

Description

@segiddins

Your environment

  • vscode-ruby version: 0.12.1
  • Ruby version: 2.4.1
  • VS Code version: 1.14.1
  • Operating System: macOS 10.12.5
  • Hardware (optional):

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

Expected behavior

The parameters after the heredoc-begin, plus the method called on the heredoc string, should be highlighted normally

Actual behavior

They're all highlighted as a string

Steps to reproduce the problem

paste the following into a ruby file:

#!/usr/bin/env ruby

function_call <<-EOS.strip, false, nil, :foo => :bar
  the quick
EOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug reports

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions