Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Ruby syntax in a HEREDOC String is parsed into smybols.
Steps to Reproduce
Example code snipped which results in wrong symbols
class A
def usage()
msg = <<HEREDOC
class A
def lorem
end
module ipsum
extend self
end
end
def funny heredoc
end
HEREDOC
return msg
end
def test()
end
end
Expected behavior: [What you expect to happen]
neither a second class A nor lorem, ipsum or funny should appear in the symbols.
There should be just one single class A and two methods usage and test
Actual behavior: [What actually happens]
all ruby syntax within a HEREDOC section is parsed.
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Prerequisites
Description
Ruby syntax in a HEREDOC String is parsed into smybols.
Steps to Reproduce
Example code snipped which results in wrong symbols
Expected behavior: [What you expect to happen] neither a second class
A
norlorem
,ipsum
orfunny
should appear in the symbols. There should be just one single class A and two methodsusage
andtest
Actual behavior: [What actually happens] all ruby syntax within a HEREDOC section is parsed.
Reproduces how often: [What percentage of the time does it reproduce?] 100%
Versions